Replied: Sun, 15 Mar 1998 03:53:56 -0500
Replied: "czsmith@hotmail.com mills@udel.edu"
Received: from huey2.ee.udel.edu by mail.eecis.udel.edu id aa03948;
          12 Mar 1998 20:04 EST
Received: from copland.udel.edu by huey.udel.edu id aa11997;
          12 Mar 1998 20:04 EST
Received: from homer.dejanews.com ([205.238.143.161])
	by copland.udel.edu (8.8.8/8.8.8) with ESMTP id UAA08752
	for <mills@udel.edu>; Thu, 12 Mar 1998 20:03:48 -0500 (EST)
Received: from w9.dejanews.com (iw9.dejanews.com [10.2.1.136])
	by homer.dejanews.com (8.8.6/8.8.6) with ESMTP id TAA15817
	for <mills@udel.edu>; Thu, 12 Mar 1998 19:02:22 -0600 (CST)
Received: (www@localhost) by w9.dejanews.com (8.7.6/8.6.12) id TAA31689; Thu, 12 Mar 1998 19:03:52 -0600
Message-Id: <199803130103.TAA31689@w9.dejanews.com>
From: czsmith@hotmail.com
To: mills@udel.edu
Subject: xntpd3-5.9[1-2c] Compile problems on Linux 2.0.33
Date: Thu, 12 Mar 1998 19:03:51 -0600
Newsgroups: comp.protocols.time.ntp
NNTP-Posting-Host: 208.193.14.26
Organization: Journeyman Services
X-Article-Creation-Date: Fri Mar 13 01:03:51 1998 GMT
X-Http-User-Agent: Mozilla/4.04 [en] (X11; I; Linux 2.0.33 i586; Nav)

Linux 2.0.33/Slackware 3.4

./config.guess:  i586-pc-linux-gnulibc1

Have tried compiling 3-5.91 3-5.92 and 3-5.92c and all die with similar error
messages, during 'make'.  here is the relevent output.
_____
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe -c
ntpdc_ops.c
ntpdc_ops.c:49: parse error before `struct'
ntpdc_ops.c:136: parse error before `restrict'
ntpdc_ops.c:136: warning: braces around scalar initializer for
`opcmds[19].handler'
ntpdc_ops.c:136: warning: initialization makes pointer from integer without a
cast
ntpdc_ops.c:136: warning: excess elements in scalar initializer after
`opcmds[19].handler'
ntpdc_ops.c:136: warning: excess elements in scalar initializer after
`opcmds[19].handler'
ntpdc_ops.c:136: warning: excess elements in scalar initializer after
`opcmds[19].handler'
ntpdc_ops.c:140: warning: missing braces around initializer for
`opcmds[19].desc'
ntpdc_ops.c:1372: parse error before `,'
ntpdc_ops.c:1375: parse error before `{'
make[2]: *** [ntpdc_ops.o] Error 1
make[2]: Leaving directory `/usr/src/xntp3-5.92c/xntpdc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xntp3-5.92c'
make: *** [all-recursive-am] Error 2
_____

Here are lines 48,49,50 from the above file.

__
static  void    reslist         P((struct parse *, FILE *));
static  void    restrict        P((struct parse *, FILE *));
static  void    unrestrict      P((struct parse *, FILE *));
__

I don't see why it has a problem with line 49 but not any of the others.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
