net-snmp-5.4.1.2

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,

I am trying more than one day to compile net-snmp 5.4.1.2 on my sun box
5.8 with gcc 3.4.6. This is working almost fine except I can not compile
gcc libraries statically. I already tried lots od things but always same
result.
I tried lot of posts, warnings, notices I have read on the net but
nothing that can help me. Sure this problem is really stupid but this
does not work. 

Below what a ldd gives me for snmpget .. and just after my last version
of compile script .. maybe you get an idea ??

# ldd snmpget
        libnetsnmp.so.15 =>      /opt/snmp/lib/libnetsnmp.so.15
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libcrypto.so.0.9.8 =>    /usr/local/ssl/lib/libcrypto.so.0.9.8
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libelf.so.1 =>   /usr/lib/libelf.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

---

PATH=/usr/ccs/bin:/bin:/usr/bin:/usr/local/bin
/usr/bin/env  \
    PATH=$PATH \
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib \
    CC="/usr/local/bin/gcc -static-libgcc" \
    CXX="/usr/local/bin/g++ -static-libgcc" \
    CFLAGS="-O2 -pipe" \
    CXXFLAGS="$CFLAGS" \
    CPPFLAGS="-I/usr/local/include
-I/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/include
-I/usr/local/ssl/include -I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE"
\
    LDFLAGS="-L/usr/lib:/usr/local/lib:/usr/local/ssl/lib
-R/usr/lib:/opt/snmp/lib" \
    AUTOCONF="/usr/local/bin/autoconf" \
    AUTOHEADER="/usr/local/bin/autoheader" \
    AUTOIFNAMES="/usr/local/bin/ifnames" \
    AUTOM4TE="/usr/local/bin/autom4te" \
    AUTORECONF="/usr/local/bin/autoreconf" \
    AUTOSCAN="/usr/local/bin/autoscan" \
    AUTOUPDATE="/usr/local/bin/autoupdate" \
    SHELL="/bin/sh" \
    CONFIG_SHELL="/bin/sh" \
        ./configure \
          --prefix=/opt/snmp \
          --mandir=/opt/snmp/man \
          --infodir=/opt/snmp/info/ \
          --sysconfdir=/opt/snmp/config \
          --with-logfile=/opt/snmp/var/log/snmpd.log \
          --with-persistent-directory=/opt/snmp/var/snmp \
          --enable-static \
          --enable-shared \
          --enable-internal-md5 \
          --with-mib-modules="host disman/event-mib smux mibII/tcpTable
ucd-snmp/diskio" \
          --with-default-snmp-version=3 \
          --enable-snmpv1 \
          --enable-snmpv2c  \
          --with-openssl=/usr/local/ssl \
          --with-dummy-values \
          --disable-embedded-perl \
          --with-perl-modules \
          --disable-ipv6 \
          --without-libwrap \
          --build=sparc64-sun-solaris2.8

/usr/local/bin/make
/usr/local/bin/make install

many thks for your help.
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.