Missing library

Robe robe at prodal.telemar.cu
Mon Mar 26 13:18:03 UTC 2007


Hi,

I've read the article "libelf by Example" written by "
Joseph Koshy". When I try to compile the example with the command he
suggest:

g++ CodeGenerator.i386.cpp -lelf

I get the following error:

/tmp/ccpfmJ4D.o: In function `elf_setshstrndx(Elf*, unsigned int)':
CodeGenerator.i386.cpp:(.text+0x31): undefined reference to
`_libelf_setshstrndx(Elf*, void*, int, unsigned int)'

Does anybody know in which library reside that function?

Thanx,

Robe.




More information about the freebsd-hackers mailing list