GCC search path

Lisa Kachold lisakachold at obnosis.com
Wed Jun 15 12:32:19 MST 2011


Hi Nathan;

On Wed, Jun 15, 2011 at 12:21 PM, Nathan England <nathan at paysonlinux.org>wrote:

> I am having a problem compiling X and some of the drivers. I get things
> such as:
>
> ../config.h:4:25: fatal error: xorg-server.h: No such file or directory
>
> yet xorg-server.h is in /usr/include/xorg/xorg-server.h
>
> Why is gcc not searching directories inside my /usr/include directory?
>
> I have tried editing the config.h to point to xorg/xorg-server.h which
> works until the next file fails... I tried adding
> CPPFLAGS="-I/usr/include/xorg" which works also, but then gcc no longer
> searches anywhere else in the /usr/include dir.
>
> I am at a loss. I have compiled dozens of programs on this so far and not a
> single problem... until X. What am I missing?
>
What is your path?

What is the distro and version please?

Example:

http://www.linuxquestions.org/questions/linux-kernel-70/removal-of-include-linux-config-h-file-in-2-6-19-kernel-506363/

Is this a package rather than compiled version of Xorg?

Versions please?

Are you compiling a VPN client against this?

-- 
(602) 791-8002  Android
(623) 239-3392 Skype
(623) 688-3392 Google Voice
**
HomeSmartInternational.com <http://www.homesmartinternational.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110615/29e5f3d2/attachment.html>


More information about the PLUG-discuss mailing list