UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
132 Views
Registered: ‎04-22-2019

Sudden PetaLinux Compilation Issue for zc706

Hi all,

I am currently trying to compile PetaLinux 2016.4 on Ubuntu 16.04.

I have compiled several times the same version of PetaLinux on the same system (obviously with different bitstreams over time).

By the way, in the last couple of days the compilation started failing in the oe_runmake phase (see the following from build.log):

ERROR: u-boot-xlnx-v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0 do_compile: oe_runmake failed
ERROR: u-boot-xlnx-v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0 do_compile: Function failed: do_compile (log file is located at /home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/temp/log.do_compile.31657)

the log.do_compile.31657 states the following:

/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git/common/board_f.c: In function 'init_baud_rate':
/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git/common/board_f.c:144:46: error: 'CONFIG_BAUDRATE' undeclared (first use in this function)
  gd->baudrate = getenv_ulong("baudrate", 10, CONFIG_BAUDRATE);
                                              ^
/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git/common/board_f.c:144:46: note: each undeclared identifier is reported only once for each function it appears in
/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git/scripts/Makefile.build:280: recipe for target 'common/board_f.o' failed
make[2]: *** [common/board_f.o] Error 1
/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git/Makefile:1210: recipe for target 'common' failed
make[1]: *** [common] Error 2
make[1]: Leaving directory '/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/build'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/git'
WARNING: exit code 1 from a shell command.
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/dino/PetaLinuxProjects/TopLevelScripted/project/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2016.07-xilinx+gitAUTOINC+0b94ce5ed4-r0/temp/log.do_compile.31657)

It looks like some changes the in the Xilinx repositories is triggering this error.

Has anyone faced similar issues? May this be realted to changes and lack of retro compatibility in some of the Xilinx updates?

Just guessing, any other help is more than welcome.

0 Kudos