compiling GnuPG 1.0.6 on Solaris 8

Remco Post r.post@sara.nl
Wed Jun 13 17:57:02 2001


Hi all,

When compiling GnuPG 1.0.6 on Solaris 8, using the Sun Workshop compiler, make 
dies with the following errors. This has been tested with both gnu make and 
Solaris make, and all posslble copatibility options to cc (-Xc -Xt -Xa), all
with the same result. Compilation with gcc 2.95.2 does result in a working
binairy.


cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -Xt -c fileutil.c
"../include/ttyio.h", line 27: undefined or not a type: tty_printf
"../include/ttyio.h", line 27: parameter not in identifier list: fmt
"../include/ttyio.h", line 27: syntax error before or at: ...
"../include/ttyio.h", line 27: warning: syntax error:  empty declaration
"../include/ttyio.h", line 29: parameter not in identifier list: 
tty_print_string
"../include/ttyio.h", line 30: parameter not in identifier list: 
tty_print_utf8_string
"../include/ttyio.h", line 31: parameter not in identifier list: 
tty_print_utf8_string2
"../include/ttyio.h", line 32: parameter not in identifier list: tty_get
"../include/ttyio.h", line 33: parameter not in identifier list: tty_get_hidden
"../include/ttyio.h", line 34: parameter not in identifier list: 
tty_kill_prompt
"../include/ttyio.h", line 35: parameter not in identifier list: 
tty_get_answer_is_yes
"../include/ttyio.h", line 36: parameter not in identifier list: 
tty_no_terminal
"fileutil.c", line 39: parameter not in identifier list: make_basename
"fileutil.c", line 39: parameter not in identifier list: __func__
"fileutil.c", line 39: cannot initialize parameter: __func__
"fileutil.c", line 40: parameter not in identifier list: p
"fileutil.c", line 42: undefined symbol: filepath
"fileutil.c", line 42: warning: improper pointer/integer combination: arg #1
"fileutil.c", line 48: warning: improper pointer/integer combination: arg #1
"fileutil.c", line 48: warning: improper pointer/integer combination: op "="
"fileutil.c", line 51: warning: improper pointer/integer combination: op "="
"fileutil.c", line 52: cannot recover from previous errors
cc: acomp failed for fileutil.c
make[2]: *** [fileutil.o] Error 2
make[2]: Leaving directory `/export/home/remco/src/gnupg-1.0.6/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/remco/src/gnupg-1.0.6'
*** Error code 2
make: Fatal error: Command failed for target `all-recursive-am'

-- 
Met vriendelijke groeten,

Remco Post

SARA - Stichting Academisch Rekencentrum Amsterdam
Facility Management     Tel. +31 20 592 8080    Fax. +31 20 668 3167

"I really didn't foresee the Internet. But then, neither did the computer
industry. Not that that tells us very much of course - the computer industry
didn't even foresee that the century was going to end." -- Douglas Adams