endian.h missing?
Alan Coopersmith
alan.coopersmith at sun.com
Thu Jan 25 09:36:25 PST 2007
I fixed this for OS'es other than BSD & Linux in master,
and then Ian fixed my fix and merged with his:
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=2fd4626fa6969b84d8e2f9db16d6e2d44c4bc499
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=6d603bb47ff9d238637adbf30c6e9697e6e7e6fa
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=45aa26ccb4f61c2919ce2475d0907c6e1b177da2
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=b7ca5d14ce7ba410b0dab5c2289f6d7b75e763df
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=dfb2c10413e22afd8d486a982870f874326d5ef4
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
Attila Nagy wrote:
> 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
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list