Hi
trying to compile fvwm 2.5.16 with trans-patch.
i get this error:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/X11 -Wall -Wno-implicit-int -march=i686 -O2 -pipe -MT gravity.o -MD -MP -MF ".deps/gravity.Tpo" -c -o gravity.o gravity.c; \
then mv -f ".deps/gravity.Tpo" ".deps/gravity.Po"; else rm -f ".deps/gravity.Tpo"; exit 1; fi
In file included from gravity.c:19:
../config.h:575:22: error: X11/Xlib.h: No such file or directory
In file included from ../config.h:576,
from gravity.c:19:
../libs/FEvent.h:28: error: syntax error before 'fev_get_evtime'
../libs/FEvent.h:28: warning: data definition has no type or storage class
../libs/FEvent.h:34: error: syntax error before 'fev_get_evpos_or_query'
../libs/FEvent.h:35: error: syntax error before '*' token
../libs/FEvent.h:35: warning: data definition has no type or storage class
../libs/FEvent.h:39: error: syntax error before 'fev_set_evpos'
../libs/FEvent.h:39: error: syntax error before '*' token
../libs/FEvent.h:39: warning: data definition has no type or storage class
../libs/FEvent.h:42: error: syntax error before '*' token
../libs/FEvent.h:51: error: syntax error before '*' token
../libs/FEvent.h:54: error: syntax error before '*' token
../libs/FEvent.h:59: error: syntax error before '*' token
../libs/FEvent.h:60: error: syntax error before '*' token
../libs/FEvent.h:60: warning: data definition has no type or storage class
../libs/FEvent.h:62: error: syntax error before '*' token
../libs/FEvent.h:63: error: syntax error before 'FCheckIfEvent'
../libs/FEvent.h:64: error: syntax error before '*' token
../libs/FEvent.h:65: error: syntax error before '*' token
../libs/FEvent.h:65: error: 'FCheckIfEvent' declared as function returning a function
../libs/FEvent.h:66: error: syntax error before 'arg'
../libs/FEvent.h:68: error: syntax error before '*' token
../libs/FEvent.h:68: warning: data definition has no type or storage class
../libs/FEvent.h:69: error: syntax error before 'FCheckPeekIfEvent'
../libs/FEvent.h:70: error: syntax error before '*' token
../libs/FEvent.h:71: error: syntax error before '*' token
../libs/FEvent.h:71: error: 'FCheckPeekIfEvent' declared as function returning a function
../libs/FEvent.h:72: error: syntax error before 'arg'
../libs/FEvent.h:74: error: syntax error before '*' token
../libs/FEvent.h:74: warning: data definition has no type or storage class
../libs/FEvent.h:75: error: syntax error before 'FCheckTypedWindowEvent'
../libs/FEvent.h:76: error: syntax error before '*' token
../libs/FEvent.h:76: warning: data definition has no type or storage class
../libs/FEvent.h:77: error: syntax error before 'FCheckWindowEvent'
../libs/FEvent.h:78: error: syntax error before '*' token
../libs/FEvent.h:78: warning: data definition has no type or storage class
../libs/FEvent.h:80: error: syntax error before '*' token
../libs/FEvent.h:82: error: syntax error before '*' token
../libs/FEvent.h:83: error: syntax error before '*' token
../libs/FEvent.h:83: error: 'FIfEvent' declared as function returning a function
../libs/FEvent.h:84: error: syntax error before 'arg'
../libs/FEvent.h:86: error: syntax error before '*' token
../libs/FEvent.h:88: error: syntax error before '*' token
../libs/FEvent.h:90: error: syntax error before '*' token
../libs/FEvent.h:92: error: syntax error before '*' token
../libs/FEvent.h:93: error: syntax error before '*' token
../libs/FEvent.h:93: error: 'FPeekIfEvent' declared as function returning a function
../libs/FEvent.h:94: error: syntax error before 'arg'
../libs/FEvent.h:96: error: syntax error before '*' token
../libs/FEvent.h:98: error: syntax error before '*' token
../libs/FEvent.h:100: error: syntax error before '*' token
../libs/FEvent.h:101: error: syntax error before 'FQueryPointer'
../libs/FEvent.h:102: error: syntax error before '*' token
../libs/FEvent.h:104: warning: data definition has no type or storage class
../libs/FEvent.h:106: error: syntax error before '*' token
../libs/FEvent.h:107: error: syntax error before 'FSendEvent'
../libs/FEvent.h:108: error: syntax error before '*' token
../libs/FEvent.h:109: warning: data definition has no type or storage class
../libs/FEvent.h:111: error: syntax error before '*' token
../libs/FEvent.h:115: error: syntax error before '*' token
In file included from gravity.c:26:
fvwmrect.h:58: error: syntax error before '*' token
gravity.c: In function 'gravity_get_offsets':
gravity.c:86: error: 'ForgetGravity' undeclared (first use in this function)
gravity.c:86: error: (Each undeclared identifier is reported only once
gravity.c:86: error: for each function it appears in.)
gravity.c:86: error: 'StaticGravity' undeclared (first use in this function)
gravity.c: In function 'gravity_grav_to_dir':
gravity.c:149: error: 'NorthWestGravity' undeclared (first use in this function)
gravity.c:151: error: 'NorthGravity' undeclared (first use in this function)
gravity.c:153: error: 'NorthEastGravity' undeclared (first use in this function)
gravity.c:155: error: 'WestGravity' undeclared (first use in this function)
gravity.c:157: error: 'CenterGravity' undeclared (first use in this function)
gravity.c:159: error: 'EastGravity' undeclared (first use in this function)
gravity.c:161: error: 'SouthWestGravity' undeclared (first use in this function)
gravity.c:163: error: 'SouthGravity' undeclared (first use in this function)
gravity.c:165: error: 'SouthEastGravity' undeclared (first use in this function)
gravity.c:167: error: 'ForgetGravity' undeclared (first use in this function)
gravity.c:168: error: 'StaticGravity' undeclared (first use in this function)
gravity.c: In function 'gravity_dir_to_grav':
gravity.c:180: error: 'NorthGravity' undeclared (first use in this function)
gravity.c:182: error: 'EastGravity' undeclared (first use in this function)
gravity.c:184: error: 'SouthGravity' undeclared (first use in this function)
gravity.c:186: error: 'WestGravity' undeclared (first use in this function)
gravity.c:188: error: 'NorthEastGravity' undeclared (first use in this function)
gravity.c:190: error: 'SouthEastGravity' undeclared (first use in this function)
gravity.c:192: error: 'SouthWestGravity' undeclared (first use in this function)
gravity.c:194: error: 'NorthWestGravity' undeclared (first use in this function)
gravity.c:197: error: 'ForgetGravity' undeclared (first use in this function)
gravity.c: In function 'gravity_combine_xy_grav':
gravity.c:206: error: 'NorthWestGravity' undeclared (first use in this function)
gravity.c:207: error: 'WestGravity' undeclared (first use in this function)
gravity.c:208: error: 'SouthWestGravity' undeclared (first use in this function)
gravity.c:211: error: 'NorthEastGravity' undeclared (first use in this function)
gravity.c:212: error: 'EastGravity' undeclared (first use in this function)
gravity.c:213: error: 'SouthEastGravity' undeclared (first use in this function)
gravity.c:217: error: 'CenterGravity' undeclared (first use in this function)
gravity.c:223: error: 'NorthGravity' undeclared (first use in this function)
gravity.c:228: error: 'SouthGravity' undeclared (first use in this function)
gravity.c: In function 'gravity_split_xy_grav':
gravity.c:261: error: 'NorthWestGravity' undeclared (first use in this function)
gravity.c:262: error: 'WestGravity' undeclared (first use in this function)
gravity.c:263: error: 'SouthWestGravity' undeclared (first use in this function)
gravity.c:266: error: 'NorthEastGravity' undeclared (first use in this function)
gravity.c:267: error: 'EastGravity' undeclared (first use in this function)
gravity.c:268: error: 'SouthEastGravity' undeclared (first use in this function)
gravity.c:271: error: 'NorthGravity' undeclared (first use in this function)
gravity.c:272: error: 'CenterGravity' undeclared (first use in this function)
gravity.c:273: error: 'SouthGravity' undeclared (first use in this function)
gravity.c:274: error: 'ForgetGravity' undeclared (first use in this function)
gravity.c:275: error: 'StaticGravity' undeclared (first use in this function)
make[2]: *** [gravity.o] Error 1
make[2]: Leaving directory `/home/volker/.aurbuild/fvwm-trans/src/fvwm-2.5.16/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/volker/.aurbuild/fvwm-trans/src/fvwm-2.5.16'
make: *** [all] Error 2