Build of gnupg-1.0.7 on Solaris

SMore@empirecorp.org SMore@empirecorp.org
Wed Aug 28 12:12:43 2002


I am having problems building gnupg 1.0.7 on Solaris:
	MAKE=/opt/SUNWspro/bin/dmake
	CFLAGS=-xarch=v9

	bash-2.03$ cc -V
	cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

/opt/SUNWspro/bin/../WS6U2/bin/fbe: "_mpih-add1.s", line 58: error: detect
global register use not covered .register pseudo-op
/opt/SUNWspro/bin/../WS6U2/bin/fbe: "_mpih-add1.s", line 61: error: detect
global register use not covered .register pseudo-op
/opt/SUNWspro/bin/../WS6U2/bin/fbe: "_mpih-add1.s", line 72: error: detect
global register use not covered .register pseudo-op
...
..

Then I tried with CFLAGS=

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl      -DIS_MODULE
-shared -KPIC -o rndlinux ./rndlinux.c
"./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

Is there someway to fix this or should I try to compile an earlier version ?


-Thanks
Stephen More