[ts-gen] Compiling on an OS/X

William Lloyd wlloyd at slap.net
Mon Dec 31 00:11:36 EST 2007


I found that my toolchain comes from XCode 2.2 and you must have 2.5  
installed.

I tried to upgrade the toolchain on an PPC machine.

XCode doesn;t seem to upgrade nicely.  Had to chop away directories  
to get it installed.

There is no Ruby code called that I can see by the makefile, or at  
least up the point it's dying.

chaos:~/Documents/trading-shim/shim-071228 wlloyd$  make clean
chaos:~/Documents/trading-shim/shim-071228 wlloyd$  make all
make -j2  shim
g++ -Wall -g -I/sw/include/mysql  -c -o pool.o lib/pool.c
g++ -Wall -g -I/sw/include/mysql  -c -o hash.o lib/hash.c
g++ -Wall -g -I/sw/include/mysql  -c -o wrap.o lib/wrap.c
g++ -Wall -g -I/sw/include/mysql  -c -o text.o lib/text.c
g++ -Wall -g -I/sw/include/mysql  -c -o inet.o lib/inet.c
lib/rdtsc_time.h: In function 'MinimalModeMultiParadigm::Long  
MinimalModeMultiParadigm::TimeStampCounter::time_stamp()':
lib/rdtsc_time.h:70: error: 'GetTickReg' was not declared in this scope
make[1]: *** [text.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
chaos:~/Documents/trading-shim/shim-071228 wlloyd$

In the next few days I'll try it on one of my FreeBSD or Slackware  
machines.

-bill


On 30-Dec-07, at 9:37 PM, R P Herrold wrote:

> On Sun, 30 Dec 2007, R P Herrold wrote:
>
>>> g++ -Wall -g -I/sw/include/mysql  -c -o once.o src/once.c
>>> src/../lib/rdtsc_time.h: In function 'MinimalModeMultiParadigm::Long
>>
>> The Makefile also needs Ruby, and to be run thus:
>> which invocation shells out to ruby which in turn builds the time  
>> handler
>> header for the OS/X environment.
>
> As I thought about this later, it occurred to me that the test
> in the Ruby script may not know the Apple Intel processor
> signature.  Let me examine my notes and see if I can unsnarl
> this tomorrow during the day.
>
> -- Russ Herrold
> _______________________________________________
> ts-general mailing list
> ts-general at trading-shim.org
> http://www.trading-shim.org/mailman/listinfo/ts-general



More information about the ts-general mailing list