I tried to compile PWLIB for openh323 gatekeeper and got the following errors:[root@sme root]# cd pwlib
[root@sme pwlib]# make both
set -e; make -C src/ptlib/unix opt; make -C tools/asnparser opt;
make[1]: Entering directory /root/pwlib/src/ptlib/unix'
g++ -Wall -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_USE_PRAGMA -DP_SSL -I/usr/include/include -I/usr/include/crypto -DP_PTHREADS -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -I/root/pwlib/include/ptlib/unix -I/root/pwlib/include -O3 -DNDEBUG -DPTRACING=1 -c ../../ptclib/asner.cxx -o /root/pwlib/lib/obj_linux_x86_r/asner.o
In file included from /usr/include/linux/videodev.h:5,
from /root/pwlib/include/ptlib/unix/ptlib/videoio.h:106,
from /root/pwlib/include/ptlib/video.h:80,
from /root/pwlib/include/ptlib/unix/ptlib/video.h:66,
from /root/pwlib/include/ptlib.h:267,
from ../../ptclib/asner.cxx:274:
/usr/include/linux/version.h:2:2: #else without #if
/usr/include/linux/version.h:4:2: #endif without #if
make[1]: *** [/root/pwlib/lib/obj_linux_x86_r/asner.o] Error 1
make[1]: Leaving directory /root/pwlib/src/ptlib/unix'
make: *** [opt] Error 2
Is there a way out.. please let me know..
thanx in advance
Pritpal Singh