Bug#526581: xgalaga: FTBFS: conflicting types for 'fd_set'

Daniel Schepler dschepler at gmail.com
Fri May 1 23:20:01 UTC 2009


Package: xgalaga
Version: 2.1.1.0-3
Severity: serious

From my pbuilder build log:

...
gcc -I. -Wall -g -DXF86VIDMODE -O2 -DHAVE_CONFIG_H  -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o
In file included from /usr/include/sys/time.h:31,
                 from /usr/include/linux/input.h:12,
                 from /usr/include/linux/joystick.h:31,
                 from linux-joystick.c:9:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:12: error: previous declaration of 'fd_set' was here
In file included from /usr/include/linux/input.h:14,
                 from /usr/include/linux/joystick.h:31,
                 from linux-joystick.c:9:
/usr/include/sys/types.h:46: error: conflicting types for 'loff_t'
/usr/include/linux/types.h:30: error: previous declaration of 'loff_t' was here
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/linux/input.h:14,
                 from /usr/include/linux/joystick.h:31,
                 from linux-joystick.c:9:
/usr/include/time.h:105: error: conflicting types for 'timer_t'
/usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here
In file included from /usr/include/linux/input.h:14,
                 from /usr/include/linux/joystick.h:31,
                 from linux-joystick.c:9:
/usr/include/sys/types.h:198: error: conflicting types for 'int64_t'
/usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here
/usr/include/sys/types.h:204: error: conflicting types for 'u_int64_t'
/usr/include/linux/types.h:97: error: previous declaration of 'u_int64_t' was here
In file included from /usr/include/linux/input.h:14,
                 from /usr/include/linux/joystick.h:31,
                 from linux-joystick.c:9:
/usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
/usr/include/linux/types.h:119: error: previous declaration of 'blkcnt_t' was here
make[1]: *** [linux-joystick.o] Error 1
make[1]: Leaving directory `/tmp/buildd/xgalaga-2.1.1.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
-- 
Daniel Schepler






More information about the Pkg-games-devel mailing list