different idea.c files

A Guy Called Tyketto tyketto@wizard.com
Tue Sep 18 13:04:01 2001

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 18, 2001 at 12:28:17PM +0200, Horacio wrote:

> 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.
IIRC, with the idea.c that you got from gnupg.dk/contrib-dk, if you= =20 take a look at that file you should see something to the point of: /* How to compile: * gcc -Wall -O2 -shared -fPIC -o idea idea.c */ I got this from the source of idea.c, from when it was stored on=20 ftp.gnupg.org. Compile GnuPG as normal, with the idea.c that is in the sour= ce=20 tarball. then check the idea.c from gnupg.dk to see if it has those comment= s=20 in it, or how to compile inside it. IIRC, there's also a README.idea along= =20 with it. Check that one too, then compile it separately. The binary should = go=20 into /usr/local/lib/gnupg, or .gnupg, if my brain serves me right (and at 4= am,=20 it may not. :) The former works for sure; not definite on the latter). Give that a try, and let us know how it goes. BL. --=20 Brad Littlejohn | Email: tyketto@wizard.com Unix Systems Administrator, | tyketto@ozemail.com.au Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7pymRyBkZmuMZ8L8RAreWAKCeLrRcrxwcDUI8512za+7F8voPewCgqN62 +UpMuU0MgdTbPitI0KzlDzU= =DPMd -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--