[ts-gen] Compiling

William Lloyd wlloyd at slap.net
Sun Dec 30 14:18:50 EST 2007


Before I beat my head trying to figure this out, I'm trying to  
compile the shim code on a Mac.

I had to make a small Makefile change to pull in the mysql stuff form  
a non standard place but I get this error next.  I have no idea how  
to begin looking into fixing that...

g++ -Wall -g -I/sw/include/mysql  -c -o once.o src/once.c
src/../lib/rdtsc_time.h: In function 'MinimalModeMultiParadigm::Long  
MinimalModeMultiParadigm::TimeStampCounter::time_stamp()':
src/../lib/rdtsc_time.h:70: error: 'GetTickReg' was not declared in  
this scope
make: *** [once.o] Error 1

Is there some compiler option I'm missing?

In case it's relevant the compiler version
g++ -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- 
slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona -- 
with-tune=generic --program-prefix= --host=i686-apple-darwin8 -- 
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)

Thanks.



-bill



More information about the ts-general mailing list