Hi,

Ok, this was not uclibc's fault, but a generic G++ (STL) cross compile
regression (in the upstream, GCC header files).

Apparently this still is an C++-issue unrelated to libusb. I have a custom
program packaged for T2 now that is written in C++. And it shows a similar
problem regarding stdarg.h not being found.

Is that a clue?

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
Command Wrapper Debug: running 'i686-t2-linux-uclibc-gcc --version' ..
i686-t2-linux-uclibc-gcc is 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/wrapper/i686-t2-linux-uclibc-gcc
Old Command: i686-t2-linux-uclibc-gcc --version
ENVPREFIX = 'CMD'
OTHERS = ''
INSERT = '--help?:-pipe -Os'
REMOVE = '-O -O[0-9s] -mtune* -march* -mcpu* -g*'
APPEND = '-s */X11R6/include?-I/usr/X11/include */X11R6/lib?-L/usr/X11/lib 
*/X11R6/lib64?-L/usr/X11/lib64'
FILTER = 'sed -e 
's,^\(-[LI]\)*\(/\|/usr/\|/usr/[^/]*/\|/opt/[^/]*/\)\(include\|lib\),\1/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross\2\3,''
conditonal arg: --help?:-pipe.
conditonal: --help, lhs: , rhs: -pipe.
Insert: -pipe
Insert: -Os
Copy:   --version
Append: -s
conditonal arg: */X11R6/include?-I/usr/X11/include.
conditonal: */X11R6/include, lhs: -I/usr/X11/include, rhs: .
conditonal arg: */X11R6/lib?-L/usr/X11/lib.
conditonal: */X11R6/lib, lhs: -L/usr/X11/lib, rhs: .
conditonal arg: */X11R6/lib64?-L/usr/X11/lib64.
conditonal: */X11R6/lib64, lhs: -L/usr/X11/lib64, rhs: .
Run Filter: sed -e 
's,^\(-[LI]\)*\(/\|/usr/\|/usr/[^/]*/\|/opt/[^/]*/\)\(include\|lib\),\1/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross\2\3,'
Old PATH: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/wrapper:/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/bin:/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
New PATH: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/bin:/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
New Command: i686-t2-linux-uclibc-gcc -pipe -Os --version -s
i686-t2-linux-uclibc-gcc (GCC) 4.3.1
Copyright (C) 2008 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.

[ writing debug log to 
/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/cmd_wrapper.log ]
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/archdir/tachox-HEAD.bz2'
 -> `/home/kbox/t2/download/mirror/t/tachox-HEAD.bz2'
Running main build function 'build_this_package' ...
Extracting tachox-HEAD.bz2 (--use-compress-program=bzip2 -xf) ... 
Fixing ownership and permissions ...
Removing CVS, .svn, {arch} and .arch-ids directories ...
Changeing into 
/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX ...
Bootstrapping the GNU autotools...
configure.in:11: installing `config/config.guess'
configure.in:11: installing `config/config.sub'
configure.in:43: installing `config/install-sh'
configure.in:43: installing `config/missing'
src/Makefile.am: installing `config/depcomp'
Creating /home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/<..> if required 
...
Autodetection for option impossible:  --disable-debug passed thru.
Autodetection for option impossible:  --disable-nls passed thru.
Autodetection for option impossible:  --without-libpam passed thru.
Autodetection for option impossible:  --without-pam passed thru.
Autodetection for option impossible:  --disable-libpam passed thru.
Autodetection for option impossible:  --disable-pam passed thru.
Running  ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include 
--infodir=/usr/info --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var 
--disable-debug --disable-nls --without-libpam --without-pam --disable-libpam 
--disable-pam --bindir=\${prefix}/mnt/tachox --build=i686-nocross-linux-gnu 
--host=i686-t2-linux-uclibc --cache-file=./config.cache
configure: WARNING: Unrecognized options: --disable-debug, --disable-nls, 
--without-libpam, --without-pam, --disable-libpam, --disable-pam
configure: loading cache ./config.cache
checking build system type... i686-nocross-linux-gnu
checking host system type... i686-t2-linux-uclibc
checking target system type... i686-t2-linux-uclibc
checking whether #! works in shell scripts... yes
checking for gawk... gawk
serial ports... unix
checking for i686-t2-linux-uclibc-gcc... i686-t2-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-t2-linux-uclibc-gcc accepts -g... yes
checking for i686-t2-linux-uclibc-gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether i686-t2-linux-uclibc-g++ accepts -g... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking if pthread_yield is available... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking how to run the C preprocessor... i686-t2-linux-uclibc-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for a BSD-compatible install... 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/TOOLCHAIN/tools.cross/wrapper/install
 -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i686-t2-linux-uclibc-strip... i686-t2-linux-uclibc-strip
checking dependency style of i686-t2-linux-uclibc-gcc... gcc3
checking dependency style of i686-t2-linux-uclibc-g++... gcc3
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: Unrecognized options: --disable-debug, --disable-nls, 
--without-libpam, --without-pam, --disable-libpam, --disable-pam
Running make -j2 CC=i686-t2-linux-uclibc-gcc CPP=i686-t2-linux-uclibc-cpp 
CXX=i686-t2-linux-uclibc-g++ prefix=/usr CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc 
HOSTCC=cc HOST_CC=cc STRIP=i686-t2-linux-uclibc-strip 
AR=i686-t2-linux-uclibc-ar LD=i686-t2-linux-uclibc-ld 
RANLIB=i686-t2-linux-uclibc-ranlib NM=i686-t2-linux-uclibc-nm
make  all-recursive
make[1]: Entering directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX'
Making all in .
make[2]: Entering directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX'
Making all in src
make[2]: Entering directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX/src'
i686-t2-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -pthread -MT 
main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
i686-t2-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -pthread -MT 
Thread.o -MD -MP -MF .deps/Thread.Tpo -c -o Thread.o Thread.cpp
In file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:54,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from main.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/cstdarg:48:25:
 error: stdarg.h: No such file or directory
In file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:54,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from Log.h:4,
                 from Thread.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/cstdarg:48:25:
 error: stdarg.h: No such file or directory
In file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:54,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from Log.h:4,
                 from Thread.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/cstdarg:60:
 error: '::va_list' has not been declaredIn file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:54,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from main.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/cstdarg:60:
 error: '::va_list' has not been declared
In file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from main.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:
 In function 'int std::__convert_from_v(int* const&, char*, int, const char*, 
...)':
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:98:
 error: 'va_list' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:98:
 error: expected `;' before '__args'
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:110:
 error: '__args' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:110:
 error: 'va_start' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:112:
 error: 'va_end' was not declared in this scope

In file included from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/bits/localefwd.h:47,
                 from 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/string:50,
                 from Log.h:4,
                 from Thread.cpp:5:
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:
 In function 'int std::__convert_from_v(int* const&, char*, int, const char*, 
...)':
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:98:
 error: 'va_list' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:98:
 error: expected `;' before '__args'
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:110:
 error: '__args' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:110:
 error: 'va_start' was not declared in this scope
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-cross/usr/include/c++/4.3.1/i686-t2-linux-uclibc/bits/c++locale.h:112:
 error: 'va_end' was not declared in this scope
Thread.cpp: In static member function 'static void* 
Thread::pthread_startwrapper(void*)':
Thread.cpp:66: error: 'exit' was not declared in this scope
make[2]: *** [Thread.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [main.o] Error 1
make[2]: Leaving directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/kbox/t2/src.tachox.kbox.20080814.122750.12031.kboxdev/TachoX'
make: *** [all] Error 2
Due to previous errors, no 1-tachox.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ... 
Searching for orphaned files ...
Found 6 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to