Cvs update and now no Compile of winsup -- need HELP

Brian Keener bkeener@thesoftwaresource.com
Thu Apr 19 09:02:00 GMT 2001


Well, it has happened to me again.  I updated my cvs of winsup and 
cinstall and as usual after I do an update I can no longer compile 
changes.  This has happened before for one reason or another and after 
several days we finally resolve it but I have no clue on this one.  I 
thought it might be something new from gcc-2.95-3 or make so I made sure 
I had all the current versions using setup.exe but still no luck.  I have 
deleted my install directory and my build directory and have attempted to 
rebuild all from scratch (which usually seems to get me going again) but 
still no luck.  I am getting an error now on winperf.h which is a new one 
to me.  Being a beginner on C++ and trying to learn while working on 
setup.exe I am at a loss what is wrong.  

I could really use some guidance and help.  This is a show stopper for me 
- I have no ides!!!!

I have enclosed the error from the make, the script I use to configure 
and compile my cygwin, a cygcheck -v -s -r, and a printout of my 
/etc/setup/installed.db.

Error from make:

/usr/develop/src/winsup/w32api/include/winperf.h:85: warning: data 
definition has no type or storage class
/usr/develop/src/winsup/w32api/include/winperf.h:86: parse error before 
`PerfTime100nSec'
/usr/develop/src/winsup/w32api/include/winperf.h:86: warning: data 
definition has no type or storage class
/usr/develop/src/winsup/w32api/include/winperf.h:89: parse error before 
`}'
/usr/develop/src/winsup/w32api/include/winperf.h:89: warning: data 
definition has no type or storage class
/usr/develop/src/winsup/w32api/include/winperf.h:103: parse error before 
`LARGE_INTEGER'
/usr/develop/src/winsup/w32api/include/winperf.h:103: warning: no 
semicolon at end of struct or union
/usr/develop/src/winsup/w32api/include/winperf.h:104: warning: data 
definition has no type or storage class
/usr/develop/src/winsup/w32api/include/winperf.h:105: warning: data 
definition has no type or storage class
make[2]: *** [autoload.o] Error 1
make[2]: Leaving directory 
`/usr/develop/obj/i686-pc-cygwin/winsup/cinstall'
make[1]: *** [cinstall] Error 2
make[1]: Leaving directory `/usr/develop/obj/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2

build script:

#!/bin/sh -x
#eg  my dir structure is
#/e/src/cygwin/  == $cyg
#/e/src/cygwin/obj/....
#/e/src/cygwin/inst/....
#/e/src/cygwin/src/winsup/.....
#
#The first time you use the script, it should build the whole tree, after
#which, it should only build setup.
#
#tested on win2k, gcc version gcc-2.95.2-9 2nd edition and cygwin-1.1.8
#
#Note, this is just a modified "Chris build script" and has been posted
#before..
#
#Hope it helps
#
#Regards Trevor
#

#export cyg=/e/src/cygwin
export cyg=/usr/develop
export instdir=$cyg/inst
export srcdir=$cyg/src
export objdir=$cyg/obj
export CC_FOR_TARGET=/usr/bin/gcc
export CXX_FOR_TARGET=/usr/bin/c++

#cd $srcdir/winsup
#cvs update

if [ ! -d "$objdir" ]; then
  mkdir -p "$objdir"
fi

cd $objdir

$srcdir/configure --enable-debugging --host=i686-pc-cygwin \
    --target=i686-pc-cygwin --enable-haifa --prefix=/usr \
    --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
    --includedir=/nonexistent/include

# remove for full build
#cd $objdir/i686-pc-cygwin/winsup/cinstall
cd $objdir

make clean

make CFLAGS="-mwin32 -g -O2" CXXFLAGS="-mwin32 -g -O2" CCFLAGS="-mwin32 
-g -O2" tooldir=/usr

if [ ! -d "$instdir" ]; then
  mkdir -p "$instdir"
fi

make install prefix=$instdir/usr exec_prefix=$instdir/usr \
   bindir=$instdir/usr/bin libdir=$instdir/usr/lib \
   sysconfdir=$instdir/etc includedir=$instdir/usr/include \
   tooldir=$instdir/usr

currently installed:

byacc latest/byacc/byacc.tar.gz 30927
clear latest/clear/clear-1.0.tar.gz 925
diff latest/diff/diff.tar.gz 94144
findutils latest/findutils/findutils.tar.gz 81300
gperf latest/gperf/gperf.tar.gz 47317
m4 latest/m4/m4.tar.gz 68815
man latest/man/man-1.5g-2.tar.gz 50382
shellutils latest/shellutils/shellutils.tar.gz 272743
time latest/time/time.tar.gz 11137
vim latest/vim/vim-5.7-4.tar.gz 1477095
sed latest/sed/sed-3.02-1.tar.gz 33953
textutils latest/textutils/textutils-2.0-1.tar.gz 579785
mt latest/mt/mt-1.9.1.tar.gz 10063
cpio latest/cpio/cpio-2.4.2.tar.gz 30199
file latest/file/file-3.33-1.tar.gz 90179
login latest/login/login-1.4-1.tar.gz 8756
binutils latest/binutils/binutils-20001221-1.tar.gz 3507710
ncurses latest/ncurses/ncurses-5.2-4.tar.gz 2479155
newlib-man latest/cygwin/newlib-man-20001118.tar.gz 64618
opengl latest/opengl/opengl-1.1.0-3.tar.gz 878290
openssl latest/openssl/openssl-0.9.6.tar.gz 1311325
regex latest/regex/regex-4.4.tar.gz 29048
unzip contrib/unzip/unzip-5.41-1.tar.gz 160517
zip contrib/zip/zip-2.3-1.tar.gz 84023
bash latest/bash/bash-2.04-7a.tar.gz 563255
bison latest/bison/bison-1.28-1.tar.gz 123218
bzip2 latest/bzip2/bzip2-1.0.1-6.tar.gz 339440
cvs contrib/cvs/cvs-1.11.0-1.tar.gz 886467
cygwin latest/cygwin/cygwin-1.1.8-2.tar.gz 666115
dejagnu latest/dejagnu/dejagnu-20010117-1.tar.gz 156354
expect latest/expect/expect-20010117-1.tar.gz 809104
flex latest/flex/flex-2.5.4-1.tar.gz 93425
gdbm contrib/gdbm/gdbm-1.8.0-3.tar.gz 49710
gettext contrib/gettext/gettext-0.10.35-2p1.tar.gz 346343
grep latest/grep/grep-2.4.2-1.tar.gz 168997
jbigkit contrib/jbigkit/jbigkit-1.2-3.tar.gz 83876
jpeg contrib/jpeg/jpeg-6b-3.tar.gz 300495
libpng contrib/libpng/libpng-1.0.9-3.tar.gz 271638
patch latest/patch/patch-2.5-2.tar.gz 41408
readline contrib/readline/readline-4.1-2.tar.gz 646802
tcltk latest/tcltk/tcltk-20001125-1.tar.gz 1756413
tiff contrib/tiff/tiff-3.5.5-3.tar.gz 488508
xpm contrib/xpm/xpm-4.0.0-2.tar.gz 421955
zlib contrib/zlib/zlib-1.1.3-6.tar.gz 72843
gdb latest/gdb/gdb-20001125-1.tar.gz 3650851
termcap latest/termcap/termcap-20001216-1.tar.gz 18697
autoconf latest/autoconf/autoconf-2.13-2.tar.gz 261675
mingw latest/mingw/mingw-20010130-1.tar.gz 138206
w32api latest/w32api/w32api-20010130-1.tar.gz 616451
crypt latest/crypt/crypt-1.0-1.tar.gz 7407
gawk latest/gawk/gawk-3.0.4-1.tar.gz 326380
less latest/less/less-358-3.tar.gz 140313
automake latest/automake/automake-1.4-3.tar.gz 205609
inetutils latest/inetutils/inetutils-1.3.2-11.tar.gz 258029
ash latest/ash/ash-20010326.tar.gz 34766
fileutils latest/fileutils/fileutils-4.0-3.tar.gz 567536
gcc latest/gcc/gcc-2.95.3-2.tar.gz 4929729
groff latest/groff/groff-1.16.1-1.tar.gz 1256121
gzip latest/gzip/gzip-1.3-1.tar.gz 41910
make latest/make/make-3.79.1-3.tar.gz 288790
openssh latest/openssh/openssh-2.5.2p2-3.tar.gz 1405727
sh-utils latest/sh-utils/sh-utils-2.0-2.tar.gz 456237
ssmtp contrib/ssmtp/ssmtp-2.38.7-2.tar.gz 21042
tar latest/tar/tar-1.13.19-1.tar.gz 334339
tcsh contrib/tcsh/tcsh-6.10.00-3.tar.gz 370903
texinfo latest/texinfo/texinfo-4.0-4.tar.gz 545568


output from cygcheck -s -v -r:

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Apr 19 11:28:32 2001

Win95 Ver 4.0 build 67306684  B

Path:  /usr/local/SuperIde
   /usr/local/bin
   /usr/bin
   /bin
   /windows
   /windows/COMMAND
   /cygdrive/c/SQLANY50/WIN
   /cygdrive/c/PWRS/IM5I32DK
   /cygdrive/c/PKWARE
   /cygdrive/c/SQLANY50/WIN32
   /cygdrive/c/JAVA/BIN
   /cygdrive/c/JAVA/LIB
   /cygdrive/c/JAVA
   /cygdrive/c/PROGRA~1/SYBASE/ADAPTI~1.0/WIN32
   /cygdrive/c/SQLLIB/BIN
   /cygdrive/c/SQLLIB/HELP
   /cygdrive/c/IMNNQ_95
   /cygdrive/c/PROGRA~1/SYBASE/ADAPTI~1.0/WIN32
   /cygdrive/c/PROGRA~1/SYBASE/ADAPTI~1.0/WIN32
   /usr/share/vim/vim57
   /usr/share/vim/gvim56

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

PWD = `/cygdrive/c/windows/temp'
USER = `briank'
MAKE_MODE = `unix'
HOME = `/usr/local/briank'

PROMPT = `$p$g'
COMSPEC = `C:\COMMAND.COM'
!C: = `C:\WINDOWS'
SQLREMOTE = `F:\'
CMDLINE = `d:\cygwin\bin\login'
IMNINSTSRV = `C:\IMNNQ_95'
DB2INSTANCE = `DB2'
HOSTNAME = `BK_SATELLITE'
!D: = `D:\cygwin'
DB2TEMPDIR = `C:\SQLLIB'
CLASSPATH = 
`;;C:\SQLLIB\FUNCTION;C:\JAVA\LIB\CLASSES.ZIP;.;C:\SQLLIB\java\db2java.zi
p;C:\SQLLIB\java\runtime.zip'
WINDIR = `C:\WINDOWS'
WINBOOTDIR = `C:\WINDOWS'
PS1 = `]0;\w
\u@\h \w
$ '
OMNIS  = ` C:\Program Files\OMNIS Software Inc\OS23'
BLASTER = `A220 I5 D3 T4'
ASANY = `C:\Program Files\Sybase\Adaptive Server Anywhere 6.0'
MACHTYPE = `i686-pc-cygwin'
OLDPWD = `/tmp'
TEMP = `/tmp'
HOST = `C:\windows\hosts'
IMNINST = `help'
TMP = `/tmp'
SHLVL = `1'
SQLANY = `c:\sqlany50'
DB2PATH = `C:\SQLLIB'
SHELL = `/bin/bash'
HOSTTYPE = `i686'
CVSROOT = `:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src'
OSTYPE = `cygwin'
TERM = `cygwin'
BPDIR = `C:\PCBP'
CVS_PASSFILE = `/usr/local/briank/.cvspass'
_ = `/usr/bin/cygcheck'
TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2'

<snip>  registry keys omitted since they are meaningless

a:  fd           N/A    N/A                    
c:  hd  FAT32   2043Mb  87% CP    UN           C_DRIVE
d:  hd  FAT32   2098Mb  86% CP    UN           D_DRIVE
e:  cd  CDFS     599Mb 100% CP                 000511_1825
f:  net NTFS    2047Mb   0% CP CS UN PA FC     
g:  net NTFS    2047Mb   0% CP CS UN PA FC     
m:  net NTFS    2047Mb   0% CP CS UN PA FC     
n:  net NTFS    2047Mb   0% CP CS UN PA FC     
s:  net NTFS    2047Mb   0% CP CS UN PA FC     FPC_ALB_SRV
t:  net NTFS    2047Mb   0% CP CS UN PA FC     
u:  net NTFS    2047Mb   0% CP CS UN PA FC     DB2_ALB3

d:\cygwin\bin  /usr/bin  user    binmode
d:\cygwin\lib  /usr/lib  user    binmode
c:\windows  /windows  user    textmode
d:\cygwin  /        user    binmode

Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: c:\windows\COMMAND\find.exe
Warning: d:\cygwin\bin\find.exe hides c:\windows\COMMAND\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe

   81k 2000/11/26 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 20:43
   35k 2000/11/26 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 20:43
  390k 2000/11/26 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 20:39
    5k 2000/11/26 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/11/26 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25 20:39
  623k 2000/11/26 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 20:43
   18k 2000/10/23 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/22 22:26
  163k 2001/02/03 d:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/2/3 16:21
   49k 2001/02/03 d:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 15:35
   14k 2000/10/23 d:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/23 15:02
   45k 2000/10/22 d:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2000/10/22 19:06
  119k 2000/10/22 d:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/22 20:58
  243k 2000/10/23 d:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/22 21:14
   17k 2001/01/07 d:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
  108k 2001/01/07 d:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
   82k 2001/01/21 d:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/1/21 15:39
   53k 2001/01/21 d:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/1/21 15:39
  414k 2001/01/21 d:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 
sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/1/21 15:40
  299k 2001/01/21 d:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/1/21 15:38
   34k 2001/01/21 d:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/1/21 15:38
   41k 2000/11/20 d:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2000/11/19 21:41
   45k 2000/11/20 d:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/19 21:45
   56k 2000/12/03 d:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 18:53
  615k 2001/01/31 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/1/31 10:08
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

Use -h to see help about each section





More information about the Cygwin-developers mailing list