Bug 12310 - Change the include order in the generated Makefile
Summary: Change the include order in the generated Makefile
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: low trivial
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-07 03:24 UTC by Jaime Torres
Modified: 2018-06-11 19:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jaime Torres 2007-09-07 03:24:29 UTC
When compiling the xorg-server-1.4, the configure script generated the following include sequence:
-I/usr/X11R6/include -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb

Unfortunately, when you have previous versions of server xorg installed, 1.2 in my case, there are .h files in /usr/X11R6/include/xorg incompatibles with the current version.

Changing the order to:
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -I/usr/X11R6/include -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   
(i.e., including first the local directories and then the global directories)
fixes the compilation problems.

Best Regards and many thanks for such an incredible server.
Comment 1 Adam Jackson 2018-06-11 19:25:16 UTC
This hasn't been a problem in a while.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.