On Mon, 01 Nov 2004 13:51:05 -0500 [EMAIL PROTECTED] wrote:
CRC> [...] when I try to link
CRC> against static libraries, I get an error. I've modified the Makefile link
CRC> line for my client to:
CRC>
CRC> $(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) \
CRC> -static -lnetsnmp -dynamic -ldl -lcrypto -lm
I don't know what compiler/linker you are using, but this works for me:
-Wl,-Bstatic -lnetsnmp -Wl,-Bdynamic
--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users