Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!draco.acs.uci.edu!iglesias From: iglesias@draco.acs.uci.edu (Mike Iglesias) Newsgroups: comp.protocols.time.ntp Subject: Re: "illegal type combination" Keywords: illegal type combination error Message-ID: <28330F66.27620@orion.oac.uci.edu> Date: 16 May 91 23:01:58 GMT References: <1991May16.202532.14761@unlinfo.unl.edu> Distribution: na Organization: University of California, Irvine Lines: 49 Nntp-Posting-Host: draco.acs.uci.edu In article <1991May16.202532.14761@unlinfo.unl.edu> mosemann@unl.edu writes: > > Compiling xntp on a VAX 5810 works just fine until it gets to xntpd. >Then it tells me: > >cd xntpd ; make xntpd >cc -O -DCONFIG_FILE=\"/usr/local/etc/ntp.conf\" -I../include -c ntp_config.c >ccom: Error: ../include/ntp.h, line 13: illegal type combination > typedef signed char s_char; > --------------------------^ >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. > > Has anyone seen this before? I checked out and it >already defines s_chr. Could that be a problem? Advice and suggestions >welcome. Thanks. Yes, it's because defines it. I changed ntp.h like this to make it compile on Ultrix RISC v4.1: *** ntp.h.orig Thu Oct 26 14:17:36 1989 --- ntp.h Thu May 16 15:59:08 1991 *************** *** 7,17 **** --- 7,19 ---- * use it. On machines where signed char doesn't work, char had better * be signed. */ + #if !defined(ultrix) #if defined(NO_SIGNED_CHAR_DECL) typedef char s_char; #else typedef signed char s_char; #endif + #endif /* ultrix and mips */ /* * NTP protocol parameters. See section 3.2.6 of the specification. Mike Iglesias University of California, Irvine Internet: iglesias@draco.acs.uci.edu BITNET: iglesias@uci uucp: ...!ucbvax!ucivax!iglesias