Re: Link problem with 5.7.1 and g++
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGaNwXzucMaVzS3a5CJPH3ZL-sSv=z1Ad6y+wz+f1=1_xw@mail.gmail.com> |
2011/12/2 Elicia Syson <[email protected]>: > We noticed the snmpd rule changed in the > snmp/masteragent/netsnmp/net-snmp/agent/Makefile.in file. > > net-snmp-5.4.1 Makefile.in: > snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG) > $(LINK) $(CFLAGS) ${LDFLAGS} -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${OUR_AGENT_LIBS} > > net-snmp-5.7.1 Makefile.in: > snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(MIBLIB) $(LIBTARG) > $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS} > Could you please enlighten us as to why this snmpd rule change was made, and > why the 5.7.1 rule does not work for us? I've just checked the code in the tarballs we released, and both 5.4.1 and 5.7 have the same structure in the agent/Makefile.in rule - with LDFLAGS coming after LOCAL_LIBS in both cases. So the code you were using before must have been from another source, and this change must have been introduced by the people that put it together. It's certainly not a change that we have introduced, and the (broken (for you)) version is what we have shipped for many many years. Dave ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ 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