[U-Boot-Users] Compile errors in porting board developed under V1.1.1 to V1.1.4

Jeff Mann MannJ at embeddedplanet.com
Thu Jun 15 18:19:09 CEST 2006


Hello all:

We have previously developed a u-boot board port under u-boot version
1.1.1. Currently, I am attempting to move this board to version 1.1.4 so
that it can be summated as a patch and merged with the u-boot CVS. I
have done this by coppying my board/<board> directory as well as the
include/configs/<board.h> and adding an entry to the top level makefile.
When compiling with MAKE, I get errors in the net files as seen below.
Help in identifying the cause of these errors would be appreciated. AND
be nice, I am new to u-boot. 

Thanks,
Jeff


---------------------ERROR--------------------
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/tools'
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/examples'
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post'
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post/cpu'
make -C tools all
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/tools'
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/tools'
make -C examples all
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/examples'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/examples'
make -C post all
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post'
make -C post/cpu all
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post/cpu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post/cpu'
make -C `dirname lib_generic/libgeneric.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/lib_generic'
make[1]: `libgeneric.a' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/lib_generic'
make -C `dirname board/ep866/libep866.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/board/ep866'
make[1]: `libep866.a' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/board/ep866'
make -C `dirname cpu/mpc8xx/libmpc8xx.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/cpu/mpc8xx'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/cpu/mpc8xx'
make -C `dirname lib_ppc/libppc.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/lib_ppc'
make[1]: `libppc.a' is up to date.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/lib_ppc'
make -C `dirname fs/cramfs/libcramfs.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/cramfs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/cramfs'
make -C `dirname fs/fat/libfat.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/fat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/fat'
make -C `dirname fs/fdos/libfdos.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/fdos'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/fdos'
make -C `dirname fs/jffs2/libjffs2.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/jffs2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/jffs2'
make -C `dirname fs/reiserfs/libreiserfs.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/reiserfs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/reiserfs'
make -C `dirname fs/ext2/libext2fs.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/fs/ext2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/fs/ext2'
make -C `dirname net/libnet.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/net'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/net'
make -C `dirname disk/libdisk.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/disk'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/disk'
make -C `dirname rtc/librtc.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/rtc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/rtc'
make -C `dirname dtt/libdtt.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/dtt'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/dtt'
make -C `dirname drivers/libdrivers.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/drivers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/drivers'
make -C `dirname drivers/sk98lin/libsk98lin.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/drivers/sk98lin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/drivers/sk98lin'
make -C `dirname post/libpost.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post'
make -C `dirname post/cpu/libcpu.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/post/cpu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/post/cpu'
make -C `dirname common/libcommon.a`
make[1]: Entering directory `/opt/ep/u-boot-1.1.4/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/ep/u-boot-1.1.4/common'
UNDEF_SYM=`ppc_8xx-objdump -x lib_generic/libgeneric.a
board/ep866/libep866.a cpu/mpc8xx/libmpc8xx.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a |sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        ppc_8xx-ld -Bstatic -T
/opt/ep/u-boot-1.1.4/board/ep866/u-boot.lds -Ttext 0xFF000000  -n
$UNDEF_SYM cpu/mpc8xx/start.o \
                --start-group lib_generic/libgeneric.a
board/ep866/libep866.a cpu/mpc8xx/libmpc8xx.a lib_ppc/libppc.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a
drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a --end-group -L
/opt/embedded/eldk311/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/m860/pic
-lgcc \
                -Map u-boot.map -o u-boot
net/libnet.a(net.o)(.text+0x130): In function `ArpRequest':
/opt/ep/u-boot-1.1.4/net/net.c:233: undefined reference to `eth_send'
net/libnet.a(net.o)(.text+0x2a0): In function `NetLoop':
/opt/ep/u-boot-1.1.4/net/net.c:303: undefined reference to `eth_halt'
net/libnet.a(net.o)(.text+0x2a8):/opt/ep/u-boot-1.1.4/net/net.c:307:
undefined reference to `eth_init'
net/libnet.a(net.o)(.text+0x400):/opt/ep/u-boot-1.1.4/net/net.c:389:
undefined reference to `eth_halt'
net/libnet.a(net.o)(.text+0x454):/opt/ep/u-boot-1.1.4/net/net.c:495:
undefined reference to `eth_halt'
net/libnet.a(net.o)(.text+0x478):/opt/ep/u-boot-1.1.4/net/net.c:489:
undefined reference to `eth_rx'
net/libnet.a(net.o)(.text+0x560):/opt/ep/u-boot-1.1.4/net/net.c:549:
undefined reference to `eth_halt'
net/libnet.a(net.o)(.text+0x628): In function `NetStartAgain':
/opt/ep/u-boot-1.1.4/net/net.c:585: undefined reference to `eth_halt'
net/libnet.a(net.o)(.text+0x714): In function `NetSendPacket':
/opt/ep/u-boot-1.1.4/net/net.c:638: undefined reference to `eth_send'
net/libnet.a(net.o)(.text+0x87c): In function `NetSendUDPPacket':
/opt/ep/u-boot-1.1.4/net/net.c:687: undefined reference to `eth_send'
net/libnet.a(net.o)(.text+0xab8): In function `NetReceive':
/opt/ep/u-boot-1.1.4/net/net.c:1291: undefined reference to `eth_send'
net/libnet.a(net.o)(.text+0xb34):/opt/ep/u-boot-1.1.4/net/net.c:1320:
undefined reference to `eth_send'
make: *** [u-boot] Error 1




More information about the U-Boot mailing list