Compiling for qnx-nto-pc

From:

Hugo J. Ordonez

Subject:

Compiling for qnx-nto-pc

Date:

18 Mar 2003 20:11:44 +0000

Hello, I'm trying to compile commoncpp2 1.0.8
on a QNX PC with 6.2 Momentics NC (Non-Commercial
Edition)
There has been a number of applications that seem
to break (they do not compile) due to the change
to Drinkum C libraries Could this be the reason?
Perhaps Mr. Kohli could share some of the insight
to compile (at least partially) for QNX...
Kind Regards
Hugo
Is there a way to skip the autoconf stuff and
manually compile the files?
Sorry for such newbie questions but in Linux
it's very straightforward
After a loong ./configure
$ make
Making all in include
make[1]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
make all-recursive
make[2]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
Making all in cc++
make[3]: Entering directory `/home/hugo/commoncpp2-1.0.8/include/cc++'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include/cc++'
make[3]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
make[2]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
make[1]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
Making all in src
make[1]: Entering directory `/home/hugo/commoncpp2-1.0.8/src'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../include -I../src -DCCXX_EXPORT_LIBRARY -g -O2 -D_GNU_SOURCE
-I../include -c thread.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-g -O2 -D_GNU_SOURCE -I../include -c thread.cpp -o thread.o
In file included from thread.cpp:41:
../include/cc++/config.h:574: ctime: No such file or directory
In file included from ../include/cc++/exception.h:54,
from ../include/cc++/thread.h:58,
from thread.cpp:43:
../include/cc++/strchar.h:48: cctype: No such file or directory
../include/cc++/strchar.h:49: string: No such file or directory
../include/cc++/strchar.h:50: cstring: No such file or directory
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/home/hugo/commoncpp2-1.0.8/src'
make: *** [all-recursive] Error 1
--
Hugo J. Ordonez Rodriguez <address@hidden>
Heriot-Watt University