endian.h missing?

Attila Nagy acetyl_salicyl at yahoo.com
Thu Jan 25 07:46:59 PST 2007


Hi all!

It's me again, progressing slowly... :)
I (still :) ) try to compile X. I have no luck with
7.1, as pcidata/scanpci segfaults no matter how I try
to compile.
I managed to compile 7.0 and 7.2RC3 however (from the
tarballs), but _only_ without Mesa. That way it
compiled OK, I could test, and use it - but without
openGL of course.
With Mesa (It's Mesa 6.5 if that counts) I get an
error saying that it can't find endian.h. Sure,
because I do it on Solaris, and with Studio 11, and as
far as I know, endian.h is some kind of
gcc(?linux?)-stuff. 
But why does it search for this include? (Why does it
think that my system has this file?)
Or better: how can I circumvent this issue?

Anybody with an idea?

Thanks!

(The last command and the error from the log:

cc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -I../../include -I../../include
-I../../include -I../../include -I../../include
-I../../include -I../../hw/xfree86/os-support
-I../../hw/xfree86/os-support/bus
-I../../hw/xfree86/common -I../../hw/xfree86/dri
-I../../mi -I/usr/local/include -I/X72RC3/include
-I/root/ujx/Mesa-6.5/include -DHAVE_DIX_CONFIG_H
-I/X72RC3/include -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/X72RC3/include
-I/root/ujx/Mesa-6.5/src/mesa/glapi
-I/root/ujx/Mesa-6.5/src/mesa/main -DXFree86Server
-DNO_LIBCWRAPPER -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -I/X72RC3/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 -I/usr/local/include -I/X72RC3/include -c
indirect_dispatch_swap.c  -KPIC -DPIC -o
.libs/indirect_dispatch_swap.o
"indirect_dispatch_swap.c", line 39: cannot find
include file: <sys/endian.h>
"indirect_dispatch_swap.c", line 71: warning: implicit
function declaration: bswap32
"indirect_dispatch_swap.c", line 79: warning: implicit
function declaration: bswap16
"indirect_dispatch_swap.c", line 95: warning: implicit
function declaration: bswap64
cc: acomp failed for indirect_dispatch_swap.c
*** Error code 1
make: Fatal error: Command failed for target
`indirect_dispatch_swap.lo'
Current working directory
/root/x72rc3/X7.2RC3/xorg-server-1.1.99.903/GL/glx
*** Error code 1




 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121



More information about the xorg mailing list