that was part of it.....was using a gcc that wasnt using a gnu
linker.....couldnt make it work, but when i used the gcc that used a
gnu-linker then the make went further..but now im getting..

creating libnetsnmpagent.la
(cd .libs && rm -f libnetsnmpagent.la && ln -s ../libnetsnmpagent.la
libnetsnmpagent.la)
        : libnetsnmpagent.la
        /bin/sh ../libtool  --mode=compile gcc -I../include
-I../include  -I.. -I./.. -I./../snmplib  -I. -I. -I./mibgroup
-Imibgroup  -g -O2 -Dhpux11  -c -o snmpd.lo snmpd.c
rm -f .libs/snmpd.lo
gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I.
-I./mibgroup -Imibgroup -g -O2 -Dhpux11 -c snmpd.c  -fPIC -DPIC -o
.libs/snmpd.lo
gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I.
-I./mibgroup -Imibgroup -g -O2 -Dhpux11 -c snmpd.c -o snmpd.o
>/dev/null 2>&1
mv -f .libs/snmpd.lo snmpd.lo
        /bin/sh ../libtool  --mode=link gcc -g -O2 -Dhpux11  -o snmpd
snmpd.lo  -L/usr/depot/openssl/current/lib  libnetsnmpagent.la 
libnetsnmpmibs.la helpers/libnetsnmphelpers.la 
../snmplib/libnetsnmp.la -ldl -lm
gcc -g -O2 -Dhpux11 -o .libs/snmpd snmpd.o 
-L/usr/depot/openssl/current/lib ./.libs/libnetsnmpagent.sl
./.libs/libnetsnmpmibs.sl helpers/.libs/libnetsnmphelpers.sl
../snmplib/.libs/libnetsnmp.sl -ldl -lm  -Wl,--rpath
-Wl,/usr/depot/net-snmp/5.1.1/lib
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
snmpd.o(.text+0x3c): In function `usage':
/home/obtadmin/source-code/build/uncompressed-files/net-snmp-5.1.1/agent/snmpd.c:271:
undefined reference to `netsnmp_get_version'
*** Error exit code 1

Stop.
*** Error exit code 1





On Wed, 22 Dec 2004 14:50:52 -0500, Users Robert Story
<[EMAIL PROTECTED]> wrote:
> On Fri, 17 Dec 2004 15:45:40 -0800 Mark wrote:
> M> ./configure --with-libs=-lnm --with-cc=gcc
> M>
> M> and when i try to make i get
> M>
> M> /bin/sh ../libtool  --mode=link gcc -g -O2 -Dhpux11  -rpath
> M> /usr/local/lib -version-info 6:1:1 -o libnetsnmp.la
> M> rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
> M> /usr/ccs/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o
> M> .libs/libnetsnmp.sl.6.1   -lc
> 
> I'm guessing that this is because you are compiling with gcc, but using the
> linker in /usr/ccs/bin. Try setting up your path so that the gcc linker is
> found first.
> 
> --
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
> 
> You are lost in a twisty maze of little standards, all different.
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.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

Reply via email to