XOrg 6.8 build error "Unsupported size of `long' type!"

Anton Markov anton at truxtar.com
Sun Sep 12 07:54:34 PDT 2004


Hello everyone,

I am trying to build XOrg 6.8 on a Debian Unstable system, and I am
getting the following two errors:

../../../../config/makedepend/makedepend: warning:  psout.c (reading
../../../../extras/freetype2/include/freetype/config/ftconfig.h), line
82: #error "Unsupported size of `int' type!"

../../../../config/makedepend/makedepend: warning:  psout.c (reading
../../../../extras/freetype2/include/freetype/config/ftconfig.h), line
91: #error "Unsupported size of `long' type!"

This error was appearantly discussed and "fixed" in bug #601:
<http://freedesktop.org/bugzilla/show_bug.cgi?id=601>

While the "real" fix in comment #9 of that bug is part of 6.8, it 
doesn't work for me for some reason. I had to use the "hard" fix in 
comment #7 to get it to compile cleanly.

That patch seems harmless enough, but I was wondering if someone can
shed some light on why I am still getting this error after the
"official" fix?

If you need to know anything else, just tell me.

Thanks.

Other info:

My config/cf/host.def file has only one entry (otherwise the symbol is
not defined at all, and I get gcc errors):
#define DefaultGcc2i386Opt	-O2

I am running on a P4 2.4GHZ system with 512MB RAM.

My compilation log is included below (relevant lines with some context):

Compile command:
$ make World > World.log 2>&1

=== BEGIN World.log ===
<snip>

../../../../config/makedepend/makedepend: warning:  PsInit.c (reading
/usr/include/limits.h, line 124): cannot find include file "limits.h"
	not in DefaultGccIncludeDir/limits.h
../../../../config/makedepend/makedepend: warning:  psout.c (reading
../../../../extras/freetype2/include/freetype/config/ftstdlib.h, line
138): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../../cfb/stdarg.h
	not in ../../mi/stdarg.h
	not in ../../mfb/stdarg.h
	not in ../../../../lib/stdarg.h
	not in ../../../../exports/include/X11/stdarg.h
	not in ../../include/stdarg.h
	not in ../stdarg.h
	not in ../../../../include/stdarg.h
	not in ../../../../include/extensions/stdarg.h
	not in ../../../../include/fonts/stdarg.h
	not in ../../../../lib/font/include/stdarg.h
	not in ../../../../extras/freetype2/include/stdarg.h
	not in ../../../../extras/freetype2/src/type42/stdarg.h
	not in ../../../../lib/font/FreeType/stdarg.h
	not in ../../../../stdarg.h
	not in ../../../../exports/include/stdarg.h
	not in /usr/include/stdarg.h
	not in DefaultGccIncludeDir/stdarg.h
../../../../config/makedepend/makedepend: warning:  psout.c (reading
../../../../extras/freetype2/include/freetype/config/ftconfig.h), line
82: #error "Unsupported size of `int' type!"
../../../../config/makedepend/makedepend: warning:  psout.c (reading
../../../../extras/freetype2/include/freetype/config/ftconfig.h), line
91: #error "Unsupported size of `long' type!"
Floating point exception
make[5]: *** [depend] Error 136
make[5]: Leaving directory
`/home/anton/src/xorg-6.8/xc/programs/Xserver/Xprint/ps'
make[4]: *** [depend] Error 2
make[4]: Leaving directory
`/home/anton/src/xorg-6.8/xc/programs/Xserver/Xprint'
make[3]: *** [depend] Error 2
make[3]: Leaving directory `/home/anton/src/xorg-6.8/xc/programs/Xserver'
make[2]: *** [depend] Error 2
make[2]: Leaving directory `/home/anton/src/xorg-6.8/xc/programs'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/anton/src/xorg-6.8/xc'
make: *** [World] Error 2

=== END World.log ===

-- 
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>





More information about the xorg mailing list