gnupg 107 compilation on solaris 8

Michael Helm helm@fionn.es.net
Tue Apr 30 18:15:02 2002


solaris 8, sparc, 108528-14,
forte c compiler, identifies as cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

Won't build, wrong options to create dynamic module:
cc -DHAVE_CONFIG_H -I. -I../../gnupg/cipher -I.. -I.. -I../../gnupg/include -I../../gnupg/intl    -g -O -DIS_MODULE -shared -KPIC -o rndunix ../../gnupg/cipher/rndunix.c
cc: Warning: -s conflicts with -g. -s turned off
"../../gnupg/cipher/rndunix.c", line 713: warning: assignment type mismatch:
        pointer to const char "=" pointer to unsigned char
"../../gnupg/cipher/rndunix.c", line 898: 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
make[3]: *** [rndunix] Error 1
make[3]: Leaving directory `/export/home/helm/project/gnupg/SunOS.5.8/cipher'
make[2]: *** [all] Error 2