PG 1.0.7 Solaris 8 compilation problems

Owen, Pamela pamela.owen@conceracorp.com
Mon Sep 23 21:21:02 2002


Is there a quick and dirty faq?  I am not a programmer and am trying to
compile this on my Solaris 8 machine.
I went through some of the list archives, but of course need this to be up
last week.

Do I compile as root?

after I run configure, I get the following setups:

Configured for: 			 SunOS (sparc-sun-solaris2.8)
Looks good to me.
Dynamically linked modules: 	 rndlinux rndegd tiger		What the
heck is this?
Extra cpu specific functions:	udiv				And this?

My compiler is SUNWspro Forte 6 update 2
I then type make (using the /usr/ccs/bin/make)

It looks to be compiling.....
then...  (There are many errors and I am not sure which are important, so on
a previous mail to this list I  included the entire output from make.  I
received a message that it would have to be reviewed prior to posting.  So I
have tried to shorten it with this email.)
Am I missing a library?  Should I use LD_LIBRARY_PATH? What should I set it
to?

make  all-recursive ...
source='miscutil.c' object='miscutil.o' libtool=no \
depfile='.deps/miscutil.Po' tmpdepfile='.deps/miscutil.TPo' \ depmode=none
/bin/sh ../scripts/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../include -I../intl     -g -c `test -f miscutil.c || echo './'`miscutil.c
"miscutil.c", line 222: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "../include/util.h", line 194
argument : pointer to const unsigned char source='strgutil.c'
object='strgutil.o' libtool=no \ depfile='.deps/strgutil.Po'
tmpdepfile='.deps/strgutil.TPo' \ depmode=none /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl     -g -c `test
-f strgutil.c || echo './'`strgutil.c "strgutil.c", line 184: warning:
assignment type mismatch:         pointer to const unsigned char "=" pointer
to const char "strgutil.c", line 184: warning: assignment type mismatch:
pointer to const unsigned char "=" pointer to const char  "strgutil.c", line
469: warning: argument #1 is incompatible with prototype:         prototype:
pointer to char : "/usr/include/iso/stdio_iso.h", line 183         argument
: pointer to unsigned char ... "iobuf.c", line 722: warning: assignment type
mismatch:         pointer to char "=" pointer to unsigned char "iobuf.c",
line 737: warning: argument #2 is incompatible with prototype:
prototype: pointer to unsigned char : "../include/iobuf.h", line 119
argument : pointer to char "iobuf.c", line 744: warning: argument #2 is
incompatible with prototype:         prototype: pointer to unsigned char :
"../include/iobuf.h", line 119         argument : pointer to char ...
"dynload.c", line 445: warning: assignment type mismatch:         pointer to
function(int, pointer to unsigned int, pointer to pointer to unsigned char,
pointer to int, pointer to int, pointer to pointer to function(pointer to
void) returning void, pointer to pointer to function(pointer to void,
pointer to unsigned char, unsigned int) returning void, pointer to pointer
to function(pointer to void) returning void, pointer to pointer to
function(pointer to void) returning pointer to unsigned char) returning
pointer to const char "=" pointer to void "dynload.c", line 517: warning:
assignment type mismatch:         pointer to function(int, pointer to
unsigned int, pointer to unsigned int, pointer to unsigned int, pointer to
pointer to function(pointer to void, pointer to unsigned char, unsigned int)
returning int, pointer to pointer to function(pointer to void, pointer to
unsigned char, pointer to unsigned char) returning void, pointer to pointer
to function(pointer to void, pointer to unsigned char, pointer to unsigned
char) returning void) returning pointer to const char "=" pointer to void
"dynload.c", line 607: warning: assignment type mismatch:         pointer to
function(int, pointer to int, pointer to int, pointer to int, pointer to
int, pointer to int, pointer to pointer to function(int, unsigned int,
pointer to pointer to struct gcry_mpi {int alloced, int nlimbs, int nbits,
int sign, unsigned int flags, pointer to unsigned int d}, pointer to pointer
to pointer to struct gcry_mpi {int alloced, int nlimbs, int nbits, int sign,
unsigned int flags, pointer to unsigned int d}) returning int, pointer to
pointer to function(int, pointer to pointer to struct gcry_mpi {int alloced,
int nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int
d}) returning int, pointer to pointer to function(int, pointer to pointer to
struct gcry_mpi {int alloced, int nlimbs, int nbits, int sign, unsigned int
flags, pointer to unsigned int d}, pointer to struct gcry_mpi {int alloced,
int nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int
d}, pointer to pointer to struct gcry_mpi {int alloced, int nlimbs, int
nbits, int sign, unsigned int flags, pointer to unsigned int d}) returning
int, pointer to pointer to function(int, pointer to pointer to struct
gcry_mpi {int alloced, int nlimbs, int nbits, int sign, unsigned int flags,
pointer to unsigned int d}, pointer to pointer to struct gcry_mpi {int
alloced, int nlimbs, int nbits, int sign, unsigned int flags, pointer to
unsigned int d}, pointer to pointer to struct gcry_mpi {int alloced, int
nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int d})
returning int, pointer to pointer to function(int, pointer to pointer to
struct gcry_mpi {int alloced, int nlimbs, int nbits, int sign, unsigned int
flags, pointer to unsigned int d}, pointer to struct gcry_mpi {int alloced,
int nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int
d}, pointer to pointer to struct gcry_mpi {int alloced, int nlimbs, int
nbits, int sign, unsigned int flags, pointer to unsigned int d}) returning
int, pointer to pointer to function(int, pointer to struct gcry_mpi {int
alloced, int nlimbs, int nbits, int sign, unsigned int flags, pointer to
unsigned int d}, pointer to pointer to struct gcry_mpi {int alloced, int
nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int d},
pointer to pointer to struct gcry_mpi {int alloced, int nlimbs, int nbits,
int sign, unsigned int flags, pointer to unsigned int d}, pointer to
function(pointer to void, pointer to struct gcry_mpi {int alloced, int
nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int d})
returning int, pointer to void) returning int, pointer to pointer to
function(int, pointer to pointer to struct gcry_mpi {int alloced, int
nlimbs, int nbits, int sign, unsigned int flags, pointer to unsigned int d})
returning unsigned int) returning pointer to const char "=" pointer to void
source='des.c' object='des.o' libtool=no \ depfile='.deps/des.Po'
tmpdepfile='.deps/des.TPo' \ depmode=none /bin/sh ../scripts/depcomp \ cc
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl     -g -c `test -f
des.c || echo './'`des.c "des.c", line 756: warning: argument #1 is
incompatible with prototype:         prototype: pointer to const char :
"des.c", line 129         argument : pointer to unsigned char ...
source='md5.c' object='md5.o' libtool=no \ depfile='.deps/md5.Po'
tmpdepfile='.deps/md5.TPo' \ depmode=none /bin/sh ../scripts/depcomp \ cc
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl     -g -c `test -f
md5.c || echo './'`md5.c "md5.c", line 402: warning: assignment type
mismatch:         pointer to void "=" pointer to function(void) returning
void rm -f libcipher.a ar cru libcipher.a cipher.o pubkey.o md.o  dynload.o
des.o twofish.o  blowfish.o cast5.o rijndael.o  elgamal.o rsa.o primegen.o
random.o dsa.o g10c.o  smallprime.o construct.o rndunix.o sha1.o rmd160.o
md5.o ranlib libcipher.a cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include
-I../intl     -g -DIS_MODULE -shared -KPIC -o rndlinux ./rndlinux.c cc:
Warning: -s conflicts with -g. -s turned off "./rndlinux.c", line 226:
warning: assignment type mismatch:         pointer to void "=" pointer to
function(void) returning int ld: fatal: option -h and building a dynamic
executable are incompatible ld: fatal: Flags processing errors *** Error
code 1 make: Fatal error: Command failed for target `rndlinux' Current
working directory /opt/pgp/gnupg-1.0.7/cipher *** Error code 1 make: Fatal
error: Command failed for target `all' Current working directory
/opt/pgp/gnupg-1.0.7/cipher *** Error code 1 make: Fatal error: Command
failed for target `all-recursive' Current working directory
/opt/pgp/gnupg-1.0.7 *** Error code 1 make: Fatal error: Command failed for
target `all'


Any help is appreciated.
Pamela



Any help is appreciated.
Pamela