[ODE] problem with 'make ode-lib'
Nandan Joshi
calculi at lycos.de
Mon May 19 07:23:01 2003
Hallo,
I can't comile ode-lib, there comes a error as following:
gcc -c -Wall -fno-rtti -fno-exceptions -Wall -fomit-frame-pointer -ffast-math
-Iinclude -DdNODEBUG -O2 -o ode/src/timer.o ode/src/timer.cpp
ode/src/timer.cpp:109:17: missing terminating " character
ode/src/timer.cpp: In function `void getClockCount(long unsigned int*)':
ode/src/timer.cpp:110: error: parse error before `movl'
ode/src/timer.cpp:112:28: missing terminating " character
ode/src/timer.cpp:119:17: missing terminating " character
ode/src/timer.cpp: In function `void serialize()':
ode/src/timer.cpp:120: error: parse error before `$0'
ode/src/timer.cpp:121:14: missing terminating " character
gmake: *** [ode/src/timer.o] Error 1
Is it a problem with source-code? Here is the respective codes from timer.cpp
from line 107-123:
static inline void getClockCount (unsigned long cc[2])
{
asm volatile ("
rdtsc
movl %%eax,(%%esi)
movl %%edx,4(%%esi)"
: : "S" (cc) : "%eax","%edx","cc","memory");
}
static inline void serialize()
{
asm volatile ("
mov $0,%%eax
cpuid"
: : : "%eax","%ebx","%ecx","%edx","cc","memory");
}
Any help would be appreciated. Thanx in advance!!!
nandan
--
Build a system [MS Windows] that even a fool can use, and only a fool
will want to use it.
---- George Bernard Shaw
Just as there are many parts needed to make a human a human, there's a
remarkable number of things needed to make an individual who he is. A
face to distinguish yourself from others, a voice you aren't aware of
yourself, the hand you see when you awaken, the memories of childhood,
the feelings for the future. That's not all. There's the expanse of
the data net my cyber-brain can access. All of that goes into making
me what I am, giving rise to a consciousness that I call "me." And
simultaneously confining "me" within set limits.
---- Motoko Kusanagi, from Ghost In The Shell