UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #455 error: expected specifier-qualifier-list before ‘INT32’
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/455 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 =====

====== tritol (2006-11-25 10:59:03) ======

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
===================================================================
--- src/ports/linux/gl_glx.c (revision 4864)
+++ src/ports/linux/gl_glx.c (working copy)
@@ -56,6 +56,7 @@
#endif /* HAVE_DGA */

#ifdef HAVE_VIDMODE
+#undef XMD_H
#include <X11/extensions/xf86vmode.h>
#ifdef _XF86VIDMODE_H_
#define HAVE_XF86_VIDMODE

====== cassiterite (2006-12-15 13:21:39) ======

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.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif