help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/usr/include/sys/timex.h:201: parse error before `int32_t'


From: Anant
Subject: /usr/include/sys/timex.h:201: parse error before `int32_t'
Date: Tue, 20 Mar 2001 22:33:40 +0530

Dear all,

I am trying to compile ntp-4.0.99k. I am getting following error
/usr/include/sys/timex.h:201: parse error before `int32_t'

gcc version is
hostname# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/specs
gcc version 2.95.1 19990816 (release)
hostname#

And hardware is 2.6 Solaris.

The output of the make is given below.

Can you please tell me the solution.



hostname# make
make  all-recursive
make[1]: Entering directory `/home2/ANANT/ntp-4.0.99k'
Making all in scripts
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/scripts'
Making all in include
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/include'
Making all in ElectricFence
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/ElectricFence'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/ElectricFence'
Making all in librsaref
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/librsaref'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/librsaref'
Making all in libntp
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/libntp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/libntp'
Making all in libparse
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/libparse'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/libparse'
Making all in ntpd
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/ntpd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/ntpd'
Making all in ntpdate
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/ntpdate'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/ntpdate'
Making all in ntpdc
make[2]: Entering directory `/home2/ANANT/ntp-4.0.99k/ntpdc'
source='ntpdc_ops.c' object='ntpdc_ops.o' libtool=no \
depfile='.deps/ntpdc_ops.Po' tmpdepfile='.deps/ntpdc_ops.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -Wall -Wshadow
-Wconver
ion -Wpointer-arith -Wcast-qual -Wstrict-prototypes -pipe -c -o
ntpdc_ops.o `te
t -f ntpdc_ops.c || echo './'`ntpdc_ops.c
In file included from ntpdc_ops.c:14:
/usr/include/sys/timex.h:201: parse error before `int32_t'
/usr/include/sys/timex.h:201: warning: no semicolon at end of struct or
union
/usr/include/sys/timex.h:202: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:211: parse error before `int32_t'
/usr/include/sys/timex.h:211: warning: no semicolon at end of struct or
union
/usr/include/sys/timex.h:212: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:213: parse error before `maxerror'
/usr/include/sys/timex.h:213: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:214: parse error before `esterror'
/usr/include/sys/timex.h:214: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:215: parse error before `status'
/usr/include/sys/timex.h:215: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:216: parse error before `constant'
/usr/include/sys/timex.h:216: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:217: parse error before `precision'
/usr/include/sys/timex.h:217: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:218: parse error before `tolerance'
/usr/include/sys/timex.h:218: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:219: parse error before `ppsfreq'
/usr/include/sys/timex.h:219: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:220: parse error before `jitter'
/usr/include/sys/timex.h:220: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:221: parse error before `shift'
/usr/include/sys/timex.h:221: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:222: parse error before `stabil'
/usr/include/sys/timex.h:222: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:223: parse error before `jitcnt'
/usr/include/sys/timex.h:223: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:224: parse error before `calcnt'
/usr/include/sys/timex.h:224: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:225: parse error before `errcnt'
/usr/include/sys/timex.h:225: warning: data definition has no type or
storage c
ass
/usr/include/sys/timex.h:226: parse error before `stbcnt'
/usr/include/sys/timex.h:226: warning: data definition has no type or
storage c
ass
ntpdc_ops.c: In function `kerninfo':
ntpdc_ops.c:2360: warning: declaration of `status' shadows global
declaration
make[2]: *** [ntpdc_ops.o] Error 1
make[2]: Leaving directory `/home2/ANANT/ntp-4.0.99k/ntpdc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/ANANT/ntp-4.0.99k'
make: *** [all-recursive-am] Error 2
hostname#


TIA
Anant
Sr Engineer, VSNL, INDIA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]