Don't use net-snmp-config at the time of creating object files
use it while creating libraries and binaries
you are trying to link the libraries to object file ...
On Thu, Feb 4, 2010 at 5:09 PM, astal vista <astal.vista...@gmail.com>wrote:
> i have install net-snmp package on RHEL5.3.
>
> everything is fn. But programmers have written some code on net-snmp. They
> want to comile it. But they try to compile it with following command, we are
> getting some errors like this below:
>
> #make snmp-demo
>
> gcc -I. `net-snmp-config --cflags` -c -o snmp-demo.o snmp-demo.c
> gcc: -lcrypto: linker input file unused because linking not done
> gcc -I. `net-snmp-config --cflags` -c -o cap001a.o cap001a.c
> gcc: -lcrypto: linker input file unused because linking not done
> gcc -I. `net-snmp-config --cflags` -c -o cap001b.o cap001b.c
> gcc: -lcrypto: linker input file unused because linking not done
> gcc -o snmp-demo snmp-demo.o cap001a.o cap001b.o `net-snmp-config
> --agent-libs`
>
> what might be the problem.
>
>
> can anyone help me in giving solution to this problem.
>
>
> Thanks in Advance.
>
> Raja
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
--
Rakesh P. Zingade
+919420626099
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users