>
> Please see the FAQ entry
> How can I compile the project to use static linking?
>
> Dave
>
Thank you for pointing that out. I must have missed that, the first time I
read the FAQ. However, even with that flag, I can't seem to get my final
executable to run. I get this error,
# snmpd -f -d -DALL
snmpd: can't load library 'libnetsnmpagent.so.25'
#
Which, shouldn't be happening (above running on my MIPS board). For
reference, here is the "configure" line I'm using,
CPPFLAGS="$(INCLUDE)" LDFLAGS="-L$(SYS_INSTDIR) -Bstatic" LIBS="$(LIB)"
CC="/local/toolchain/mipssde/mips-linux-uclibc/bin/mips-linux-gcc"
./configure --host=mips-linux --with-endianness=big --disable-mibs
--disable-applications --disable-manuals --disable-scripts
--disable-mib-loading --disable-embedded-perl --disable-perl-cc-checks
--without-rpm --with-out-mib-modules="ucd_snmp snmpv3mibs agent_mibs agentx
target disman/event disman/schedule notification-log-mib notification host
utilities" --with-mib-modules="utilities/execute TEST-MIB"
As you can see, I'm passing "Bstatic" as part of the LDFLAGS variable. I've
even confirmed that the word "Bstatic" appears in the Makefiles (LDFLAGS =
-Bstatic)!
I'm not sure how to proceed to debug this. :(
-Abraham Varricatt
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders