public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC8568MDS board build error
@ 2007-08-28 12:27 David Saada
  2007-08-28 13:21 ` Haiying Wang
  0 siblings, 1 reply; 3+ messages in thread
From: David Saada @ 2007-08-28 12:27 UTC (permalink / raw)
  To: u-boot


Hello,
Trying to build the MPC8568MDS board taken from the latest repo, and the
build fails. Errors are the following (at link stage):
cpu/mpc85xx/cpu_init.o: In function `cpu_init_r':
cpu/mpc85xx/cpu_init.c:295: undefined reference to `qe_init'
cpu/mpc85xx/cpu_init.c:296: undefined reference to `qe_reset'
net/libnet.a(eth.o): In function `eth_initialize':
net/eth.c:198: undefined reference to `uec_initialize'
net/eth.c:201: undefined reference to `uec_initialize'


Best regards,
David.


-- 
View this message in context: http://www.nabble.com/MPC8568MDS-board-build-error-tf4341446.html#a12366987
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot-Users] MPC8568MDS board build error
  2007-08-28 12:27 [U-Boot-Users] MPC8568MDS board build error David Saada
@ 2007-08-28 13:21 ` Haiying Wang
  2007-08-28 14:15   ` David Saada
  0 siblings, 1 reply; 3+ messages in thread
From: Haiying Wang @ 2007-08-28 13:21 UTC (permalink / raw)
  To: u-boot

On Tue, 2007-08-28 at 05:27 -0700, David Saada wrote:
> Hello,
> Trying to build the MPC8568MDS board taken from the latest repo, and the
> build fails. Errors are the following (at link stage):
> cpu/mpc85xx/cpu_init.o: In function `cpu_init_r':
> cpu/mpc85xx/cpu_init.c:295: undefined reference to `qe_init'
> cpu/mpc85xx/cpu_init.c:296: undefined reference to `qe_reset'
> net/libnet.a(eth.o): In function `eth_initialize':
> net/eth.c:198: undefined reference to `uec_initialize'
> net/eth.c:201: undefined reference to `uec_initialize'
> 
Please make sure in u-boot/Makefile, the following lines are added for
compiling qe lib for 85xx:
"
ifeq ($(CPU),mpc85xx)
LIBS += drivers/qe/qe.a
endif
"

In fact, I double checked the latest u-boot.git from denx.de. There is
not problem to build MPC8568MDS board, the above code is already there. 

Haiying

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

* [U-Boot-Users] MPC8568MDS board build error
  2007-08-28 13:21 ` Haiying Wang
@ 2007-08-28 14:15   ` David Saada
  0 siblings, 0 replies; 3+ messages in thread
From: David Saada @ 2007-08-28 14:15 UTC (permalink / raw)
  To: u-boot


Thanks Haiying. For some reason the Makefile I had was overwritten by an
older version (probably done by an external tool). Everything sorted now.
Cheers,
David.


Haiying Wang-2 wrote:
> 
> On Tue, 2007-08-28 at 05:27 -0700, David Saada wrote:
>> Hello,
>> Trying to build the MPC8568MDS board taken from the latest repo, and the
>> build fails. Errors are the following (at link stage):
>> cpu/mpc85xx/cpu_init.o: In function `cpu_init_r':
>> cpu/mpc85xx/cpu_init.c:295: undefined reference to `qe_init'
>> cpu/mpc85xx/cpu_init.c:296: undefined reference to `qe_reset'
>> net/libnet.a(eth.o): In function `eth_initialize':
>> net/eth.c:198: undefined reference to `uec_initialize'
>> net/eth.c:201: undefined reference to `uec_initialize'
>> 
> Please make sure in u-boot/Makefile, the following lines are added for
> compiling qe lib for 85xx:
> "
> ifeq ($(CPU),mpc85xx)
> LIBS += drivers/qe/qe.a
> endif
> "
> 
> In fact, I double checked the latest u-boot.git from denx.de. There is
> not problem to build MPC8568MDS board, the above code is already there. 
> 
> Haiying
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 

-- 
View this message in context: http://www.nabble.com/MPC8568MDS-board-build-error-tf4341446.html#a12368762
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

end of thread, other threads:[~2007-08-28 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-28 12:27 [U-Boot-Users] MPC8568MDS board build error David Saada
2007-08-28 13:21 ` Haiying Wang
2007-08-28 14:15   ` David Saada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox