0.9.6 compilation errors

SL Baur steve at xemacs.org
Tue May 18 14:37:43 CEST 1999


I too am having difficulties getting gnupg built on OSF V4.0E (and
also BSDI 3.0, see bottom).

Steven Bakker <steven at icoe.att.com> writes in gnupg-devel at gnupg.org:

> Dunno if this is known yet, but compiling on Digital Unix:
>     OSF1 V4.0D 878 alpha

> With the native "cc", gives me lots of errors, which apparently
> have to do with the fact that some preprocessor directives have
> the hash inserted, so instead of:

> 	|#ifndef SOMETHING
> 	|#  include "something.h"
> 	|#endif

> There's:

> 	|#ifndef SOMETHING
> 	|   #include "something.h"
> 	|#endif

> I agree the latter is nicer and easier to read, but it breaks
> compilation on some platforms...  Gcc knows how to handle this,
> but I think the (at least older) Sun cc couldn't handle it
> either.

This usage breaks the 4.0E DEC C compiler too.


I have also tried building it with egcs-1.1.1 and that doesn't work
either.  Configuring with ./configure yields lines in each Makefile of
the form `LIBS = -lc -lz'.  Removing the bogus `-lc' by hand allows
gnupg to be linked.  Gnupg exercises a bug in egcs when built with -O2
-- the encrypt test fails.

Building with simply `-g' works with the above change, but there are
some problems getting through the test suite.  The informational message
`Please note that you don't have secure memory' leaks out into some of
the output causing two tests, encryptp and armencryptp, to fail.  The
only difference being the spurious informational message.  When I edit
the gnupg binary with XEmacs and null out that message, those two tests
pass.

I have a total and very wierd bomb when attempting to build gnupg on
BSDI 3.0.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -DIS_MODULE -shared -fPIC -lc -o rndlinux ./rndlinux.c
rndlinux.c:183:invalid character '[' in first operand
rndlinux.c:190:invalid character '@' in first operand
rndlinux.c:197:invalid character '@' in first operand
rndlinux.c:199:invalid character '@' in first operand
rndlinux.c:202:invalid character '@' in first operand
rndlinux.c:204:invalid character '@' in first operand
rndlinux.c:211:invalid character '@' in first operand
rndlinux.c:216:invalid character '@' in first operand
rndlinux.c:218:invalid character '@' in first operand
rndlinux.c:221:invalid character '@' in first operand
rndlinux.c:223:invalid character '@' in first operand
rndlinux.c:232:invalid character '@' in first operand
rndlinux.c:234:invalid character '@' in first operand
rndlinux.c:287:invalid character '[' in first operand
rndlinux.c:296:invalid character '@' in second operand
rndlinux.c:300:invalid character '@' in first operand
rndlinux.c:302:invalid character '@' in first operand
rndlinux.c:303:invalid character '@' in second operand
rndlinux.c:307:invalid character '@' in first operand
rndlinux.c:313:invalid character '@' in second operand
rndlinux.c:317:invalid character '@' in first operand
rndlinux.c:319:invalid character '@' in first operand
rndlinux.c:320:invalid character '@' in second operand
rndlinux.c:324:invalid character '@' in first operand
rndlinux.c:340:invalid character '@' in first operand
rndlinux.c:362:invalid character '@' in first operand
rndlinux.c:371:invalid character '@' in first operand
rndlinux.c:373:invalid character '@' in first operand
rndlinux.c:374:invalid character '@' in first operand
rndlinux.c:387:invalid character '@' in first operand
rndlinux.c:389:invalid character '@' in first operand
rndlinux.c:391:invalid character '@' in first operand
rndlinux.c:393:invalid character '@' in first operand
rndlinux.c:394:invalid character '@' in first operand
rndlinux.c:413:invalid character '@' in first operand
rndlinux.c:423:invalid character '@' in first operand
rndlinux.c:425:invalid character '@' in first operand
rndlinux.c:435:invalid character '@' in first operand
rndlinux.c:441:invalid character '@' in first operand
rndlinux.c:443:invalid character '@' in first operand
rndlinux.c:445:invalid character '@' in first operand
rndlinux.c:469:invalid character '@' in first operand
rndlinux.c:529:invalid character '[' in first operand
rndlinux.c:548:invalid character '@' in first operand
rndlinux.c:551:invalid character '@' in first operand
rndlinux.c:555:invalid character '@' in first operand
make[2]: *** [rndlinux] Error 1
make[2]: Leaving directory `/usr2/home/steveb/gnupg-0.9.6/cipher'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr2/home/steveb/gnupg-0.9.6'
make: *** [all-recursive-am] Error 2



More information about the Gnupg-devel mailing list