Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 11:58:33 -0500
From:      Robe <robe@prodal.telemar.cu>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Missing library
Message-ID:  <1174755513.5742.10.camel@robe-ubuntu>

next in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1174755513.5742.10.camel>