* PGP 5.0i on Linux-Alpha
@ 1998-11-17 19:03 Konrad Podloucky
1998-11-18 17:39 ` B. James Phillippe
1998-11-18 22:01 ` mgraffam
0 siblings, 2 replies; 3+ messages in thread
From: Konrad Podloucky @ 1998-11-17 19:03 UTC (permalink / raw)
To: axp-list
Has anybody successfully compiled PGP 5.0i (international version) on
Linux/Alpha? I always get nasty errors:
make[3]: Entering directory `/usr/src/redhat/BUILD/pgp50i/src/lib/pgp/hash'
gcc -O -DUNIX=1 -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DHAVE_CONFIG_H -DPGPTRUSTMODEL=0 -DDEBUG=1 -DUNFINISHED_CODE_ALLOWED=0 -I../../../. -I../../.././include -I../include -I. -c pgpMD5.c -o pgpMD5.o
pgpMD5.c:42: parse error before `word64'
pgpMD5.c:42: warning: no semicolon at end of struct or union
pgpMD5.c: In function `MD5Init':
pgpMD5.c:71: dereferencing pointer to incomplete type
pgpMD5.c:72: dereferencing pointer to incomplete type
pgpMD5.c:73: dereferencing pointer to incomplete type
pgpMD5.c:74: dereferencing pointer to incomplete type
pgpMD5.c:77: dereferencing pointer to incomplete type
pgpMD5.c: In function `MD5Update':
pgpMD5.c:199: dereferencing pointer to incomplete type
pgpMD5.c:200: dereferencing pointer to incomplete type
pgpMD5.c:208: dereferencing pointer to incomplete type
pgpMD5.c:213: dereferencing pointer to incomplete type
pgpMD5.c:214: dereferencing pointer to incomplete type
pgpMD5.c:214: dereferencing pointer to incomplete type
[the same message referring to other lines keeps repeating]
...
pgpMD5.c: At top level:
pgpMD5.c:319: sizeof applied to an incomplete type
pgpMD5.c:320: field `_b' has incomplete type
pgpMD5.c:321: sizeof applied to an incomplete type
make[3]: *** [pgpMD5.o] Error 1
Here's what I'm currently running:
Kernel 2.0.35 (w/ Alpha patches)
egcs ver 2.90.29 release 1.0.3a-2
I've tried to hack the source of pgpMD5.c with my limited skills of C, but hadn't had any
success. (by the way, I used the source RPM).
Any help concerning this problem will be greatly appreciated
Thanks
Konrad Podloucky
______________________________________________________________________
Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Contrary to popular belief, Unix is user-friendly.
It just happens to be selective about who it makes friends with."
-- Dave Parnas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: PGP 5.0i on Linux-Alpha
1998-11-17 19:03 PGP 5.0i on Linux-Alpha Konrad Podloucky
@ 1998-11-18 17:39 ` B. James Phillippe
1998-11-18 22:01 ` mgraffam
1 sibling, 0 replies; 3+ messages in thread
From: B. James Phillippe @ 1998-11-18 17:39 UTC (permalink / raw)
To: Konrad Podloucky; +Cc: RedHat AXP list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 17 Nov 1998, Konrad Podloucky wrote:
> Has anybody successfully compiled PGP 5.0i (international version) on
> Linux/Alpha? I always get nasty errors:
...
> Any help concerning this problem will be greatly appreciated
> Thanks
Hello Konrad,
I wish I could help you more, but in my country it is considered
more dangerous for me to extend a helping hand and send you a patch file
for software you already have, than it is for me to bring a semi-automatic
assault rifle with me out of the country. If nothing more, I can at least
encourage you to not give up; you can patch pgp50i to build and work under
Linux/AXP; I have done so, and it is not too hard.
- -bp
- --
B. James Phillippe . bryan@terran.org
UNIX Software Engineer . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
MOTM: Waiting for the DSL to go in :/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBNlL4LKgBiKGLV2SREQJ5AwCg2LuQ/86nMNLQqhweRtB3tQiBdiUAnjr9
4evlxRZsIT9TbxCxN+d3Ccxr
=zG7T
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PGP 5.0i on Linux-Alpha
1998-11-17 19:03 PGP 5.0i on Linux-Alpha Konrad Podloucky
1998-11-18 17:39 ` B. James Phillippe
@ 1998-11-18 22:01 ` mgraffam
1 sibling, 0 replies; 3+ messages in thread
From: mgraffam @ 1998-11-18 22:01 UTC (permalink / raw)
To: Konrad Podloucky; +Cc: axp-list
On Tue, 17 Nov 1998, Konrad Podloucky wrote:
> Has anybody successfully compiled PGP 5.0i (international version) on
> Linux/Alpha? I always get nasty errors:
>
> I've tried to hack the source of pgpMD5.c with my limited skills of C, but hadn't had any
> success. (by the way, I used the source RPM).
The problem is not in pgpMD5.c. The problem is in the way PGP declares
a 64-bit type.
You want to edit pgpUsuals.h such that word64 is defined as a long, not
a long long or any other weirdness.
IIRC, heres what I did ..
comment out lines 51-57 in pgpUsuals.h, and on lines 71 and 72 change
"long long" to "long"
That should be it, I think ..
you may not have to change lines 71 and 72.. its been awhile since I've
compiled it on my Alpha.
If you still have trouble, let me know and I'll work up an actual patch.
Michael J. Graffam (mgraffam@idsi.net)
Be a munitions trafficker: http://www.dcs.ex.ac.uk/~aba/rsa/rsa-keygen.html
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-11-18 22:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-17 19:03 PGP 5.0i on Linux-Alpha Konrad Podloucky
1998-11-18 17:39 ` B. James Phillippe
1998-11-18 22:01 ` mgraffam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox