Recently i purchase LPC 2478 STK - OLIMAX make.
As per CDROM instruction, i am compiling linux kernel , on Linux RATHAT machine. But many try i could not succeed. I am getting following error. Can anybody suggest me the solution ? I doubt that OLIMAX supplied CDROM may have errored files.
touch.c:22: warning: implicit declaration of function `creat’
touch.c:24: warning: implicit declaration of function `utime’
touch.c:13: warning: unused variable `fd’
touch.c:27: warning: control reaches end of non-void function
ucfront-gcc arm-linux-gcc -Wl,–fatal-warnings -Wl,-elf2flt -msoft-float -D__PIC__ -fpic -msingle-pic-base -Wl,–fatal-warnings -Wl,-elf2flt -msoft-float -D__PIC__ -fpic -msingle-pic-base -o cat cat.o
ucfront-gcc arm-linux-gcc -Wl,–fatal-warnings -Wl,-elf2flt -msoft-float -D__PIC__ -fpic -msingle-pic-base -Wl,–fatal-warnings -Wl,-elf2flt -msoft-float -D__PIC__ -fpic -msingle-pic-base -o ftp cmds.o cmdtab.o domacro.o ftp.o glob.o main.o ruserpass.o
cat.o: In function `dumpfile’:
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/fileutils/cat.c:27: warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/fileutils/cat.c:27: warning: internal error: unsupported relocation error
cat.o: In function `main’:
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/fileutils/cat.c:55: warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/fileutils/cat.c:55: warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(__uClibc_main.o): In function `__uClibc_init’:
__uClibc_main.c:(.text+0x5c): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x60): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x64): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x68): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(__uClibc_main.o): In function `__uClibc_start_main’:
__uClibc_main.c:(.text+0x114): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x118): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x11c): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x120): warning: internal error: unsupported relocation error
__uClibc_main.c:(.text+0x124): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(__errno_location.o): In function `__errno_location’:
__errno_location.c:(.text+0xc): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(strerror.o): In function `strerror’:
wstring.c:(.text+0x20): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(_susv3_strerror_r.o): In function `_susv3_strerror_r’:
wstring.c:(.text+0xf0): warning: internal error: unsupported relocation error
wstring.c:(.text+0xf4): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(exit.o): In function `exit’:
atexit.c:(.text+0x80): warning: internal error: unsupported relocation error
atexit.c:(.text+0x84): warning: internal error: unsupported relocation error
atexit.c:(.text+0x88): warning: internal error: unsupported relocation error
atexit.c:(.text+0x8c): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(abort.o): In function `abort’:
abort.c:(.text+0x128): warning: internal error: unsupported relocation error
abort.c:(.text+0x12c): warning: internal error: unsupported relocation error
/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/uClibc/lib/libc.a(sigaction.o): In function `__libc_sigaction’:
sigaction.c:(.text+0xe0): warning: internal error: unsupported relocation error
sigaction.c:(.text+0xe4): warning: internal error: unsupported relocation error
collect2: ld returned 1 exit status
make[3]: *** [cat] Error 1
make[3]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/fileutils’
make[2]: *** [fileutils] Error 2
make[4]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/ftp/ftp’
make[3]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/ftp’
if cmp -s .config.mkconfig .config.tmp ; \
then \
rm -f .config.tmp ; \
else \
make clean; \
mv -f .config.tmp .config.mkconfig ; \
fi
make[3]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user/busybox’
make[2]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user’
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ITER/daveh/Desktop/HPN/Temp/lpc-2478-ulinux/uClinux-dist-lpc_2478_stk/user’
make: *** [subdirs] Error 1