javitu / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 2 forks source link

compilation error #1313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo git stash && sudo git pull
2. compile toolchain, both
2. compile FW

What is the expected output? What do you see instead?
No error. Error as follow:

make[3]: Leaving directory `/opt/rt-n56u/trunk/libs/libsqlite'
make -C sqlite-autoconf-3070701
make[3]: Entering directory 
`/opt/rt-n56u/trunk/libs/libsqlite/sqlite-autoconf-3070701'
if /bin/bash ./libtool --tag=CC --mode=compile 
/opt/rt-n56u/toolchain-rt3883/toolchain-3.0.x/bin/mipsel-linux-uclibc-gcc 
-mips32r2 -march=mips32r2 -DPACKAGE_NAME=\"sqlite\" 
-DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.7.1\" 
-DPACKAGE_STRING=\"sqlite\ 3.7.7.1\" 
-DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"sqlite\" -DVERSION=\"3.7.7.1\" -D_FILE_OFFSET_BITS=64 
-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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 
-DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_POSIX_FALLOCATE=1 -I. -I.   
 -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -Os -fomit-frame-pointer -pipe  
-DEMBED -I/opt/rt-n56u/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall 
-Wno-trigraphs -Wno-strict-aliasing -Wno-format-security   -Wno-pointer-sign 
-ffunction-sections -fdata-sections -MT sqlite3.lo -MD -MP -MF 
".deps/sqlite3.Tpo" -c -o sqlite3.lo sqlite3.c; \
    then mv -f ".deps/sqlite3.Tpo" ".deps/sqlite3.Plo"; else rm -f ".deps/sqlite3.Tpo"; exit 1; fi
./libtool: line 859: X--tag=CC: command not found
./libtool: line 892: libtool: ignoring unknown tag : command not found
./libtool: line 859: X--mode=compile: command not found
./libtool: line 1026: *** Warning: inferring the mode of operation is 
deprecated.: command not found
./libtool: line 1027: *** Future versions of Libtool will require --mode=MODE 
be specified.: command not found
./libtool: line 1170: 
X/opt/rt-n56u/toolchain-rt3883/toolchain-3.0.x/bin/mipsel-linux-uclibc-gcc: No 
such file or directory
./libtool: line 1170: X-mips32r2: command not found
./libtool: line 1170: X-march=mips32r2: command not found
./libtool: line 1170: X-DPACKAGE_NAME="sqlite": command not found
./libtool: line 1170: X-DPACKAGE_TARNAME="sqlite": command not found
./libtool: line 1170: X-DPACKAGE_VERSION="3.7.7.1": command not found
./libtool: line 1170: X-DPACKAGE_STRING="sqlite 3.7.7.1": command not found
./libtool: line 1170: X-DPACKAGE_BUGREPORT="http://www.sqlite.org": No such 
file or directory
./libtool: line 1170: X-DPACKAGE_URL="": command not found
./libtool: line 1170: X-DPACKAGE="sqlite": command not found
./libtool: line 1170: X-DVERSION="3.7.7.1": command not found
./libtool: line 1170: X-D_FILE_OFFSET_BITS=64: command not found
./libtool: line 1170: X-DSTDC_HEADERS=1: command not found
./libtool: line 1170: X-DHAVE_SYS_TYPES_H=1: command not found
./libtool: line 1170: X-DHAVE_SYS_STAT_H=1: command not found
./libtool: line 1170: X-DHAVE_STDLIB_H=1: command not found
./libtool: line 1170: X-DHAVE_STRING_H=1: command not found
./libtool: line 1170: X-DHAVE_MEMORY_H=1: command not found
./libtool: line 1170: X-DHAVE_STRINGS_H=1: command not found
./libtool: line 1170: X-DHAVE_INTTYPES_H=1: command not found
./libtool: line 1170: X-DHAVE_STDINT_H=1: command not found
./libtool: line 1170: X-DHAVE_UNISTD_H=1: command not found
./libtool: line 1170: X-DHAVE_DLFCN_H=1: command not found
./libtool: line 1170: X-DLT_OBJDIR=".libs/": No such file or directory
./libtool: line 1170: X-DHAVE_FDATASYNC=1: command not found
./libtool: line 1170: X-DHAVE_USLEEP=1: command not found
./libtool: line 1170: X-DHAVE_LOCALTIME_R=1: command not found
./libtool: line 1170: X-DHAVE_GMTIME_R=1: command not found
./libtool: line 1170: X-DHAVE_DECL_STRERROR_R=1: command not found
./libtool: line 1170: X-DHAVE_STRERROR_R=1: command not found
./libtool: line 1170: X-DHAVE_POSIX_FALLOCATE=1: command not found
./libtool: line 1170: X-I.: command not found
./libtool: line 1170: X-I.: command not found
./libtool: line 1170: X-D_REENTRANT=1: command not found
./libtool: line 1170: X-DSQLITE_THREADSAFE=1: command not found
./libtool: line 1170: X-DSQLITE_OMIT_LOAD_EXTENSION=1: command not found
./libtool: line 1170: X-DSQLITE_ENABLE_FTS3: command not found
./libtool: line 1170: X-DSQLITE_ENABLE_RTREE: command not found
./libtool: line 1170: X-Os: command not found
./libtool: line 1170: X-fomit-frame-pointer: command not found
./libtool: line 1170: X-pipe: command not found
./libtool: line 1170: X-DEMBED: command not found
./libtool: line 1170: X-I/opt/rt-n56u/trunk/stage/include: No such file or 
directory
./libtool: line 1170: X-Dlinux: command not found
./libtool: line 1170: X-D__linux__: command not found
./libtool: line 1170: X-Dunix: command not found
./libtool: line 1170: X-Wall: command not found
./libtool: line 1170: X-Wno-trigraphs: command not found
./libtool: line 1170: X-Wno-strict-aliasing: command not found
./libtool: line 1170: X-Wno-format-security: command not found
./libtool: line 1170: X-Wno-pointer-sign: command not found
./libtool: line 1170: X-ffunction-sections: command not found
./libtool: line 1170: X-fdata-sections: command not found
./libtool: line 1170: X-MT: command not found
./libtool: line 1170: Xsqlite3.lo: command not found
./libtool: line 1170: X-MD: command not found
./libtool: line 1170: X-MP: command not found
./libtool: line 1170: X-MF: command not found
./libtool: line 1170: X.deps/sqlite3.Tpo: No such file or directory
./libtool: line 1170: X-c: command not found
./libtool: line 1222: Xsqlite3.lo: command not found
./libtool: line 1227: libtool: compile: cannot determine name of library object 
from `': command not found
make[3]: *** [sqlite3.lo] Error 1
make[3]: Leaving directory 
`/opt/rt-n56u/trunk/libs/libsqlite/sqlite-autoconf-3070701'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/rt-n56u/trunk/libs/libsqlite'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/rt-n56u/trunk/libs'
make: *** [libs_only] Error 2
leandroong@VirtualBox-Ubuntu12:/opt/rt-n56u/trunk$ 

Original issue reported on code.google.com by leandro.ong@gmail.com on 14 Aug 2014 at 6:51

GoogleCodeExporter commented 9 years ago
note: git pull up to "pppd: revert commit b94b7fb due usage non-static path 
params"
Also, possible to upgrade libraries for the ff:
1. curl to curl-7.36.1.tar.gz
2. libevent-2.0.21-stable.tar.gz

Original comment by leandro.ong@gmail.com on 14 Aug 2014 at 6:56

GoogleCodeExporter commented 9 years ago
Just notice that .../trunk/.config has been replaced with default. Could this 
be the reason? 

Original comment by leandro.ong@gmail.com on 14 Aug 2014 at 8:32

GoogleCodeExporter commented 9 years ago
There probably was an error when building dependent libs. Read in wiki on how 
to build firmware. If you'd like to change/update anything start with studying 
build environment. 

Original comment by d...@soulblader.com on 14 Aug 2014 at 9:57

GoogleCodeExporter commented 9 years ago
Thanks. I forgot to clean toolchain that causes the error. Here is my compiled 
result:
img file: /opt/rt-n56u/trunk/images/RT-N56U_3.4.3.8-83B.trx
Product ID:   RT-N56U
Created:      Fri Aug 15 11:49:42 2014
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    7508965 Bytes = 7332.97 kB = 7.16 MB
Load Address: 0x80000000
Entry Point:  0x802D2D20
Kernel Size:  0x00139960
Kernel Ver.:  3.4
FS Ver.:      3.8
make[2]: Leaving directory `/opt/rt-n56u/trunk/vendors/Ralink/RT3883'
make[1]: Leaving directory `/opt/rt-n56u/trunk/vendors'
leandroong@VirtualBox-Ubuntu12:/opt/rt-n56u/trunk$ 

Original comment by leandro.ong@gmail.com on 15 Aug 2014 at 3:56