All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] building enc28j60  for omap3: undefined references
@ 2011-02-16 16:29 jacopo mondi
  2011-02-16 17:31 ` Reinhard Meyer
  0 siblings, 1 reply; 13+ messages in thread
From: jacopo mondi @ 2011-02-16 16:29 UTC (permalink / raw)
  To: u-boot

Hi all,
I'm trying enabling enc2j60 in order to use tftp with SPI-Ethernet
enc28j60 and beagleboard rev C3.
When building u-boot some functions referred by enc28j60.c remain
undefined.

drivers/net/libnet.o: In function `enc28j60_initialize':
u-boot/drivers/net/enc28j60.c:973:
undefined reference to `eth_register' drivers/net/libnet.o: In function
`enc_receive': u-boot/drivers/net/enc28j60.c:489:
undefined reference to `NetReceive' drivers/net/libnet.o: In function
`enc_recv': u-boot/drivers/net/enc28j60.c:868:
undefined reference to `NetRxPackets'

Driver gets compiled and linked without warnings nor errors:

arm-angstrom-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8
-msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000
-Iu-boot/include -fno-builtin
-ffreestanding -nostdinc
-isystem cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux
-mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes
-fno-stack-protector   -o enc28j60.o enc28j60.c -c
arm-angstrom-linux-gnueabi-ld  -r -o libnet.o  enc28j60.o

I'm using last u-boot, cloned from master branch yesterday.
Is my toolchain broken?

thank you
	j

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-02 14:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 16:29 [U-Boot] building enc28j60 for omap3: undefined references jacopo mondi
2011-02-16 17:31 ` Reinhard Meyer
2011-02-17  5:48   ` Mike Frysinger
2011-02-17  9:35   ` jacopo mondi
2011-02-17 10:09   ` Stefano Babic
2011-02-17 10:48     ` jacopo mondi
2011-02-17 12:37       ` Stefano Babic
2011-02-18 13:12         ` jacopo mondi
2011-02-22 16:34   ` [U-Boot] building enc28j60 for omap3: SILICON ERRATA jacopo mondi
2011-02-23 22:32     ` Anatolij Gustschin
2011-02-23 23:32       ` Wolfgang Denk
2011-02-25  8:37       ` jacopo mondi
2011-03-02 14:08       ` [U-Boot] building enc28j60 for omap3: (omap3_spi rxtx) jacopo mondi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.