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

bitops.h toolchain error? (Re: xserver-xorg-input-evdev)



I've applied Geert's inotify codes to xserver-xorg-input-evdev, that
seems to be fine as far as it goes.

The build fails [1] on what appears to be a toolchain bug, outside of
xserver-xorg-input-evdev. Namely, we get:

 gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -Wall -g -O2
-DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER
-I/usr/include/xorg -I../../src -MT evdev_drv_la-evdev.lo -MD -MP
-MF .deps/evdev_drv_la-evdev.Tpo -c ../../src/evdev.c  -fPIC -DPIC
-o .libs/evdev_drv_la-evdev.o
In file included from ../../src/evdev.h:88,
                 from ../../src/evdev.c:66:
/usr/include/asm/bitops.h:170: error: expected identifier or '(' before 'const'
/usr/include/asm/bitops.h:170: error: expected ')' before '&' token

It would appear to be saying there is something wrong with bitops.h,
but please inform me if the problem is in the xserver-xorg-input-evdev
code after all.

Thanks,
Drew



Reply to: