Problem building gnupg 1.0.1 on Sparc Linux

Patrick J. Lawrence pjlawrence@ucdavis.edu
Fri, 11 Feb 2000 19:22:03 -0800


Hello,

I was goofing around with Sparc Linux today and got an Ultra 1 going with
it.  I tried to build gpg, but it's failing on an attempt to link
__udiv_qrnnd.

Anyhow, when I try to build it, it dies with the following errors:

gcc  -g -O2 -Wall  -o mpicalc  mpicalc.o
../cipher/libcipher.a                ../mpi/libmpi.a ../util/libutil.a  -lz
-ldl -lnsl -lgdbm  -lnsl
../mpi/libmpi.a(mpih-div.o): In function `mpihelp_mod_1':
/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:86: undefined reference to
`__udiv_qrnnd'
/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:123: undefined reference
to `__udiv_qrnnd'
/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:185: undefined reference
to `__udiv_qrnnd'
../mpi/libmpi.a(mpih-div.o): In function `mpihelp_divrem':
/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:237: undefined reference
to `__udiv_qrnnd'
/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:241: undefined reference
to `__udiv_qrnnd'
../mpi/libmpi.a(mpih-div.o):/usr/src/redhat/BUILD/gnupg-1.0.1/mpi/mpih-div.c:289:
more undefined references to `__udiv_qrnnd' follow
collect2: ld returned 1 exit status
make[2]: *** [mpicalc] Error 1

Any ideas?

Thanks,

Pat
--
Patrick Lawrence
Distributed Computing Analysis and Support
University of California at Davis