[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in libtool?
From: |
richard lucassen |
Subject: |
bug in libtool? |
Date: |
Thu, 06 Sep 2001 21:47:54 +0200 |
Please don't shoot me, I'm not a programmer.
i586, 80MB, P1-133, RedHat-6.2, all security updates installed.
I tried to compile openldap with rpm (src.rpm), but compiling stopped at
(libtool-1.3):
libtool --only-static --mode=compile gcc blahblah...
I found out that --only-static wasn't right:
$ libtool --mode=compile --help
Usage: libtool [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
Compile a source file into a libtool library object.
This mode accepts the following additional options:
-o OUTPUT-FILE set the output file name to OUTPUT-FILE
-static always build a `.o' file suitable for static linking
COMPILE-COMMAND is a command to be used in creating a `standard' object
file
from the given SOURCEFILE.
The output file name is determined by removing the directory component
from
SOURCEFILE, then substituting the C source code suffix `.c' with the
library object suffix, `.lo'.
Try `libtool --help' for more information about other modes.
So I tried -static, but compiling stopped at the same error. I tried to
invoke libtool directly:
$ libtool -static --mode=compile
libtool: unrecognized option `-static'
Try `libtool --help' for more information.
$ libtool -o OUTPUT-FILE --mode=compile
libtool: unrecognized option `-o'
Try `libtool --help' for more information.
I tried the newest libtool-1.4, but it's the same story. Is this a bug?
Richard.
--
___________________________________________________________________
Unix is very simple, but it takes a genius to understand the
simplicity (Dennis Ritchie)
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht, Linux 2.4.9 RedHat 6.2 |
| The Netherlands i686/300MHz/256MB |
| Public key: http://www.xs4all.nl/~pe1bbf/pubkey.asc |
+------------------------------------------------------------------+
- bug in libtool?,
richard lucassen <=