Hi All,

  I have a small question. 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.

  Can I give the same options as above for suppressing the extra files in
the
  cross compilation of subagent also? If yes, please tell me how to do that
or
  please correct me if my concept is not ok.

  I am attaching my Makefile for the subagent for your reference.

   Regards!
  Tina Agarwal

Attachment: Makefile.dat
Description: Binary data

Reply via email to