RudraB |
12-12-2010 04:44 AM |
xmgrace problem
1 Attachment(s)
while trying to compile grace (5.1.22), I am facing problem:
Code:
$ make
make[1]: Entering directory `/home/rudra/Downloads/grace-5.1.22/
cephes'
gcc -O2 -m486 -fno-common -Wall -Wpointer-arith -Wnested-externs -I.. -
I. -c -o airy.o airy.c
cc1: error: unrecognized command line option "-m486"
make[1]: *** [airy.o] Error 1
make[1]: Leaving directory `/home/rudra/Downloads/grace-5.1.22/cephes'
make: *** [subdirs] Error 1
if I remove m486 option in Make.conf, I am getting another error:
Code:
In file included from /usr/include/stdio.h:34:0,
from mtherr.c:60:
/usr/lib/gcc/i686-redhat-linux/4.5.1/include/stddef.h:211:23: error:
duplicate ‘unsigned’
/usr/lib/gcc/i686-redhat-linux/4.5.1/include/stddef.h:211:23: error:
two or more data types in declaration specifiers
make[1]: *** [mtherr.o] Error 1
make[1]: Leaving directory `/home/rudra/Downloads/grace-5.1.22/cephes'
make: *** [subdirs] Error 1
my system is
Code:
$ uname -r
2.6.35.9-64.fc14.i686
and my gcc is:
Code:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.5.1/lto-
wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/
bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --
enable-checking=release --with-system-zlib --enable-__cxa_atexit --
disable-libunwind-exceptions --enable-gnu-unique-object --enable-
linker-build-id --enable-languages=c,c++,objc,obj-c+
+,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-
dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-
libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/
share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --
with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-
linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
Attached is my config.log.
I am forced to use source because rpm is also giving some problem and crashing while starting.
Plz help.
|