From mboxrd@z Thu Jan 1 00:00:00 1970 From: jacopo mondi Date: Wed, 16 Feb 2011 17:29:17 +0100 Subject: [U-Boot] building enc28j60 for omap3: undefined references Message-ID: <20110216172917.4a5e83cc@BlackBox> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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