Re: HOST-RESOURCES-MIB::hrDeviceStatus

"Jimbo Cham" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have tried various location changes for lsmartctl and it JUST wont link.

Need some fresh direction

- Muni


On 6/16/07, Dave Shield <[email protected]> wrote:
>
> On 16/06/07, Jimbo Cham <[email protected]> wrote:
> > Before I mess with teh configure.in file I have to get it to compile and
> > link. I modified the makefile and all compiles but I just cant get the
> thing
> > to link. This is the snippet ..
> > gcc -g .... snmpd.o -lsmartctl -lstdc++
> > ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so ...
>
>
> > ./.libs/libnetsnmpmibs.so: undefined reference to `deviceopen'
> > ./.libs/libnetsnmpmibs.so: undefined reference to `guess_device_type'
> > collect2: ld returned 1 exit status
>
> Just a guess, but you could try listing the smartctl and stdc++ libraries
> *after* the netsnmp libraries, in the compilation.
>   If you add them to the Makefile in the same way as (say) the selinux
> library is specified, then this might help the linking process.
>
> Dave
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.