public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: wang cheng <wangcheng@rails.com.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] "undefined reference"error in net.c
Date: Thu, 23 Oct 2003 10:30:19 +0800	[thread overview]
Message-ID: <41afa44d11.44d1141afa@rails.com.cn> (raw)

dear all,
    When I follow the steps to port u-boot to my board according to 
README  ,error appeared in "make".

   I didn't change anything about net ,but there are many "undefined 
reference"error in net.c ,displayed as below: why??

-------->
..................
tart-group board/windriver/libwindriver.a cpu/mpc8xx/libmpc8xx.a 
lib_ppc/libppc.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.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 lib_generic/libgeneric.a  --end-
group \
                -Map u-boot.map -o u-boot
net/libnet.a(net.o): In function `ArpRequest':
/home/wang/u-boot-0.4.8/net/net.c:185: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetLoop':
/home/wang/u-boot-0.4.8/net/net.c:257: undefined reference to `eth_halt'
/home/wang/u-boot-0.4.8/net/net.c:258: undefined reference to `eth_init'
/home/wang/u-boot-0.4.8/net/net.c:381: undefined reference to `eth_rx'
/home/wang/u-boot-0.4.8/net/net.c:387: undefined reference to `eth_halt'
/home/wang/u-boot-0.4.8/net/net.c:424: undefined reference to `eth_halt'
net/libnet.a(net.o): In function `NetSendPacket':
/home/wang/u-boot-0.4.8/net/net.c:507: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetSendUDPPacket':
/home/wang/u-boot-0.4.8/net/net.c:552: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetReceive':
/home/wang/u-boot-0.4.8/net/net.c:726: undefined reference to `eth_send'
/home/wang/u-boot-0.4.8/net/net.c:752: undefined reference to `eth_send'
make: *** [u-boot] Error 1
    
thanks !
    

             reply	other threads:[~2003-10-23  2:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23  2:30 wang cheng [this message]
2003-10-23 13:41 ` [U-Boot-Users] "undefined reference"error in net.c Detlev Zundel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41afa44d11.44d1141afa@rails.com.cn \
    --to=wangcheng@rails.com.cn \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox