[U-Boot-Users] 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.

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

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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (2)
-
David Saada
-
Haiying Wang