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.


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to