MPC8568MDS board build error
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.
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 toqe_init' cpu/mpc85xx/cpu_init.c:296: undefined reference toqe_reset' net/libnet.a(eth.o): In function `eth_initialize':net/eth.c:198: undefined reference touec_initialize' net/eth.c:201: undefined reference touec_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
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 toqe_init' cpu/mpc85xx/cpu_init.c:296: undefined reference toqe_reset' net/libnet.a(eth.o): In function `eth_initialize':net/eth.c:198: undefined reference touec_initialize' net/eth.c:201: undefined reference touec_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.