Menu

#1913 5.4.1 make fails on Solaris 10

solaris
closed
nobody
5
2012-11-08
2007-12-22
Anonymous
No

rl4518@att.com

Attempting to compile net-snmp-5.4.1 from source (./configure --with-perl-modules)

Failed miserably and can't seem to get beyond these mibgroup errors. I've tryed commenting them out of the
makefile, but seems to cause errors elsewhere. in this mibgroup/ucd-snmp directory it doesn't appear that
all of the *.c fileseven compiled to *.o files ... but I'm not a Makefile expert and can't figure out what it's doing.

Can you help?

thanks
ray

system info:
uname -a
SunOS 5.10 Generic_118833-17 sun4u sparc SUNW,Ultra-Enterprise
make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for sparc-sun-solaris2.10
gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --
enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6

Here are the last few lines of make that failed .....

/bin/sh ../libtool --mode=link gcc -O2 -mcpu=ultrasparc -mtune=ultrasparc -Usolaris2 -Dsolaris2=so
laris2 -rpath /usr/local/lib -version-info 16:0:1 -o libnetsnmpmibs.la mibgroup/snmpv3/snmpEngine.lo
...
mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.lo \ mib_modules.lo auto_nlist.lo helpers/libnetsnmphelpers.la libnetsnmpagent.la
../snmplib/libnetsnmp.la -ladm
libtool: link: `mibgroup/ucd-snmp/pass_persist.lo' is not a valid libtool object
make[1]: *** [libnetsnmpmibs.la] Error 1
make[1]: Leaving directory `/usr/local/src/objcode/net-snmp-5.4.1/agent'
make: *** [subdirs] Error 1

$ cat pass_persist.lo
...................................................
# Name of the non-PIC object.
non_pic_object='pass_persist.o'

...................................................

same complaint for:
mibgroup/ucd-snmp/pass_persist.lo \ mibgroup/ucd-snmp/disk.lo \ mibgroup/ucd-snmp/loadave.lo \ mibgroup/agent/extend.lo \ mibgroup/ucd-snmp/dlmod.lo \ mibgroup/ucd-snmp/proxy.lo \ mibgroup/notification/snmpNotifyTable.lo \ mibgroup/notification-log-mib/notification_log.lo \ mibgroup/target/snmpTargetAddrEntry.lo \ mibgroup/target/snmpTargetParamsEntry.lo \ mibgroup/target/target.lo \ mibgroup/disman/event/mteTrigger.lo \ mibgroup/disman/event/mteTriggerConf.lo \ mibgroup/disman/event/mteTriggerExistenceTable.lo \ mibgroup/kernel_sunos5.o \ mibgroup/mibII/var_route.lo \ mibgroup/mibII/tcpTable.lo \ mibgroup/mibII/udpTable.lo \ mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.lo \

Discussion

  • Nobody/Anonymous

    make output

     
  • Thomas Anders

    Thomas Anders - 2007-12-23

    Logged In: YES
    user_id=848638
    Originator: NO

    Can you please start again from scratch by unpacking the source to a new directory, run

    ./configure --with-perl-modules && make

    and report back? FWIW, this works fine for me with 5.4.1 on Solaris 10.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 180 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.