bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Porting CommonC++ on QNX


From: Federico Montesino Pouzols
Subject: Re: Porting CommonC++ on QNX
Date: Tue, 18 Mar 2003 17:06:33 +0100
User-agent: Mutt/1.5.3i

        Well, libxml is not part of cc++, it is the xml library of the
gnome project. You need to install libxml2 (see www.xmlsoft.org) on
your system if you want the xml related classes of ccpp to be built.

On Mon, Mar 10, 2003 at 03:11:30PM -0800, Mukesh Kohli wrote:
> Thanks a lot Federico.
> 
> I am able to resolve xml problem. Wanted to cross check regarding the
> libxml library? Is it a part of commonCpp code or it belongs to OS? If
> it is a part of commonCpp, I want to know how to build so that xml
> library is also being created.
> 
> I have send an email to qnx support guys in order to check there support
> for POSIX P1003.1b standard. If we assume QNX do support POSIX P1003.1b
> standard, then how can we resolve the problem I described?
> 
> Regards,
> Mukesh Kohli
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: address@hidden
> 
> -----Original Message-----
> From: Federico Montesino Pouzols [mailto:address@hidden 
> Sent: Monday, March 10, 2003 11:23 AM
> To: Mukesh Kohli
> Cc: address@hidden
> Subject: Re: Porting CommonC++ on QNX
> 
> 
>       Hi,
> 
>       as for the `#error "XML support is not available."', it
> happens because of a bug in 1.0.8. It has been already fixed in CVS
> for the next release. You can fix it replacing, in cc++/common.h, the
> line "#include <cc++/xml.h>" with the following three lines:
> 
>       #ifdef COMMON_XML_PARSING
>       #include <cc++/xml.h>
>       #endif
> 
>       Note that this probably means that your system does not have
> libxml, so the xml stuff will not be compiled.
> 
>       As for the posix issue, I am not sure what may be
> happening. Do you know if QNX implements the POSIX P1003.1b standard?
> In case not, it may be a really difficult to solve issue. In case yes,
> it may require defining some constant.
> 
> On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
> > 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
> > 1322 Bordeaux Dr          fax: 408-572-5343
> > Sunnyvale, CA 94089     email: address@hidden
> > 
> >  
> > 
> 
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 




reply via email to

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