Mailing List Archive

MacOS X Server 5.5/ppc
since there is no gpg/pgp for Mac OS X Server, i started taking a crack at it
after noticing it wasn't on the website under "systems that it builds on".

i get through configure fine (!) and then get tripped up a bit here:

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c mpi-add.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c mpi-add.c -o mpi-add.o
mpi-internal.h:227: syntax error, found `)'
mpi-internal.h:227: bad attribute specification, expecting constant, found `;'
mpi-inline.h:38: bad attribute specification, expecting constant, found `mpi_ptr_t'
mpi-inline.h:40: syntax error, found `{'
mpi-inline.h:41: syntax error, found `;'
mpi-inline.h:44: illegal external declaration, missing `;' after `s2_limb'
mpi-inline.h:48: illegal method selector, found `1'
mpi-inline.h:48: illegal method definition, missing `{' after `1'
mpi-inline.h:49: illegal external declaration, missing `;' after `res_ptr'
mpi-inline.h:59: illegal external declaration, found `for'
mpi-inline.h:59: illegal method selector, found `1'
mpi-inline.h:59: illegal method definition, missing `{' after `1'
mpi-inline.h:59: illegal external declaration, missing `;' after `i'
make[2]: *** [mpi-add.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

why does this system not like the mpi-inline header, when my *BSD boxen slug it down just fine? show me the way, i'll provide diffs.

superbonbon% uname -a
Rhapsody superbonbon 5.5 Kernel Release 5.5: Fri Jul 2 13:10:26 PDT 1999; root(rcbuilder):Objects/kernel-154.14.obj~10/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple Computer, Inc. All Rights Reserved. Power Macintosh

--
echo ++ > ~/.rhosts && echo baby I got ya money
http://gravity.hellyeah.com use OpenBSD! http://www.openbsd.org
gpg/pgp key fingerprint: DE40 C3B3 2D00 B9DF AA58 2A28 3B8C B783 E7BE E971
Re: MacOS X Server 5.5/ppc [ In reply to ]
R. Emory Lundberg wrote:

> since there is no gpg/pgp for Mac OS X Server, i started taking a crack at it
> after noticing it wasn't on the website under "systems that it builds on".

> mpi-internal.h:227: bad attribute specification, expecting constant, found `;'

gcc version < 2.5 ?


--
Werner Koch at guug.de www.gnupg.org keyid 621CC013
Re: MacOS X Server 5.5/ppc [ In reply to ]
On Mon, Nov 29, 1999 at 10:27:38AM +0100, Werner Koch wrote:

> > since there is no gpg/pgp for Mac OS X Server, i started taking a crack at it
> > after noticing it wasn't on the website under "systems that it builds on".
>
> > mpi-internal.h:227: bad attribute specification, expecting constant, found `;'
>
> gcc version < 2.5 ?

unfortunatly, it isn't that easy.

superbonbon% cc -v
Reading specs from /usr/libexec/ppc/2.7.2.1/specs
Apple Computer, Inc. version cc-783.1, based on gcc version 2.7.2.1

though one must wonder if 'based on gcc...' is good enough. i'll investigate
this avenue. (not that it matters, but other gnu software builds, and other
utilities that build on *bsd build on OS X Server as well. ssh, pine, mutt,
etc.)

--
echo ++ > ~/.rhosts && echo baby I got ya money
http://gravity.hellyeah.com use OpenBSD! http://www.openbsd.org
gpg/pgp key fingerprint: DE40 C3B3 2D00 B9DF AA58 2A28 3B8C B783 E7BE E971
Re: MacOS X Server 5.5/ppc [ In reply to ]
R. Emory Lundberg wrote:

> though one must wonder if 'based on gcc...' is good enough. i'll investigate
> this avenue. (not that it matters, but other gnu software builds, and other

Can you do a diff between stock 2.7.2.1 and the Apple one?


--
Werner Koch at guug.de www.gnupg.org keyid 621CC013
Re: MacOS X Server 5.5/ppc [ In reply to ]
On Mon, Nov 29, 1999 at 07:55:04PM +0100, Werner Koch wrote:
> R. Emory Lundberg wrote:
>
> > though one must wonder if 'based on gcc...' is good enough. i'll investigate
> > this avenue. (not that it matters, but other gnu software builds, and other
>
> Can you do a diff between stock 2.7.2.1 and the Apple one?

I found that it installed the source to gcc in /System/Developer/Source/GNU/gcc, when you ask about a diff between the two, should I just download 2.7.2.1 and run diff on *.c or what?

in gcc.c, I found this:

#ifdef NeXT
extern char *next_version;
fprintf (stderr, "Apple Computer, Inc. version %s, based on ",
next_version);
#endif
#ifdef NEXT_PDO
if (! strcmp (version_string, compiler_version))
fprintf (stderr, "gcc version %s for Apple PDO\n", version_string);
else
fprintf (stderr, "gcc driver version %s executing gcc version %s for NeXT PDO
\n",

leading me to believe that this may be a worked up version of gcc merely using
the NeXT configs.

--
echo ++ > ~/.rhosts && echo baby I got ya money
http://gravity.hellyeah.com use OpenBSD! http://www.openbsd.org
gpg/pgp key fingerprint: DE40 C3B3 2D00 B9DF AA58 2A28 3B8C B783 E7BE E971