This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
unrecognized option `-dynamic'
- From: "Daniel Corbe" <daniel dot junkmail at gmail dot com>
- To: binutils at sourceware dot org
- Cc: libtool at gnu dot org
- Date: Fri, 16 Jun 2006 16:32:36 -0400
- Subject: unrecognized option `-dynamic'
Hello,
I apologize for cross-posting but I don't know where I should be
loking to resolve this issue.
I'm attempting to rebuild libtool and binutils on Mac OS X 10.4.6 and
I'm running into the following issue:
(libtool):
jomama:/usr/local/src/libtool root# make
make all-recursive
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o
libltdl/dlopen.la -module -avoid-version libltdl/loaders/dlopen.lo
-ldl
libtool: link: rm -fr libltdl/.libs/dlopen.a
libtool: link: ar cru libltdl/.libs/dlopen.a libltdl/loaders/.libs/dlopen.o
ranlib: unrecognized option `-q'
Try `ranlib --help' for more information.
ar: internal ranlib command failed
make[2]: *** [libltdl/dlopen.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
(binutils):
/bin/sh .././libiberty/../mkinstalldirs /usr/lib
/usr/local/bin/install -c -m 644 ./libiberty.a /usr/lib/./libiberty.an
( cd /usr/lib ; ranlib ./libiberty.an )
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
ranlib: warning: cannot infer operation mode from `./libiberty.an'
ranlib: you must specify a MODE
Try `ranlib --help' for more information.
make[1]: *** [install_to_libdir] Error 1
make: *** [install-libiberty] Error 2
ranlib --dynamic and libtool --dynamic causes some of my other
software builds to fail.
Is there a process I should be following to build both of these apps correctly?
libtool is from CVS today and binutils is 2.16
Thanks.
-Daniel