Re: [uClinux-dev] New version of uClinux/ColdFire sources

From: Greg Ungerer (gerg@moreton.com.au)
Date: Sun Aug 06 2000 - 19:42:22 EDT


Hi STeve,

The Armadillo with the Mask wrote:
> Got it...that did the trick for compilation. I'm still having linker
> problems though.
> 
> To wit:
> 
> m68k-pic-coff-gcc -fPIC -Dlinux -D__linux__ -Dunix -DEMBED -o dhcpd
> dhcpd.o dhcp.o bootp.o confpars.o db.o ../common/libdhcp.a
> /opt/uClinux/m68k-pic-coff/bin/gld: region a5world is full (dhcpd section
> .bss)
> dhcpd.o: In function `main': dhcpd.c:107: undefined reference to
> `openlog'
> dhcpd.c:113: undefined reference to `setlogmask'
> dhcpd.c:130: undefined reference to `__ntohs'
> dhcpd.c:131: undefined reference to `__ntohs'
> dhcpd.c:199: undefined reference to `__ntohs'
> dhcpd.c:211: undefined reference to `__ntohs'
> dhcpd.c(.text+0x76a): undefined reference
> to `__ntohs'
> dhcp.o:dhcp.c:518: more undefined references to `__ntohs' follow
> 
> I went and got Tom Walsh's RPM for m68k-pic-coff and installed that and
> the replacement crt0.o. That got rid of the DISP16 messages I was seeing
> but there's obviously still problems.

uC-libc has no syslog libaray function support. You either need to
create your own, or stub them out.

__ntohs is a inline function in ~/include/asm/byteorder.h.
So there is probably a missing header file include, or similar.


> I've seen this kind of behavior over in the Palm world with the old
> prc-tools-0.50. Has anybody tried building uClinux stuff with the
> prc-tools 2.0 release yet?

Seeya
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard       EMAIL: gerg@moreton.com.au
Lineo (Integrated Products Group)             PHONE:     +61 7 3279 1822
Unit 12, 97 Jijaws St,                        FAX:       +61 7 3279 1820
Sumner Park, QLD, 4074, Australia             WEB:    www.moretonbay.com
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:15 EDT