From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9ecb51637f1351a8 X-Google-Attributes: gid1164f8,public From: john@avante.WPI.EDU (John Stoffel) Subject: Re: help with compiling perl5 under Ultrix: dbm problem Date: 1995/07/24 Message-ID: #1/1 X-Deja-AN: 106867041 17: 45:11 GMT references: <3uu1r7$fb@larch.cc.swarthmore.edu> organization: Worcester Polytechnic Institute newsgroups: comp.sys.dec >>>>> "Alexandre" == Alexandre Vorobiev 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