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

Bug#392577: xserver-xorg-input-magellan: FTBFS: conflicting types for 'xf86usleep'



Package: xserver-xorg-input-magellan
Version: 1:1.0.0.5-2
Severity: serious

When building 'xserver-xorg-input-magellan' on unstable,
I get the following error:

make[3]: Entering directory `/xserver-xorg-input-magellan-1.0.0.5/obj-x86_64-linux-gnu/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I..     -Wall -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg    -I../../src -MT magellan.lo -MD -MP -MF ".deps/magellan.Tpo" \
	  -c -o magellan.lo `test -f '../../src/magellan.c' || echo '../../src/'`../../src/magellan.c; \
	then mv -f ".deps/magellan.Tpo" ".deps/magellan.Plo"; \
	else rm -f ".deps/magellan.Tpo"; exit 1; \
	fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I../../src -MT magellan.lo -MD -MP -MF .deps/magellan.Tpo -c ../../src/magellan.c  -fPIC -DPIC -o .libs/magellan.o
../../src/magellan.c:48:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from ../../src/magellan.c:38:
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/xorg/xisb.h:32,
                 from ../../src/magellan.c:52:
/usr/include/unistd.h:405: error: conflicting types for 'xf86usleep'
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of 'xf86usleep' was here
In file included from /usr/include/xorg/xisb.h:32,
                 from ../../src/magellan.c:52:
/usr/include/unistd.h:884:29: error: macro "getpagesize" passed 1 arguments, but takes just 0
make[3]: *** [magellan.lo] Error 1
make[3]: Leaving directory `/xserver-xorg-input-magellan-1.0.0.5/obj-x86_64-linux-gnu/src'
make: *** [build-stamp] Error 2

Regards
Andreas Jochens




Reply to: