[uClinux-dev]link error

曹靖 caojing at vrlab.buaa.edu.cn
Wed Aug 3 17:25:51 EDT 2005


Hi all,
	I am cross-compiling wvdial and i am getting errors as below.

Can  anyone tell me whats wrong?

arm-elf-gcc  -g -L/uClinux-dist/lib/ -o wvdial wvdial.o wvdial.a ../configfile/c
onfigfile.a ../streams/streams.a ../utils/utils.a
/uClinux-dist/lib//libg.a(vfork.o): In function `vfork':
vfork.o(.text+0x14): undefined reference to `__syscall_error'
vfork.o(.text+0x24): undefined reference to `__syscall_error'
/uClinux-dist/lib//libg.a(select.o): In function `select':
select.o(.text+0x18): undefined reference to `__syscall_error'
/uClinux-dist/lib//libg.a(_exit.o): In function `_exit':
_exit.o(.text+0x8): undefined reference to `__syscall_error'
/uClinux-dist/lib//libg.a(access.o): In function `access':
access.o(.text+0x8): undefined reference to `__syscall_error'
/uClinux-dist/lib//libg.a(close.o)(.text+0x8): more undefined references to `__s
yscall_error' follow
collect2: ld returned 1 exit status
make[1]: *** [wvdial] Error 1
make: *** [subdirs] Error 2  

Thanks,
stars





More information about the uClinux-dev mailing list