Number: 1491
Title: cygwin compilation fails
Submitter: Terrence Brannon
Date: Tue Oct 21 06:03:22 2008
Subsys: Build/Installation
Version: 2.20.3
System: x86-Other-Cygwin
Severity: major
Problem:

make[5]: Entering directory `/cygdrive/c/downloads/graphviz-2.20.3/cmd/lefty/ws/mswin32'
/bin/sh ../../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../..  -I../../../../cmd/lefty  -I/usr/local/include  -g -O2 -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c -o garray.lo garray.c
 gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../cmd/lefty -I/usr/local/include -g -O2 -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c  -DDLL_EXPORT -DPIC -o .libs/garray.o
In file included from garray.c:21:
gcommon.h:25: error: parse error before "hinstance"
gcommon.h:25: warning: type defaults to `int' in declaration of `hinstance'
gcommon.h:25: warning: type defaults to `int' in declaration of `hprevinstance'
gcommon.h:25: warning: data definition has no type or storage class
gcommon.h:28: error: parse error before "PIXxy_t"
gcommon.h:28: warning: type defaults to `int' in declaration of `PIXxy_t'
gcommon.h:28: warning: data definition has no type or storage class
gcommon.h:29: error: parse error before "PIXpoint_t"
gcommon.h:29: warning: type defaults to `int' in declaration of `PIXpoint_t'
gcommon.h:29: warning: data definition has no type or storage class
gcommon.h:30: error: parse error before "PIXsize_t"
gcommon.h:30: warning: type defaults to `int' in declaration of `PIXsize_t'
gcommon.h:30: warning: data definition has no type or storage class
gcommon.h:32: error: parse error before "PIXxy_t"
gcommon.h:32: warning: no semicolon at end of struct or union
gcommon.h:33: warning: type defaults to `int' in declaration of `PIXrect_t'
gcommon.h:33: warning: data definition has no type or storage class
gcommon.h:46: error: parse error before '*' token
gcommon.h:46: warning: type defaults to `int' in declaration of `Gppp'
gcommon.h:46: warning: data definition has no type or storage class
gcommon.h:54: error: parse error before "HFONT"
gcommon.h:54: warning: no semicolon at end of struct or union
gcommon.h:55: warning: type defaults to `int' in declaration of `Gfont_t'
gcommon.h:55: warning: data definition has no type or storage class
gcommon.h:56: error: parse error before '*' token
gcommon.h:56: warning: type defaults to `int' in declaration of `Gfontp'
gcommon.h:56: warning: data definition has no type or storage class
gcommon.h:175: error: parse error before "PIXsize_t"
gcommon.h:175: warning: function declaration isn't a prototype
gcommon.h:177: error: parse error before "PIXpoint_t"
gcommon.h:177: warning: function declaration isn't a prototype
garray.c: In function `GAcreatewidget':
garray.c:29: error: parse error before "ps"
garray.c:30: error: `DWORD' undeclared (first use in this function)
garray.c:30: error: (Each undeclared identifier is reported only once
garray.c:30: error: for each function it appears in.)
garray.c:37: error: `wflags' undeclared (first use in this function)
garray.c:37: error: `WS_CHILDWINDOW' undeclared (first use in this function)
garray.c:40: error: `ps' undeclared (first use in this function)
garray.c:44: warning: left-hand operand of comma expression has no effect
garray.c:47: error: `WS_BORDER' undeclared (first use in this function)
garray.c:87: warning: implicit declaration of function `CreateWindow'
garray.c:89: error: `HMENU' undeclared (first use in this function)
garray.c:91: warning: assignment makes pointer from integer without a cast
garray.c:95: warning: implicit declaration of function `ShowWindow'
garray.c:95: error: `SW_SHOW' undeclared (first use in this function)
garray.c:96: warning: implicit declaration of function `UpdateWindow'
garray.c: In function `GAsetwidgetattr':
garray.c:104: error: parse error before "ps"
garray.c:105: error: `DWORD' undeclared (first use in this function)
garray.c:109: error: `wflags1' undeclared (first use in this function)
garray.c:109: error: `SWP_NOMOVE' undeclared (first use in this function)
garray.c:109: error: `SWP_NOZORDER' undeclared (first use in this function)
garray.c:113: error: `ps' undeclared (first use in this function)
garray.c:113: warning: left-hand operand of comma expression has no effect
garray.c:115: warning: implicit declaration of function `SetWindowPos'
garray.c:115: error: `HWND' undeclared (first use in this function)
garray.c: In function `GAgetwidgetattr':
garray.c:151: error: `RECT' undeclared (first use in this function)
garray.c:151: error: parse error before "r"
garray.c:157: warning: implicit declaration of function `GetWindowRect'
garray.c:157: error: `r' undeclared (first use in this function)
garray.c:173: warning: long unsigned int format, Widget arg (arg 3)
garray.c:173: warning: long unsigned int format, Widget arg (arg 3)
garray.c: In function `GAdestroywidget':
garray.c:197: warning: implicit declaration of function `DestroyWindow'
garray.c: In function `Gaworder':
garray.c:206: error: structure has no member named `data'
garray.c: In function `Gawsetmode':
garray.c:212: error: structure has no member named `data'
garray.c: In function `Gawgetmode':
garray.c:218: error: structure has no member named `data'
garray.c: In function `Gawinitialize':
garray.c:244: error: structure has no member named `data'
garray.c:245: error: structure has no member named `data'
garray.c:247: error: structure has no member named `data'
garray.c:248: error: structure has no member named `data'
garray.c:249: error: structure has no member named `data'
garray.c:250: error: structure has no member named `data'
garray.c: In function `Gawdestroy':
garray.c:254: error: structure has no member named `data'
garray.c:255: error: structure has no member named `data'
garray.c:255: error: structure has no member named `data'
garray.c: In function `Gawinsertchild':
garray.c:263: error: structure has no member named `data'
garray.c:263: error: structure has no member named `data'
garray.c:264: error: structure has no member named `data'
garray.c:265: error: structure has no member named `data'
garray.c:266: error: structure has no member named `data'
garray.c:268: error: structure has no member named `data'
garray.c:270: error: structure has no member named `data'
garray.c:270: error: structure has no member named `data'
garray.c: In function `Gawdeletechild':
garray.c:277: error: structure has no member named `data'
garray.c:278: error: structure has no member named `data'
garray.c:280: error: structure has no member named `data'
garray.c:281: error: structure has no member named `data'
garray.c:282: error: structure has no member named `data'
garray.c:282: error: structure has no member named `data'
garray.c:283: error: structure has no member named `data'
garray.c: In function `dolayout':
garray.c:291: error: `RECT' undeclared (first use in this function)
garray.c:291: error: parse error before "r"
garray.c:294: error: structure has no member named `data'
garray.c:294: error: structure has no member named `data'
garray.c:296: error: structure has no member named `data'
garray.c:297: error: structure has no member named `data'
garray.c:300: error: `r' undeclared (first use in this function)
garray.c:308: warning: implicit declaration of function `GetClientRect'
garray.c:309: warning: left-hand operand of comma expression has no effect
garray.c:325: error: `HWND' undeclared (first use in this function)
garray.c:325: error: `SWP_NOMOVE' undeclared (first use in this function)
garray.c:326: error: `SWP_NOZORDER' undeclared (first use in this function)
garray.c:334: error: structure has no member named `data'
garray.c:309: warning: statement with no effect
garray.c: In function `GAsetwidgetattr':
garray.c:113: warning: statement with no effect
garray.c: In function `GAcreatewidget':
garray.c:44: warning: statement with no effect
make[5]: *** [garray.lo] Error 1
make[5]: Leaving directory `/cygdrive/c/downloads/graphviz-2.20.3/cmd/lefty/ws/mswin32'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/downloads/graphviz-2.20.3/cmd/lefty/ws'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/downloads/graphviz-2.20.3/cmd/lefty'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/downloads/graphviz-2.20.3/cmd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/downloads/graphviz-2.20.3'
make: *** [all] Error 2
Administrator@LIFEBOOK /cygdrive/c/downloads/graphviz-2.20.3 :

Input file: b1491.txt
Comments: The dotfile is actually the config.log
Owner: *
Status: *