Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@avante.WPI.EDU (John Stoffel)
Subject: Re: help with compiling perl5 under Ultrix: dbm problem
Date: 1995/07/24	[thread overview]
Message-ID: <JOHN.95Jul24123929@avante.WPI.EDU> (raw)
In-Reply-To: 3uu1r7$fb@larch.cc.swarthmore.edu

>>>>> "Alexandre" == Alexandre Vorobiev <sasha@raptor.sccs.swarthmore.edu> writes:
In article <3uu1r7$fb@larch.cc.swarthmore.edu> sasha@raptor.sccs.swarthmore.edu (Alexandre Vorobiev) writes:

Alexandre> I have a DECstation 5000/133 running Ultrix 4.2a.  I also
Alexandre> have perl5.001 distribution, the latest patch level.

Alexandre> Compiles fine until the very end.  Here is the ld error
Alexandre> that I get:

Alexandre> gcc -o perl perlmain.o libperl.a
Alexandre> lib/auto/DynaLoader/DynaLoader.a lib/auto/DB_File/DB_File.a
Alexandre> lib/auto/Fcntl/Fcntl.a lib/auto/NDBM_File/NDBM_File.a
Alexandre> lib/auto/ODBM_File/ODBM_File.a lib/auto/POSIX/POSIX.a
Alexandre> lib/auto/SDBM_File/SDBM_File.a lib/auto/Socket/Socket.a
Alexandre> `cat ext.libs` -ldbm -ldb -lm -lc /usr/lib/cmplrs/cc/ld:

Alexandre> /lib/libc.a(ndbm.o): dbm_open: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_close: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_fetch: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_firstkey: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_nextkey: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_delete: multiply defined
Alexandre> /lib/libc.a(ndbm.o): dbm_store: multiply defined
Alexandre> collect2: ld returned 1 exit status

Try removing the -ldb from the line and compiling again.  That should
get the software to compile, but it may not pass all the tests then.
How did you configure perl5.001m on your system?  Did you just do:

	./Configure -des

and let it figure out what default settings to use, or did you answer
the questions by hand?  If so, try doing a 'make clobber' then the
above Configure command and make again.

John

         John F. Stoffel - john@wpi.edu - 508-831-5512 - FL 111F
 Workstation Specialist - Worcester Polytechnic Institute College Computer Ctr.
			Kill your television




      reply	other threads:[~1995-07-24  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-23  4:00 help with compiling perl5 under Ultrix: dbm problem Alexandre Vorobiev
1995-07-24  4:00 ` John Stoffel [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox