How to Compile Amaya in Arm Cross Compiler

Hi,

I am trying to compile amaya in ARM cross compiler, This is the
following error occured

I modified in the make file, instead of gcc i given arm-linux-gcc

if anybody know the compiled code for ARM please help to me,

regards,
Chandrasekar






arm-linux-g++ -O2 -W -x c++ -D__cplusplus -D_UNIX -D_GTK   
-DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include
-I../../thotlib/internals/var -I../../thotlib/internals/h
-I../../thotlib/internals/f   -I/usr/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include       -c ../../thotlib/base/global.c -o
base/global.o
In file included from /usr/include/math.h:362,
                 from ../../thotlib/include/thot_sys.h:31,
                 from ../../thotlib/base/global.c:10:
/usr/include/bits/mathinline.h: In function `double atan2(double,
double)':
/usr/include/bits/mathinline.h:426: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `float atan2f(float,
float)':
/usr/include/bits/mathinline.h:426: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `long double atan2l(long
double, long double)':
/usr/include/bits/mathinline.h:426: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `long double __atan2l(long
double, long double)':
/usr/include/bits/mathinline.h:427: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `double fmod(double,
double)':
/usr/include/bits/mathinline.h:430: unknown register name `ax' in `asm'
/usr/include/bits/mathinline.h: In function `float fmodf(float, float)':
/usr/include/bits/mathinline.h:430: unknown register name `ax' in `asm'
/usr/include/bits/mathinline.h: In function `long double fmodl(long
double, long double)':
/usr/include/bits/mathinline.h:430: unknown register name `ax' in `asm'
/usr/include/bits/mathinline.h: In function `double atan(double)':
/usr/include/bits/mathinline.h:467: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `float atanf(float)':
/usr/include/bits/mathinline.h:467: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `long double atanl(long
double)':
/usr/include/bits/mathinline.h:467: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `double log1p(double)':
/usr/include/bits/mathinline.h:540: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `float log1pf(float)':
/usr/include/bits/mathinline.h:540: unknown register name `st(1)' in
`asm'
/usr/include/bits/mathinline.h: In function `long double log1pl(long
double)':
/usr/include/bits/mathinline.h:540: unknown register name `st(1)' in
`asm'
In file included from /usr/include/netinet/in.h:250,
                 from ../../thotlib/include/sysdep.h:836,
                 from ../../thotlib/include/thot_sys.h:67,
                 from ../../thotlib/base/global.c:10:
/usr/include/bits/in.h: At top level:
/usr/include/bits/in.h:69: ANSI C++ forbids data member `ip_opts' with
same name as enclosing class
In file included from ../../thotlib/include/thot_sys.h:67,
                 from ../../thotlib/base/global.c:10:
../../thotlib/include/sysdep.h:1094: declaration of `__errno_location()'
throws different exceptions
/usr/include/bits/errno.h:38: previous declaration here
make[1]: *** [base/global.o] Error 1
make[1]: Leaving directory
`/home/chandrasekar/Desktop/newcopy/Amaya/LINUX-ELF/thotlib'
make: *** [thotlib] Error 2

Received on Tuesday, 27 July 2004 09:21:41 UTC