The new Codesourcery toolchain ran into an error while configuring a library.
(uClinux-dist-20080808 with 20090423 patch).
Here the part of the make output:
[ -z "libpcap zlib" ] ||\
make -j1 libpcap zlib || exit $?
which: no m68k-uclinux-20060615-gcc in
(/opt/kde3/bin:/home/bernd/CodeSourcery/Sourcery_G++_Lite/bin:/home/bernd/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/home/bernd/uClinux-20080808-EWEBTEST/tools)
make[2]: Entering directory `/home/bernd/uClinux-20080808-EWEBTEST/lib'
[ ! -d "libpcap" ] || ( touch libpcap/.sgbuilt_lib && make -j1 -C libpcap ) ||
exit $?
make[3]: Entering directory `/home/bernd/uClinux-20080808-EWEBTEST/lib/libpcap'
rm -rf build
mkdir build
(cd build; sh ../configure --host=m68k-uclinux-linux --build=i686-pc-linux-gnu
--target=m68k-uclinux-linux --with-pcap=linux
--with-headers=/home/bernd/uClinux-20080808-EWEBTEST/include)
checking build system type... i686-pc-linux-gnu
checking host system type... m68k-uclinux-linux-gnu
checking target system type... m68k-uclinux-linux-gnu
checking for m68k-uclinux-linux-gcc... ucfront-gcc m68k-uclinux-gcc -m5307
-DCONFIG_COLDFIRE
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 ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE accepts
-g... yes
checking for ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE option to
accept ANSI C... none needed
checking gcc version... 4
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using ucfront-gcc m68k-uclinux-gcc -m5307
-DCONFIG_COLDFIRE... yes
checking for u_int16_t using ucfront-gcc m68k-uclinux-gcc -m5307
-DCONFIG_COLDFIRE... yes
checking for u_int32_t using ucfront-gcc m68k-uclinux-gcc -m5307
-DCONFIG_COLDFIRE... yes
checking how to run the C preprocessor... /lib/cpp
checking for egrep... grep -E
checking for ANSI C header files... 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 sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking limits.h usability... no
checking limits.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: see the Autoconf documentation
configure: WARNING: limits.h: section "Present But Cannot Be Compiled"
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING: limits.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for limits.h... yes
checking for netinet/if_ether.h... no
configure: Rechecking with some additional includes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... yes
checking for strerror... no
checking for strlcpy... no
checking for vsnprintf... no
checking for snprintf... no
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... no
checking for ether_hostton... no
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... no
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API headers... no (/usr/local/include)
checking whether we have Septel API... no
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for m68k-uclinux-linux-ranlib... m68k-uclinux-ranlib
checking if sockaddr struct has sa_len member... no
checking if sockaddr_storage struct exists... no
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
touch build/build
make -C build
make[4]: Entering directory
`/home/bernd/uClinux-20080808-EWEBTEST/lib/libpcap/build'
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -O2 -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DMKC_MAJOR_RELEASE=0 -DMKC_MINOR_RELEASE=1 -DMKC_MKC_RELEASE=7
-DMKC_INTERNAL_RELEASE=0 -DMKC_FIRMWARE_STRING=0.1.7.0 -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -I. -I.. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ../pcap-linux.c
In file included from
/home/bernd/uClinux-20080808-EWEBTEST/uClibc/include/bits/socket.h:31,
from
/home/bernd/uClinux-20080808-EWEBTEST/uClibc/include/sys/socket.h:35,
from ../pcap-linux.c:96:
/home/bernd/uClinux-20080808-EWEBTEST/uClibc/include/limits.h:124:26: error:
limits.h: No such file or directory
make[4]: *** [pcap-linux.o] Fehler 1
make[4]: Leaving directory
`/home/bernd/uClinux-20080808-EWEBTEST/lib/libpcap/build'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/home/bernd/uClinux-20080808-EWEBTEST/lib/libpcap'
make[2]: *** [libpcap] Fehler 2
make[2]: Leaving directory `/home/bernd/uClinux-20080808-EWEBTEST/lib'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/bernd/uClinux-20080808-EWEBTEST/lib'
make: *** [subdirs] Fehler 1
Reading the referenced documentation, there seems to be a problem in the
configure script.
But I don't know anything about autoconf.
So I'm still not able to generate a running system. :-(
Bernd
_______________________________________________
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