07-02-2013 02:52 PM
I am trying to compile a xilkernel code in sdk 14.6. I get the following error when I compile the project. Could anyone tell me the cause of this error. Is it because Xilkernel libraries are not included? I have attached the MSS file.
'Building target: gbgfcd.elf'
'Invoking: MicroBlaze gcc linker'
mb-gcc -Wl,-T -Wl,../src/lscript.ld -L../../gbgfcd_bsp/microblaze_0/lib -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.b -mno-xl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "gbgfcd.elf" ./src/helloworld.o ./src/platform.o -lxilkernel
c:/xilinx/14.6/ise_ds/edk/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/4.6.4/../../../../microblaze-xilinx-elf/bin/ld.exe: cannot find -lxilkernel
collect2: ld returned 1 exit status
make: *** [gbgfcd.elf] Error 1
07-02-2013 10:45 PM
Can you please check in the SDK settings to make sure that the Software Platform inferred flags is set to "lxilkernel" as shown here in the snapshot attached?
07-03-2013 10:31 AM
That is strange to see the error. Can you try to compile the UG758 design to confirm if this is a design specific issue?