Making GnuPg w/Cygwin
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
Thu Nov 1 16:24:01 CET 2001
On Wed, Oct 31, 2001 at 05:42:26PM -0500, halpin at qwpage.com wrote:
> Problem 1
> ----------------
[...]
> In the MAKEFILE I see:
>
> <big snip>
> RANLIB =
> <big snip>
> libzlib.a: $(libzlib_a_OBJECTS) $(libzlib_a_DEPENDENCIES)
> -rm -f libzlib.a
> $(AR) cru libzlib.a $(libzlib_a_OBJECTS) $(libzlib_a_LIBADD)
> $(RANLIB) libzlib.a
>
> If I remove the last line ($(RANLIB) libzlib.a, I can get all the way through. Is
> this the correct thing to do? (There is a ranlib in my cygwin bin directory.)
You might have a ranlib, but it seems configure didn't find it. Check you config.log
and config.status file, please, and see if you can find out why RANLIB is
not set to your ranlib binary (this sounds like a setup problem, or a
problem with the configure check).
> Problem 2
> --------------
> Having removed the RANLIB statements in several of the MAKEFILEs, I now
> get this:
>
> <snip>
> `echo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -O2 -Wall
> -D IS_MODULE -shared -fPIC -o tiger ./tiger.c | \
> sed -e 's/-O[2-9s]*/-O/g' `
> gcc: unrecognized option `-shared'
Uuh. -shared is not a recognized option on w32? I don't use Cygwin, so I
don't know if it should or shouldn't. Maybe can you add a case for w32 to set
DYNLINK_MOD_CFLAGS correctly for your platform.
> In file included from ./tiger.c:26:
> ..\include\util.h:207: warning: `stricmp' redefined
> C:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-
> 2.91.57\..\..\
> ..\..\i586-cygwin32\include\string.h:76: warning: this is the location of the
> previous definition
It seems configure could not correctly find out that your platform has
stricmp(). We use the standard test, so I am not sure what can be done about
that or where the error actually is (maybe in the compiler header file).
I am not sure about the bfd errors, but I have the feeling that fixing the
DYNLINK_MOD_CFLAGS problem might help.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd at debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus at gnu.org
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
More information about the Gnupg-devel
mailing list