gnash-dev
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issue
From
:
Criveti Mihai
Subject
:
[Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
Date
:
Tue, 17 Apr 2007 13:13:24 +0300
I am trying to port gnash to Solaris x86 in order to profile it via DTrace, and had some issues regarding endianness.
cmsol% make
make all-recursive
make[1]: Entering directory `/export/home/cmihai/Desktop/testing/gnash- 0.7.2'
Making all in libbase
make[2]: Entering directory `/export/home/cmihai/Desktop/testing/gnash-0.7.2/libbase'
source='container.cpp' object='container.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -D_REENTRANT -pthreads -I/usr/include/libxml2 -I/opt/csw/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -g -O2 -D_REENTRANT -pthreads -march=pentium4 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -c -o container.lo container.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -D_REENTRANT -pthreads -I/usr/include/libxml2 -I/opt/csw/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -g -O2 -D_REENTRANT -pthreads -march=pentium4 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -c container.cpp -fPIC -DPIC -o .libs/container.o
In file included from utility.h:15,
from container.h:72,
from container.cpp:16:
tu_types.h:70:6: #error BYTE_ORDER not defined by endian.h. :(
tu_types.h:74:68: operator '==' has no right operand
make[2]: *** [container.lo] Error 1
make[2]: Leaving directory `/export/home/cmihai/Desktop/testing/gnash-0.7.2/libbase'/c
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/cmihai/Desktop/testing/gnash- 0.7.2'
make: *** [all] Error 2
The problem was in tu_types.h
My (temporary) solution was to remove detection and enforce LITTLE_ENDIAN (# define _TU_LITTLE_ENDIAN_ 1)
68a69,71
> # ifndef BYTE_ORDER
> # error BYTE_ORDER not defined by endian.h. :(
> # endif // BYTE_ORDER
70a74
> #if ((BYTE_ORDER == __LITTLE_ENDIAN)||(BYTE_ORDER == _LITTLE_ENDIAN))
71a76,78
> #else
> # undef _TU_LITTLE_ENDIAN_
> #endif //BYTE_ORDER == SDL_LIL_ENDIAN
After the changes, gnash works on Solaris x86 (SXCE:61).
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
Criveti Mihai
<=
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
Martin Guy
,
2007/04/17
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
John Gilmore
,
2007/04/17
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
James McGill
,
2007/04/18
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
Eric Hughes
,
2007/04/18
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
,
Rob Savoye
,
2007/04/23
Prev by Date:
Re: [Gnash-dev] How could I help?
Next by Date:
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
Previous by thread:
[Gnash-dev] canonical form for affine transformations
Next by thread:
Re: [Gnash-dev] Porting gnash to Sun Solaris x86, endianness detection issues.
Index(es):
Date
Thread