On Thu, Aug 07, 2003, Steffen Weinreich wrote: > I am currently upgrading OpenPKG from 1.2 to 1.3 and I stumbled over a > build error in snmp-5.0.8-1.3.0 on my Sol8 maschine > > <--snip --> > /bin/sh ../libtool --silent --mode=link /opt/ic3s/bin/cc > -I/opt/ic3s/include/rpm -O2 -pipe -Dsolaris > 2 -I/opt/ic3s/include/rpm -o snmpd snmpd.lo -L/opt/ic3s/lib > -L/opt/ic3s/lib -L/opt/ic3s/lib libne > tsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la > ../snmplib/libnetsnmp.la -ldl -lkvm -l > rpm -lrpmio -lrpmpopt -lrpmbz2 -lrpmz -lrpmio -lrpmpopt -lrpmbz2 -lrpmz > -lrpmpopt -lbz2 -lcrypto -l > kstat -lelf -lm -lfsl -lsocket -lnsl -ladm > /opt/ic3s/lib/librpmio.a(stubs.o)(.text+0x3e4): In function `setenv': > : multiple definition of `setenv' > ../snmplib/.libs/libnetsnmp.a(system.o)(.text+0x1f8): first defined here > /opt/ic3s/bin/ld: Warning: size of symbol `setenv' changed from 124 in > Hello Steffen,
Although I can't test this to be sure, I believe that the snmp build is mismatching the link symbols from librpmio with its compile definitions. As you see, you have both librpmio.a in /opt/ic3s/lib (the software companion?), and the lib directory of your OpenPKG instance. Today's package should take care of that, so please build it on your machine and then report your results. If it turns out to solve the problem then I'll roll an release 1.3 update package and upload it. For now I've only made a current package to ensure that the new logic solves the problem. Get it? rpm --rebuild ftp://ftp.openpkg.org/current/SRC/snmp-5.0.8-20030807.src.rpm -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable & Wireless Telecommunications Services GmbH
pgp00000.pgp
Description: PGP signature
