[prev in list] [next in list] [prev in thread] [next in thread]
List: mozilla-builds
Subject: autoconf & FreeBSD again
From: Vadim Chekan <vadim () gc ! lviv ! ua>
Date: 1998-11-27 18:39:58
[Download RAW message or body]
Hello!
I again can't link because of incorrect ld parameters.
I have FreeBSD-2.2.7
gcc -shared -Wl,-h -Wl,libdbm.so.1.0 -o libdbm.so.1.0 ./db.o
./h_bigkey.o ./h_fu
nc.o ./h_log2.o ./h_page.o ./hash.o ./hash_buf.o ./hsearch.o ./memmove.o
./mktem
p.o ./ndbm.o ./snprintf.o ./strerror.o ./nsres.o
ld: invalid command option `-h'
gmake[1]: *** [libdbm.so.1.0] Error 1
gmake[1]: Leaving directory
`/usr/local/src/Netscape/mozilla/obj/dbm/src'
gmake: *** [libs] Error 2
This help to me:
Index: configure.in
===================================================================
RCS file: /cvsroot/mozilla/configure.in,v
retrieving revision 1.84
diff -u -p -r1.84 configure.in
--- configure.in 1998/11/25 20:03:57 1.84
+++ configure.in 1998/11/27 18:45:48
@@ -146,6 +146,8 @@ alpha-*-linux*)
*-freebsd*)
if test -z "$GNU_CC"; then
DSO_LDOPTS="-Bshareable $DSO_LDOPTS"
+ else
+ DSO_LDOPTS="-shared"
fi
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo
aout` = >
DLL_SUFFIX="so"
Vadim Chekan.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic