Hello
I tried to add my library with the options --with-ldflags=-L/path/to/dir
--with-libs=fsprpc_clnt.a
It didn't work and the make step failed, it says that it doesn't find the
file. As said in the previous message, the ./configure find the file but not
the make...
I searched in the mailing list and found a post where it is said to add the
library declaration in the file agent/Makefile.in in the line
OUR_AGENT_MIBS. So I simply write on this line fsprpc_clnt.a.
It seems better but right now I catch this error during the make process:
/usr/bin/ld: fsprpc_clnt.a(fsprpc_c.o): Relocations in generic ELF (EM: 20)
fsprpc_clnt.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [snmpd] Error 1
I'm not sure how to declare my library on the Makefile.in... Is it simply
the name of the library or something else??
Thanks for the help!
On 7/11/07, Thomas Anders <[EMAIL PROTECTED]> wrote:
Thomas Anders wrote:
> If the library isn't in a standard location, add
> --with-ldflags=/path/to/dir .
Oops, rather: --with-ldflags=-L/path/to/dir
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders