Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th December 2010, 03:43 AM
rudra-b Offline
Registered User
 
Join Date: Jun 2008
Posts: 173
linuxfedorafirefox
xmgrace problem

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

Attached is my config.log
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)

I am forced to use source because rpm is also giving some problem and crashing while starting.
Attached Files
File Type: log config.log (221.4 KB, 26 views)
Reply With Quote
  #2  
Old 12th December 2010, 04:35 PM
nbecker Offline
Registered User
 
Join Date: Feb 2004
Posts: 76
linuxchrome
Re: xmgrace problem

Doesn't rpmfusion have a grace package?

BTW, this smells like a macro problem. Rerun gcc adding -fsave-temps. Examine the .i (or .ii) file to see what the offending line looks like after running through cpp.
Reply With Quote
Reply

Tags
problem, xmgrace

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xmgrace problem rudra-b Installation and Live Media 2 8th November 2010 12:27 PM
xmgrace problem dvkhakhar Using Fedora 2 13th July 2009 09:54 PM
xmgrace eloranta Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 6 26th May 2009 03:06 PM
xmgrace problem npsilva Using Fedora 1 19th January 2009 11:06 AM
I can't install xmgrace qfbsarua Installation and Live Media 0 10th May 2005 03:33 PM


Current GMT-time: 14:33 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat