Hi,

I have a problem building the package commonc++ for my custom target.

The target package selection is based on the tlx example and is very slim. It
is marked as a cross-build and targets x86 systems without any CPU-specific
optimizations. The target builds fine without commonc++. Now I have added
the package and the build fails at the make stage.

ERROR-LOG
(Complete file at: http://www.marian-aldenhoevel.de/tmp/ERROR-LOG)

i686-t2-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c thread.cpp -fPIC -DPIC -o .libs/thread.o In file included from /home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/sys/un.h:38,
                 from ../inc/cc++/config.h:806,
                 from mutex.cpp:38:
/home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/string.h:289: error: expected unqualified-id before 'char' /home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/string.h:289: error: expected initializer before 'char' In file included from /home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/sys/un.h:38,
                 from ../inc/cc++/config.h:806,
                 from thread.cpp:38:
/home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/string.h:289: error: expected unqualified-id before 'char' /home/kbox/t2/build/default-8.0-trunk-kbox-x86-cross/usr/include/string.h:289: error: expected initializer before 'char'

string.h? Feels pretty basic and I am sure the file in itself is OK. It is
even checked for while configuring:

config.log
(Complete file at: http://www.marian-aldenhoevel.de/tmp/config.log):

checking for string.h: yes
checking sys/un.h usability: yes
checking sys/un.h presence: yes
checking for sys/un.h: yes

What can cause this problem?

Ciao, MM
--
Marian Aldenhövel, Rosenhain 23, 53123 Bonn
http://www.marian-aldenhoevel.de
"I ran some quick calculations on it. He's about 80% on the right
 track.  That leaves him only 20% dead when he crashes." Bob C

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to