- Mitglied seit
- 3 Jun 2005
- Beiträge
- 164
- Punkte für Reaktionen
- 3
- Punkte
- 18
Bei bricht der Compiler bei libftdi ab.
libusb ist aber installiert, - zumindest mal wurde es heruntergeladen und existeiert im source-, und im toolchain Verzeichnis...
Code:
.....
tar -C source -v -xzf dl/libftdi-0.14.tar.gz
libftdi-0.14/
libftdi-0.14/doc/
libftdi-0.14/doc/Makefile.am
libftdi-0.14/doc/Makefile.in
libftdi-0.14/doc/Doxyfile.in
libftdi-0.14/src/
libftdi-0.14/src/ftdi.c
libftdi-0.14/src/ftdi.h
libftdi-0.14/src/Makefile.am
libftdi-0.14/src/Makefile.in
libftdi-0.14/depcomp
libftdi-0.14/libftdi.pc.in
libftdi-0.14/aclocal.m4
libftdi-0.14/COPYING.LIB
libftdi-0.14/README
libftdi-0.14/ltmain.sh
libftdi-0.14/configure
libftdi-0.14/configure.in
libftdi-0.14/config.guess
libftdi-0.14/install-sh
libftdi-0.14/config.sub
libftdi-0.14/missing
libftdi-0.14/Makefile.am
libftdi-0.14/Makefile.in
libftdi-0.14/config.h.in
libftdi-0.14/libftdi-config.in
libftdi-0.14/libftdi.spec.in
libftdi-0.14/AUTHORS
libftdi-0.14/examples/
libftdi-0.14/examples/simple.c
libftdi-0.14/examples/find_all.c
libftdi-0.14/examples/Makefile.am
libftdi-0.14/examples/Makefile.in
libftdi-0.14/examples/bitbang_ft2232.c
libftdi-0.14/examples/bitbang2.c
libftdi-0.14/examples/bitbang_cbus.c
libftdi-0.14/examples/bitbang.c
libftdi-0.14/ChangeLog
libftdi-0.14/libftdi.spec
shopt -s nullglob; for i in make/libs/patches/*.libftdi.patch; do tools/freetz_patch source/libftdi-0.14 $i; done
touch source/libftdi-0.14/.unpacked
( cd source/libftdi-0.14; rm -f config.{cache,status} ; source /var/freetz/freetz-1.0.3/make/config.mipsel ; PATH="/var/freetz/freetz-1.0.3/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" CC="/var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc" CXX="/var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc" CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" ./configure --cache-file=/var/freetz/freetz-1.0.3/make/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls --enable-shared --enable-static )
configure: loading cache /var/freetz/freetz-1.0.3/make/config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking for mipsel-linux-gcc... (cached) /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc accepts -g... (cached) yes
checking for /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc... (cached) gcc3
checking build system type... (cached) i386-pc-linux-gnu
checking host system type... (cached) mipsel-unknown-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ld used by /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc... (cached) /var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld
checking if the linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) is GNU ld... (cached) yes
checking for /var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... (cached) pass_all
checking how to run the C preprocessor... (cached) /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc accepts -g... (cached) yes
checking dependency style of /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc... (cached) gcc3
checking how to run the C++ preprocessor... (cached) /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc -E
checking for mipsel-linux-g77... no
checking for mipsel-linux-xlf... no
checking for mipsel-linux-f77... no
checking for mipsel-linux-frt... no
checking for mipsel-linux-pgf77... no
checking for mipsel-linux-cf77... no
checking for mipsel-linux-fort77... no
checking for mipsel-linux-fl32... no
checking for mipsel-linux-af77... no
checking for mipsel-linux-xlf90... no
checking for mipsel-linux-f90... no
checking for mipsel-linux-pgf90... no
checking for mipsel-linux-pghpf... no
checking for mipsel-linux-epcf90... no
checking for mipsel-linux-gfortran... no
checking for mipsel-linux-g95... no
checking for mipsel-linux-xlf95... no
checking for mipsel-linux-f95... no
checking for mipsel-linux-fort... no
checking for mipsel-linux-ifort... no
checking for mipsel-linux-ifc... no
checking for mipsel-linux-efc... no
checking for mipsel-linux-pgf95... no
checking for mipsel-linux-lf95... no
checking for mipsel-linux-ftn... no
checking for g77... (cached) gfortran
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [email protected].
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking the maximum length of command line arguments... (cached) 32768
checking command to parse /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-nm -B output from /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for mipsel-linux-ar... (cached) mipsel-linux-ar
checking for mipsel-linux-ranlib... (cached) mipsel-linux-ranlib
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc option to produce PIC... -fPIC
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc PIC flag -fPIC works... yes
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc static flag -static works... yes
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc... (cached) /var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld
checking if the linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) is GNU ld... (cached) yes
checking whether the /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking for /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc option to produce PIC... -fPIC
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc PIC flag -fPIC works... yes
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc static flag -static works... no
checking if /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc supports -c -o file.o... (cached) yes
checking whether the /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-g++-uc linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for libusb-config... /var/freetz/freetz-1.0.3/toolchain/target/bin/libusb-config
checking if libusb version is >= 0.1.7... yes
checking for doxygen... /usr/bin/doxygen
configure: updating cache /var/freetz/freetz-1.0.3/make/config.cache
configure: creating ./config.status
config.status: creating libftdi-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
configure: creating ./config.status
config.status: creating libftdi-config
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating libftdi.pc
config.status: creating libftdi.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
touch source/libftdi-0.14/.configured
PATH=/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/bin:/bin:/sbin:/usr/bin:/usr/sbin \
make -j2 -C source/libftdi-0.14 all
make[1]: Entering directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14'
make all-recursive
make[2]: Entering directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14'
Making all in src
make[3]: Entering directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14/src'
/bin/sh ../libtool --tag=CC --mode=compile /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT ftdi.lo -MD -MP -MF .deps/ftdi.Tpo -c -o ftdi.lo ftdi.c
mkdir .libs
/var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT ftdi.lo -MD -MP -MF .deps/ftdi.Tpo -c ftdi.c -fPIC -DPIC -o .libs/ftdi.o
/var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT ftdi.lo -MD -MP -MF .deps/ftdi.Tpo -c ftdi.c -o ftdi.o >/dev/null 2>&1
mv -f .deps/ftdi.Tpo .deps/ftdi.Plo
/bin/sh ../libtool --tag=CC --mode=link /var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -version-info 15:0:14 -o libftdi.la -rpath /usr/lib ftdi.lo -lusb
/var/freetz/freetz-1.0.3/toolchain/target/bin/mipsel-linux-uclibc-gcc -shared .libs/ftdi.o /usr/lib/libusb.so -march=4kc -Wl,-soname -Wl,libftdi.so.1 -o .libs/libftdi.so.1.14.0
/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/bin/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/bin/ld: skipping incompatible /lib/libusb.so when searching for /lib/libusb.so
/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/bin/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/bin/ld: cannot find /lib/libusb.so
collect2: ld returned 1 exit status
make[3]: *** [libftdi.la] Fehler 1
make[3]: Leaving directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/freetz/freetz-1.0.3/source/libftdi-0.14'
make: *** [source/libftdi-0.14/src/.libs/libftdi.so.1.14.0] Fehler 2
freetz@vdr02 /var/freetz/freetz-1.0.3 $
Code:
....
/var/freetz/freetz-1.0.3/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/bin/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/bin/ld: cannot find /lib/libusb.so
....
libusb ist aber installiert, - zumindest mal wurde es heruntergeladen und existeiert im source-, und im toolchain Verzeichnis...