Problem compiling v2.5.2 under Solaris 9 on Netra t105 system

Craig Dewick kralizec.craig at gmail.com
Thu Aug 25 21:23:24 UTC 2011


Attempting to upgrade from one of the v2.4 releases to v2.5.2.

I used the exact same configure script options as I did with the 2.4 install
I'm running currently, namely:


sh ./configure --prefix=/news --enable-uucp-rnews --enable-libtool \
        --with-perl --with-python --with-sendmail=/usr/lib/sendmail \
        --with-log-compress=gzip


and then attempted to do 'make update' to build the new version with the
intention of replacing the current one.

The build failed when linking libinn with the following errors:


make[1]: Entering directory `/home/azwan/inn-2.5.2/lib'
../libtool --mode=link gcc -L/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib
-R/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib -o libinn.la setproctitle.lo
snprintf.lo asprintf.lo setenv.lo  argparse.lo buffer.lo cleanfrom.lo
clientactive.lo clientlib.lo commands.lo concat.lo conffile.lo confparse.lo
daemonize.lo date.lo dbz.lo defdist.lo dispatch.lo fdflags.lo fdlimit.lo
getfqdn.lo getmodaddr.lo hash.lo hashtab.lo headers.lo hex.lo innconf.lo
inndcomm.lo list.lo localopen.lo lockfile.lo makedir.lo md5.lo messageid.lo
messages.lo mmap.lo network.lo newsuser.lo nntp.lo numbers.lo qio.lo
radix32.lo readin.lo remopen.lo reservedfd.lo resource.lo sendarticle.lo
sendpass.lo sequence.lo timer.lo tst.lo uwildmat.lo vector.lo wire.lo
xfopena.lo xmalloc.lo xsignal.lo xwrite.lo -lresolv -lsocket -lnsl \
    -rpath /news/lib -version-info 2:0:0
libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,libinn.so.2 -o
.libs/libinn.so.2.0.0  .libs/setproctitle.o .libs/snprintf.o
.libs/asprintf.o .libs/setenv.o .libs/argparse.o .libs/buffer.o
.libs/cleanfrom.o .libs/clientactive.o .libs/clientlib.o .libs/commands.o
.libs/concat.o .libs/conffile.o .libs/confparse.o .libs/daemonize.o
.libs/date.o .libs/dbz.o .libs/defdist.o .libs/dispatch.o .libs/fdflags.o
.libs/fdlimit.o .libs/getfqdn.o .libs/getmodaddr.o .libs/hash.o
.libs/hashtab.o .libs/headers.o .libs/hex.o .libs/innconf.o .libs/inndcomm.o
.libs/list.o .libs/localopen.o .libs/lockfile.o .libs/makedir.o .libs/md5.o
.libs/messageid.o .libs/messages.o .libs/mmap.o .libs/network.o
.libs/newsuser.o .libs/nntp.o .libs/numbers.o .libs/qio.o .libs/radix32.o
.libs/readin.o .libs/remopen.o .libs/reservedfd.o .libs/resource.o
.libs/sendarticle.o .libs/sendpass.o .libs/sequence.o .libs/timer.o
.libs/tst.o .libs/uwildmat.o .libs/vector.o .libs/wire.o .libs/xfopena.o
.libs/xmalloc.o .libs/xsignal.o .libs/xwrite.o
-R/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib
-L/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib -lresolv -lsocket -lnsl -lc

ld: fatal: symbol `skip_fws' is multiply-defined:
        (file .libs/date.o type=FUNC; file .libs/headers.o type=FUNC);
ld: fatal: symbol `IsValidHeaderName' is multiply-defined:
        (file .libs/date.o type=FUNC; file .libs/headers.o type=FUNC);
ld: fatal: symbol `skip_cfws' is multiply-defined:
        (file .libs/date.o type=FUNC; file .libs/headers.o type=FUNC);
ld: fatal: File processing errors. No output written to
.libs/libinn.so.2.0.0
collect2: ld returned 1 exit status
make[1]: *** [libinn.la] Error 1
make[1]: Leaving directory `/home/azwan/inn-2.5.2/lib'
make: *** [update] Error 1


Given that v2.5.2 has been released for quite a while I'm hoping someone may
have come across this issue or worked out what's causing it. The system
hasn't had any software package updates for well over 2 years so I'm trying
to build 2.5.2 with the same set of GNU and Sun-supplied tools as I've used
to build the previous install of inn and lots of other 3rd-party packages.

Craig.

-- 
SUN RIPENED KERNELS (RIP) - http://www.sunrk.com - Get back on track
at the SunShack - Web: http://www.sunshack.org - Cobalt Users mailing list
Web: http://lios.apana.org.au/mailman/listinfo/cobalt_users
Trading on Ebay as 'zonavar' and 'sunrk'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/inn-bugs/attachments/20110826/90b53838/attachment.html>


More information about the inn-bugs mailing list