> I have cross-compiled my master agent with options > like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared" > given with configure. Due to this, my master agent does not make files like > libnetsnmpagent.so in the /home/tina/snmpdbinary/lib folder. But when I try > to cross compile my subagent (by making changes in its make file), it > generates error as: > /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid > operation > collect2: ld returned 1 exit status > make: ***[example-demon] Error 1 > > This may be because it tries to read the file from the location > /usr/local/lib which contains libnetsnmpagent.so as a result from local > compilation.
Your best bet is probably to remove the local installation completely before trying to compile the subagent. (Or at least to remove the shared libraries) Dave ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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
