building GPG 1.2.1 on HP/UX 11.11
David Shaw
dshaw@jabberwocky.com
Sun Feb 9 04:52:24 2003
On Fri, Feb 07, 2003 at 02:18:21PM -0800, Joseph Bruni wrote:
> Hello all,
>
> When building GPG 1.2.1 on HP/UX 11.11 with the non-bundled C compiler, I ran
> into a snag with the ./intl/gettextP.h file. It appears that HP's compiler
> doesn't recognize the "inline" keyword, and dies when it hits the definition of
> the SWAP function.
>
> Adding "#define inline" to the header file allowed me to compile gpg
> just fine using all the default options. Perhaps a test could be
> added to autoconf to look for C compilers that don't support
> "inline"?
There is a an autoconf check for inline. It is strange you had a
problem with a P.h file - is this a clean source tree or did you build
GnuPG on a different machine first and copy the files over to build it
here?
David
--
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson