bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation error in demo directory


From: Mukesh Kohli
Subject: compilation error in demo directory
Date: Thu, 6 Mar 2003 11:32:58 -0800

Hello,

 

I am building ftp using –with-ftp flag in configure. After that I am trying to build demo directory. I basic purpose is to use FTPSocket class. I am trying to compile ftptest.cpp. kindly see the file in the attachment (It is being sent to me by Marcelo).

 

But I am getting following error if I try to build demos directory. Kindly through 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

 

 

Regards,

Mukesh Kohli

Infinera                          tel: 408-572-5318
1322 Bordeaux Dr          fax: 408-572-5343
Sunnyvale, CA 94089     email: address@hidden

 

Attachment: ftptest.cpp
Description: ftptest.cpp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]