[Xorg] Error building X11

Michael Frey mfrey at pepper.com
Mon Jun 28 11:31:45 PDT 2004


There is Xlibint.h in X11/include/X11 and when I delete it I can no 
longer build.

[root at chawa freedesktop]# cd X11/
[root at chawa X11]# make
Making all in include
make[1]: Entering directory `/home/michael.frey/freedesktop/X11/include'
make[1]: *** No rule to make target `X11/Xlibint.h', needed by 
`all-am'.  Stop.
make[1]: Leaving directory `/home/michael.frey/freedesktop/X11/include'
make: *** [all-recursive] Error 1

I even tried to delete everything and start over.  I use the build 
script that is posted on the freedesktop website.


On Jun 28, 2004, at 2:16 PM, Daniel Stone wrote:

> On Mon, Jun 28, 2004 at 02:06:50PM -0400, Michael Frey wrote:
>> I am trying to build the latest and I get the following build error
>> when building X11.
>>
>>  xscale_le-gcc -DHAVE_CONFIG_H -I. -I. -I. -include config.h
>> -I../include -I../include/X11 -Wall -Wpointer-arith 
>> -Wstrict-prototypes
>> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
>> -fno-strict-aliasing -D_BSD_SOURCE -I/opt/fdo/include
>> -I/opt/fdo/include/X11/Xtrans -D_XOPEN_SOURCE -I/opt/fdo/include
>> -DXTHREADS -DXUSE_MTSAFE_API -DX11_DATADIR=\"/opt/fdo/share/X11\" -g
>> -O2 -MT GetDflt.lo -MD -MP -MF .deps/GetDflt.Tpo -c GetDflt.c  -fPIC
>> -DPIC -o .libs/GetDflt.o
>> GetDflt.c: In function `XGetDefault':
>> GetDflt.c:240: error: `XlibDispayDfltRMDB' undeclared (first use in
>> this function)
>> GetDflt.c:240: error: (Each undeclared identifier is reported only 
>> once
>> GetDflt.c:240: error: for each function it appears in.)
>> make[3]: *** [GetDflt.lo] Error 1
>
> That's weird - looks like your Xlib.h/Xlibint.h is desynced. Try
> deleting include/Xlibint.h and seeing ... oh.
>
> It's picking up Xlibint.h from somewhere else, maybe? If you have an
> Xlibint.h somewhere else, delete it.
>
> -- 
> Daniel Stone                                            
> <daniel at freedesktop.org>
> freedesktop.org: powering your desktop                
> http://www.freedesktop.org





More information about the xorg mailing list