Mailing List Archive

Re: Problem with gnupg 0.9.7 and FreeBSD 3.2
On Sat, May 29, 1999, Klaus-Juergen Wolf wrote:

> it seems to me that I am not able to compile GnuPG 0.9.7 under a
> standard FreeBSD 3.2:
>
> make all-recursive
> Making all in intl
> Making all in zlib
> Making all in util
> Making all in mpi
> gcc -E -I../include -DHAVE_CONFIG_H -I. -I. -I.. mpih-mul1.S | grep -v '^#' >tmp-mpih-mul1.s
> gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c tmp-mpih-mul1.s
> tmp-mpih-mul1.s: Assembler messages:
> tmp-mpih-mul1.s:107: Error: Alignment not a power of 2
> tmp-mpih-mul1.s:125: Error: Alignment not a power of 2
> *** Error code 1

check
mpi/asm-syntax.h

does it have:
#define BSD_SYNTAX

instead of
#define ELF_SYNTAX
?

mpi/config.links
doesn't deal correctly with
${target}
which gets set to (something like):

i[34]86*-*-freebsdelf*

which doesn't match:

i[34]86*-*-freebsd*-elf | i[34]86*-*-freebsd[34]*)
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i386"

don't ask me how to fix that, I don't know enough about
the configure etc. scripts (so I can't tell you whether
mpi/config.links
is wrong or something else).

I hacked
mpi/config.links
on my FreeBSD 3.1 system.
Re: Problem with gnupg 0.9.7 and FreeBSD 3.2 [ In reply to ]
Claus Assmann <ca+gpg@sendmail.com> writes:

> i[34]86*-*-freebsdelf*

Okay, I added a rule for this.



--
Werner Koch at guug.de www.gnupg.org keyid 621CC013