|
From: | Mukesh Kohli |
Subject: | Porting CommonC++ on QNX |
Date: | Sat, 8 Mar 2003 09:05:30 -0800 |
Hi,
Can anybody help me with the following problem ????
I am trying to port CommonC++ on QNX. My main objective is to use FTPSocket class. I am able to build the library using –with-ftp. But I am not able to compile the demo directory.
I am getting following error if I try to build demos directory. Kindly give some insight to it. Here is the dump of errors I am getting. In first command I am trying to build whole directory using make. In second I am trying to build just ftptest.cpp.
-------------------------------------------------------------------------- bash-2.05a# make g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -Wall -ansi -pedantic -c tcp.cpp In file included from ../include/cc++/config.h:466, from ../include/cc++/socket.h:50, from tcp.cpp:42: /usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or later In file included from /usr/include/pthread.h:30, from ../include/cc++/config.h:466, from ../include/cc++/socket.h:50, from tcp.cpp:42: /usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993 or later In file included from ../include/cc++/config.h:473, from ../include/cc++/socket.h:50, from tcp.cpp:42: /usr/include/semaphore.h:28: #error POSIX Semaphores needs P1003.1b-1993 or later make: *** [tcp.o] Error 1
bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -Wall -ansi -pedantic -c ftptest.cpp In file included from ../include/cc++/common.h:68, from ftptest.cpp:25: ../include/cc++/xml.h:323: #error "XML support is not available." --------------------------------------------------------------------------
Regards, Mukesh Kohli Infinera
tel: 408-572-5318
|
[Prev in Thread] | Current Thread | [Next in Thread] |