Skip to contentSkip to conversation

MPC8568MDS board build error

U-Boot-Users David Saada 2 participants 3 messages Aug 28, 2007

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
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.
#1 lore raw
Quoted 10 lines · David Saada

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

#2 lore raw

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.

Quoted 37 lines · Haiying Wang-2 wrote:
Quoted 10 lines · David Saada

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

Signature · 2 lines
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.