Compiling GCC - crti.o not recognised
I am seeking assistance in overcoming a GCC compiling error. This is for a QNAP NAS device
Compiling GCC version 4.6.2 is failing at the 'make' stage because the crti.o file is allegedly missing: Code:
..../arm-none-linux-gnueabi/bin/ld: crti.o: No such file: No such file or directory I have located the crti.o file in: Code:
.../arm-none-linux-gnueabi/lib/crti.o 1. added /arm-none-linux-gnueabi/lib to LD_LIBRARY_PATH 2. added /arm-none-linux-gnueabi/lib to /etc/ld.so.cache then run ldconfig 3. added the parent dir, ie /arm-none-linux-gnueabi, to $PATH running 'set' confirms the above config finally I ran make with the 'B' option to include the directory: Code:
make CC="gcc -B /opt/arm-none-linux-gnueabi/lib" Here is a pastebin of the error (spaces were added above and below the problem line) http://pastebin.com/knuN7UHR (note that /opt is a symlink to /share/MD0_DATA/.qpkg/Optware and then we have /share/MD0_DATA/.qpkg/Optware/arm-none-linux-gnueabi) Any help would be great! |
All times are GMT -5. The time now is 06:15 PM. |