Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* help with compiling perl5 under Ultrix: dbm problem
@ 1995-07-23  4:00 Alexandre Vorobiev
  1995-07-24  4:00 ` John Stoffel
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Vorobiev @ 1995-07-23  4:00 UTC (permalink / raw)


[ Article crossposted from comp.lang.perl.misc ]
[ Author was Alexandre Vorobiev ]
[ Posted on 22 Jul 1995 19:51:16 GMT ]


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

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

____________________________________________
gcc    -o perl perlmain.o libperl.a lib/auto/DynaLoader/DynaLoader.a
lib/auto/DB
_File/DB_File.a lib/auto/Fcntl/Fcntl.a lib/auto/NDBM_File/NDBM_File.a
lib/auto/O
DBM_File/ODBM_File.a lib/auto/POSIX/POSIX.a lib/auto/SDBM_File/SDBM_File.a
lib/a
uto/Socket/Socket.a `cat ext.libs` -ldbm -ldb -lm -lc
/usr/lib/cmplrs/cc/ld:
/lib/libc.a(ndbm.o): dbm_open: multiply defined
/lib/libc.a(ndbm.o): dbm_close: multiply defined
/lib/libc.a(ndbm.o): dbm_fetch: multiply defined
/lib/libc.a(ndbm.o): dbm_firstkey: multiply defined
/lib/libc.a(ndbm.o): dbm_nextkey: multiply defined
/lib/libc.a(ndbm.o): dbm_delete: multiply defined
/lib/libc.a(ndbm.o): dbm_store: multiply defined
collect2: ld returned 1 exit status
______________________________________________

What should I do about that?

Thanks,
Sasha / sasha@cs.swarthmore.edu




--
   Alex Vorobiev (Sasha)                          Raptor sysadmin
   sasha@raptor.swarthmore.edu                 Swarthmore College
   ______________________________________________________________
   <a href="http://sccs.swarthmore.edu/~sasha/">Alex Vorobiev</a>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help with compiling perl5 under Ultrix: dbm problem
  1995-07-23  4:00 help with compiling perl5 under Ultrix: dbm problem Alexandre Vorobiev
@ 1995-07-24  4:00 ` John Stoffel
  0 siblings, 0 replies; 2+ messages in thread
From: John Stoffel @ 1995-07-24  4:00 UTC (permalink / raw)


>>>>> "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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-07-24  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-23  4:00 help with compiling perl5 under Ultrix: dbm problem Alexandre Vorobiev
1995-07-24  4:00 ` John Stoffel

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