[pxc] pxc200 compilation error
Timothy Hospedales
tmh31@cam.ac.uk
Tue, 23 Jul 2002 15:43:25 +0100
Hello,
When I try to compile my program which is to use the PXC200
device, I get a strange error in spinlock.h. Does anyone have ideas
about how to fix this?
g++ -O3 -fomit-frame-pointer -I/usr/include/qt -I/usr/lib/qt-2.3.0/include/ -I/home/tmh31/include/ -Wall -c EyeTracker.cpp -o EyeTracker.o
In file included from /usr/include/linux/spinlock.h:35,
from /home/tmh31/include/pxc200.h:27,
from FrameSource.h:23,
from EyeTracker.cpp:27:
/usr/include/asm/spinlock.h: In function `void read_lock(rwlock_t *)':
/usr/include/asm/spinlock.h:157: parse error before `::'
/usr/include/asm/spinlock.h:158: confused by earlier errors, bailing out
make: *** [EyeTracker.o] Error 1
I am using Debian 3.0 with gcc/g++ 2.95.2
Thanks,
Tim