UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
CLOSED  Bug report #455  -  error: expected specifier-qualifier-list before ‘INT32’
Posted Nov 25, 2006 - updated Jan 28, 2013
icon_info.png This issue has been closed with status "Closed" and resolution "Not determined".
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
  • Resolution
    Not determined
  • Priority
    3. Normal
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Item 455 imported from sourceforge.net tracker on 2013-01-28 18:21:29

I get the following error when building the latest SVN:

  • RGL src/ports/linux/gl_glx.c
In file included from src/ports/linux/gl_glx.c:59: /usr/include/X11/extensions/xf86vmode.h:108: error: expected specifier-qualifier-list before ‘INT32’ /usr/include/X11/extensions/xf86vmode.h:129: error: expected specifier-qualifier-list before ‘INT32’ make: *** debug-linux-gnu-x86_64/ref_gl/ports/linux/gl_glx.o Error 1
Comments Ported from Sourceforge  ⇑ top
tritol (2006-11-25 10:59:03)  ⇑ top
Logged In: YES user_id=1020281 Originator: NO

I had same problem, it can be fixed by one undef (dont't ask me why :), maybe some x86_64 issue

Index: src/ports/linux/gl_glx.c
======================================================= ⇑ top
--- src/ports/linux/gl_glx.c (revision 4864) +++ src/ports/linux/gl_glx.c (working copy) @@ -56,6 +56,7 @@
 #endif /* HAVE_DGA */
+#undef XMD_H
 #include <X11/extensions/xf86vmode.h>
 #ifdef _XF86VIDMODE_H_
 #define HAVE_XF86_VIDMODE
cassiterite (2006-12-15 13:21:39)  ⇑ top
Logged In: YES user_id=1171370 Originator: NO

Thanks for the report. It finally started causing problems for me, although I&#039;m not sure why it wasn&#039;t afflicting me earlier.

Should be fixed in trunk revision 5175 (note the patch we used is slightly different to tritol&#039;s suggestion, although tritol&#039;s patch was extremely useful in working out what was goig on - thanks).
Steps to reproduce this issue
Nothing entered.