- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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=1Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page