different idea.c files

Horacio homega@wanadoo.es
Tue Sep 18 12:31:01 2001


I compiled and installed gnupg 1.0.6 with the idea.c module
on a OpenBSD 2.9 (-release) system with the system=B4s make,
and two different idea.c files.

The configure and compile processes and options were:

tar zxf gnupg-1.0.6.tar.gz; cd gnupg-1.0.6

cp .../idea.c cipher/

(applied OpenBSD patches from
/usr/ports/security/gnupg/[files|patches]
... except the patch-g10* patches which I believe applied to
1.0.4).

./configure --with-included-gettext
make


The results were different depending on the idea.c file I
used:

- if I use the one downloaded from=20
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/
it compiles and installs ok.

- if I use the one downloaded from
http://www.gnupg.dk/contrib-dk/
it stops at the following make error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl		\
-g -O2 -Wall -DIS_MODULE -shared -rdynamic -fPIC -Wl,-Bshareable \
-Wl,-x -o idea ./idea.c
./idea.c:61: Invalid token in expression
*** Error code 1


I also tried to compile/install it from the OpenBSD ports collection
(modifying the ports Makefile and removing patch-g10*):

cd /usr/ports/security/gnupg

env FLAVOR=3Didea make NO_CHECKSUM=3DYES

which works if using idea.c from the above mentioned ftp directory.
Just curious why it won=B4t work with the idea.c from gnupg.dk.


Thank You,
--=20
Horacio