[uClibc]Error while building test directory

Preethi preethi at USHUSTECH.COM
Tue Nov 5 06:09:37 UTC 2002


Dear All,
	I have downloaded the uClibc toolchain and compiled it for Hitachi
SH2 processor.After that I tried to build the test directory under uClibc
using the make file.But I'm getting the following errors .

/usr/sh-elf/bin/ld: warning: cannot find entry symbol start; defaulting to
00001000
/home/anurag/uClibc/lib/crt0.o: In function `start':
/home/anurag/uClibc/lib/crt0.o(.text+0x1c): undefined reference to
`_uClibc_main'
/home/anurag/uClibc/lib/crt0.o(.text+0x20): undefined reference to `abort'
/home/anurag/uClibc/lib/crt0.o(.text+0x24): undefined reference to `main'
/home/anurag/uClibc/lib/libc.a(__uClibc_main.o): In function
`__uClibc_main':
__uClibc_main.o(.text+0x74): undefined reference to `_fini'
__uClibc_main.o(.text+0x7c): undefined reference to `_init'
/home/anurag/uClibc/lib/libc.a(_stdio_init.o): In function `_cs_read':
_stdio_init.o(.text+0x14): undefined reference to `read'
/home/anurag/uClibc/lib/libc.a(_stdio_init.o): In function `_cs_write':
_stdio_init.o(.text+0x2c): undefined reference to `write'
/home/anurag/uClibc/lib/libc.a(_stdio_init.o): In function `_cs_close':
_stdio_init.o(.text+0x44): undefined reference to `close'
/home/anurag/uClibc/lib/libc.a(tcgetattr.o): In function `tcgetattr':
tcgetattr.o(.text+0x5c): undefined reference to `ioctl'
/home/anurag/uClibc/lib/libc.a(_stdio_lseek.o): In function `_stdio_lseek':
_stdio_lseek.o(.text+0x48): undefined reference to `lseek'
make[1]: *** [arg_test] Error 1
make: *** [_dir_args] Error 2

	Can anybody help me how to clear this problem.

Thanks in advance
Preethi.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20021105/90a18d74/attachment-0001.htm 


More information about the uClibc mailing list