We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3782 - error: 'ABS_MT_SLOT' undeclared (first use in this function)
Summary: error: 'ABS_MT_SLOT' undeclared (first use in this function)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.5
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 15:37 UTC by mittorn
Modified: 2017-08-28 16:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mittorn 2017-08-28 15:37:06 UTC
CC     build/SDL_dummy_main.o
/root/xash3d/SDL2-2.0.5/src/core/linux/SDL_evdev.c: In function 'SDL_EVDEV_Poll':
/root/xash3d/SDL2-2.0.5/src/core/linux/SDL_evdev.c:454: error: 'ABS_MT_SLOT' undeclared (first use in this function)
/root/xash3d/SDL2-2.0.5/src/core/linux/SDL_evdev.c:454: error: (Each undeclared identifier is reported only once
/root/xash3d/SDL2-2.0.5/src/core/linux/SDL_evdev.c:454: error: for each function it appears in.)
make: *** [build/SDL_evdev.lo] Error 1


When trying to build it with old linux headers.
I think, you need to add check for new events definations and disable linuxev, or add new option.
Now it seems to be impossible to disable linuxev without editing configuration at all.
Comment 1 Sam Lantinga 2017-08-28 16:48:28 UTC
It looks like this is fixed in the latest SDL snapshot:
http://www.libsdl.org/tmp/SDL-2.0.zip