Temat: Błąd kompilacji obrazu DGT
Witam
Co prawda sprawa bezpośrednio nie dotyczy openwrt, ale może ktoś będzie wiedział.
Kompiluje obraz z ze źródeł do routera, ale wywala mi błąd. Pierwszy dotyczył uclib-crosstools-gcc-4.4.2.1 ale ściągnałem rozpakowałem do opt/toolchain i ruszyło. Natomiast teraz wywala coś takiego i nie bardzo mam pomysł o co chodzi. Siedziałem do 3 w nocy wczoraj i się poddałem. Problem dotyczy sqlite, wcześniej idzie wszystko ok.
Building sqlite ...
make[3]: Wejście do katalogu '/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite'
./libtool --mode=link /opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/bin/mips-linux-uclibc-gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=0 \
-o sqlite3 ./src/shell.c libsqlite3.la \
-lpthread -rpath "/opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/lib"
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: compile_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: finalize_command+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite/libtool: 1: eval: libtool_args+=: not found
libtool: link: /opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/bin/mips-linux-uclibc-gcc ./.libs/libsqlite3.so -lpthread -Wl,-rpath -Wl,/opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/lib
/opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/lib/crt1.o: In function `__start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
Makefile:478: polecenia dla obiektu 'sqlite3' nie powiodły się
make[3]: *** [sqlite3] Błąd 1
make[3]: Opuszczenie katalogu '/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs/sqlite'
Makefile:239: polecenia dla obiektu 'sqlite' nie powiodły się
make[2]: *** [sqlite] Błąd 2
make[2]: Opuszczenie katalogu '/home/test/Pulpit/aaa/bcm963xx_router/userspace/gpl/libs'
Makefile:52: polecenia dla obiektu 'gpl-libs' nie powiodły się
make[1]: *** [gpl-libs] Błąd 2
make[1]: Opuszczenie katalogu '/home/test/Pulpit/aaa/bcm963xx_router/userspace'
Makefile:147: polecenia dla obiektu 'userspace' nie powiodły się
make: *** [userspace] Błąd 2
test@test-VirtualBox:~/Pulpit/aaa/bcm963xx_router$