Cannot rebuild opxml, undefined reference to dlopen [message #650202] |
Sat, 22 January 2011 18:03  |
Eclipse User |
|
|
|
Hi all
In $oprofiledir/natives/linux/opxml, make returns the following
g++ -o opxml opxml.o stable.o oprofiledb.o symbol.o sample.o session.o samplefile.o imageheader.o opinfo.o xmlfmt.o xmlbuf.o xmltag.o sevent.o profileimage.o \
-lop -lodb -loputil++ -loputil -lbfd -liberty
/usr/lib/libbfd.a(plugin.o): In function `try_load_plugin':
(.text+0x3f4): undefined reference to `dlopen'
/usr/lib/libbfd.a(plugin.o): In function `try_load_plugin':
(.text+0x417): undefined reference to `dlsym'
/usr/lib/libbfd.a(plugin.o): In function `try_load_plugin':
(.text+0x4a3): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [opxml] Error 1
/usr/lib/libbfd.a exists and belongs to binutils. In my eclipse project I regularly use dlopen, dlsym, and dlclose, have not had a problem compiling said binaries/libraries or using them.
Would appreciate advise/suggestions on what could be wrong.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04770 seconds