Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16612 Discussions

Arria 10 OpenCL BSP Linux source build question

Altera_Forum
Honored Contributor II
1,383 Views

HI everyone 

I got arria 10 OpenCL BSP for 15.1 from FAE,and I tried to compile official source code but have error message as below 

 

lib/libpkg_editor.a(pkg_editor.o): In function `add_required_parts': 

pkg_editor.c:(.text+0x16c4): undefined reference to `elfx_update_shstrndx' 

collect2: ld returned 1 exit status 

make[2]: *** [libaltera_a10_ref_mmd.so] Error 1 

make[2]: Leaving directory `/home/tom/altera_pro/15.1/hld/board/a10_ref/source/host/mmd' 

make[1]: *** [mmd] Error 2 

make[1]: Leaving directory `/home/tom/altera_pro/15.1/hld/board/a10_ref/source/host' 

make: *** [host] Error 2 

 

I compile system is on Ubuntu 12.04 64 bit. Can anyone help me! Thank you!! 

 

http://www.alteraforum.com/forum/attachment.php?attachmentid=12509&stc=1
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
362 Views

Check if libelf is on your ld_library_path. Also, you should have the .a for the elf library. That would be a start. I had similar issues with a CycloneV, but don't have access to it right now. I can look up the details for a cmake file if the above do not work.

0 Kudos
Altera_Forum
Honored Contributor II
362 Views

I have a similar problem. Despite specifying libelf.so to the linker, symbol elfx_update_shstrndx is not found. 

 

Did you find a fix for your problem?
0 Kudos
Reply