Hello,

due to the lack of profiling in uClibc i try to use oprofile to get 
information about boa. So, i need STLport to compile.
But here ucfront-g++ seem to miss some header files. Here's the output:
---
make lib/STLport_only
make[1]: Entering directory `/tmp/uClinux-dist/lib'
touch STLport/.sgbuilt_lib && make -j1 -C STLport
make[2]: Entering directory `/tmp/uClinux-dist/lib/STLport'
make -C build/lib -f uclinux-dist.mak install ARCH=a
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo m68k-uclinux-g++ (Sourcery G++ Lite 4.2-153) 4.2.3 
Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see 
the source for copying conditions.  There is NO warranty; not even for 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS 
= "."; } { print $1; }''
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo m68k-uclinux-g++ (Sourcery G++ Lite 4.2-153) 4.2.3 
Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see 
the source for copying conditions.  There is NO warranty; not even for 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS 
= "."; } { print $2; }''
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo m68k-uclinux-g++ (Sourcery G++ Lite 4.2-153) 4.2.3 
Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see 
the source for copying conditions.  There is NO warranty; not even for 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS 
= "."; } { print $3; }''
make[3]: Entering directory `/tmp/uClinux-dist/lib/STLport/build/lib'
ucfront-g++ 
m68k-uclinux-g++ -mcpu=5208 -DCONFIG_COLDFIRE -pthread -fexceptions -fident  
-fPIC -O2 -fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE  
-I/tmp/uClinux-dist/include/STLport -I/tmp/uClinux-dist/include  -c -o 
obj/gcc/shared/dll_main.o ../../src/dll_main.cpp
In file included from /tmp/uClinux-dist/include/STLport/stl/_alloc.h:62,
                 from /tmp/uClinux-dist/include/STLport/memory:32,
                 from ../../src/dll_main.cpp:42:
/tmp/uClinux-dist/include/STLport/new:48:48: error: ../4.2.3/new: No such file 
or directory
In file included from /tmp/uClinux-dist/include/STLport/stdexcept:37,
                 from /tmp/uClinux-dist/include/STLport/stl/_ios_base.h:22,
                 from /tmp/uClinux-dist/include/STLport/stl/_ios.h:23,
                 from /tmp/uClinux-dist/include/STLport/stl/_ostream.h:24,
                 from /tmp/uClinux-dist/include/STLport/stl/_string_io.h:23,
                 from /tmp/uClinux-dist/include/STLport/string:38,
                 from ../../src/dll_main.cpp:50:
/tmp/uClinux-dist/include/STLport/exception:62:58: error: ../4.2.3/exception: 
No such file or directory
In file included from /tmp/uClinux-dist/include/STLport/memory:32,
                 from ../../src/dll_main.cpp:42:
/tmp/uClinux-dist/include/STLport/stl/_alloc.h: In member function '_Tp* 
std::allocator<_Tp>::allocate(size_t, const void*)':
/tmp/uClinux-dist/include/STLport/stl/_alloc.h:459: error: 'bad_alloc' is not 
a member of 'std'
In file included from /tmp/uClinux-dist/include/STLport/stl/_alloc.h:637,
                 from /tmp/uClinux-dist/include/STLport/memory:32,
                 from ../../src/dll_main.cpp:42:
/tmp/uClinux-dist/include/STLport/stl/_alloc.c: In static member 
function 'static void* std::__malloc_alloc<__inst>::_S_oom_malloc(size_t)':
/tmp/uClinux-dist/include/STLport/stl/_alloc.c:76: error: 'bad_alloc' is not a 
member of 'std'
In file included from /tmp/uClinux-dist/include/STLport/stl/_ios_base.h:22,
                 from /tmp/uClinux-dist/include/STLport/stl/_ios.h:23,
                 from /tmp/uClinux-dist/include/STLport/stl/_ostream.h:24,
                 from /tmp/uClinux-dist/include/STLport/stl/_string_io.h:23,
                 from /tmp/uClinux-dist/include/STLport/string:38,
                 from ../../src/dll_main.cpp:50:
/tmp/uClinux-dist/include/STLport/stdexcept: At global scope:
/tmp/uClinux-dist/include/STLport/stdexcept:81: error: expected class-name 
before '{' token
In file included from /tmp/uClinux-dist/include/STLport/stl/_string_io.h:23,
                 from /tmp/uClinux-dist/include/STLport/string:38,
                 from ../../src/dll_main.cpp:50:
/tmp/uClinux-dist/include/STLport/stl/_ostream.h: In 
destructor 'std::basic_ostream<_CharT, _Traits>::sentry::~sentry()':
/tmp/uClinux-dist/include/STLport/stl/_ostream.h:173: 
error: 'uncaught_exception' is not a member of '__std_alias'
In file included from ../../src/dll_main.cpp:62:
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.h: In member 
function '_Tp* std::pthread_allocator<_Tp>::allocate(size_t, const void*)':
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.h:289: error: 'bad_alloc' 
is not a member of 'std'
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.h: In member 
function '_Tp* std::per_thread_allocator<_Tp>::allocate(size_t, const 
void*)':
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.h:416: error: 'bad_alloc' 
is not a member of 'std'
In file included 
from /tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.h:496,
                 from ../../src/dll_main.cpp:62:
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.c: In static member 
function 'static std::_Pthread_alloc_per_thread_state<_Max_size>* 
std::_Pthread_alloc<_Max_size>::_S_get_per_thread_state()':
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.c:81: error: 'bad_alloc' 
is not a member of 'std'
/tmp/uClinux-dist/include/STLport/stl/_pthread_alloc.c:90: error: 'bad_alloc' 
is not a member of 'std'
make[3]: *** [obj/gcc/shared/dll_main.o] Fehler 1
make[3]: Leaving directory `/tmp/uClinux-dist/lib/STLport/build/lib'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/tmp/uClinux-dist/lib/STLport'
make[1]: *** [STLport_only] Fehler 2
make[1]: Leaving directory `/tmp/uClinux-dist/lib'
make: *** [lib/STLport_only] Fehler 2
---
The first error about syntax error in the shell command is due some broken 
version extraction of gcc. AFAIK the result isn't event used in my case. So I 
can ignore that. But the real problem is here:
> /tmp/uClinux-dist/include/STLport/new:48:48: error: ../4.2.3/new: No such 
file or directory
If I run m68k-uclinux-g++ without ucfront everything is ok. But i can't use 
this method for oprofile later, it's missing bfd headers there.
I'm using uClinux-20080808 with the Codesourcery toolchain 4.2.3 for uClinux.

Any hints, ideas?

Regards
Alexander
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to