Ich bin nach der Anleitung im Wiki vorgegangen. Folgende Ausgabe habe ich:
Code:
timo@chef:/usr/src/ar7-0.1$ export PATH=/usr/src/freetz-trunk/toolchain/target/bin:$PATH
timo@chef:/usr/src/ar7-0.1$ ./configure --build=i386-linux-gnu --target=mipsel-linux --host=mipsel-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-strip... mipsel-linux-strip
checking for mipsel-linux-gcc... mipsel-linux-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 mipsel-linux-gcc accepts -g... yes
checking for mipsel-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-gcc... gcc3
checking how to run the C preprocessor... mipsel-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for gethostbyname... yes
checking for socket... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
timo@chef:/usr/src/ar7-0.1$ make
Making all in src
make[1]: Betrete Verzeichnis '/usr/src/ar7-0.1/src'
if mipsel-linux-gcc -DPACKAGE_NAME=\"ar7\" -DPACKAGE_TARNAME=\"ar7\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"ar7\ 0.1\" -DPACKAGE_BUGREPORT=\"ar7bugs@nerufu.dyndns.org\" -DPACKAGE=\"ar7\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc -DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRSTR=1 -I. -I. -g -O2 -MT logic.o -MD -MP -MF ".deps/logic.Tpo" -c -o logic.o logic.c; \
then mv -f ".deps/logic.Tpo" ".deps/logic.Po"; else rm -f ".deps/logic.Tpo"; exit 1; fi
if mipsel-linux-gcc -DPACKAGE_NAME=\"ar7\" -DPACKAGE_TARNAME=\"ar7\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"ar7\ 0.1\" -DPACKAGE_BUGREPORT=\"ar7bugs@nerufu.dyndns.org\" -DPACKAGE=\"ar7\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc -DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRSTR=1 -I. -I. -g -O2 -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.c; \
then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi
if mipsel-linux-gcc -DPACKAGE_NAME=\"ar7\" -DPACKAGE_TARNAME=\"ar7\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"ar7\ 0.1\" -DPACKAGE_BUGREPORT=\"ar7bugs@nerufu.dyndns.org\" -DPACKAGE=\"ar7\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=0 -Dmalloc=rpl_malloc -DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRSTR=1 -I. -I. -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
mipsel-linux-gcc -g -O2 -o ar7 logic.o net.o util.o
util.o: In function `fdgets':
/usr/src/ar7-0.1/src/util.c:38: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[1]: *** [ar7] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/src/ar7-0.1/src'
make: *** [all-recursive] Fehler 1
Mit den zusätzlichen Parametern bei configure kommt der gleiche Fehler.