Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-19-2007, 09:24 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Error: suffix or operands invalid for `push' in 64 machine

Hi, I am trying install R (64 bit) on 64 bit machine with with gcc version 3.4.2 installed. Executing gcc v gave me following out put.
Reading specs from /mypath /Linux/src/gcc/gcc-3.4.3/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../src/gcc-3.4.3/configure --prefix=/mypath /Linux/src/gcc/gcc-3.4.3
Thread model: posix
gcc version 3.4.3

When I run configure command to generate make file. I got following errors (in my config.log file)

. /tmp/ccv2oqk7.s: Assembler messages:
/tmp/ccv2oqk7.s:6: Error: suffix or operands invalid for `push'
configure:4103: error: C compiler cannot create executables
See `config.log' for more details

I also tried using gcc m64 option instead of just gcc (in CC field), but in that case I got following error message.

sorry, unimplemented: 64-bit mode not compiled in
After trying to complile it with different options, I tried to compile a simple hello world type program, but I got exactly same type of errors. However the program complied perfectly in other 32 bit Linux machine. Also, I successfully complied my hello world program with m64 option in solaris machine.

So, I guess its some configuration issue with that particular machine, but I couldnt figure out what it is. Any help or suggestions will be greatly appreciated. Thank you
Old 04-19-2007, 10:32 AM   #2
LQ Newbie
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0

By the way, one important point I forgot to mention, gcc is installed in NFS and used by all Linux machine both 32 and 64.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
configure error : cannot compute suffix of object files status1 Linux From Scratch 1 10-14-2006 10:18 AM
useradd:'invalid user name' error when creating a machine account on RedHat Linux ES4 santosh0805 Linux - General 1 07-12-2005 08:39 AM
what does "prog7.c:11: error: invalid operands to binary %" mean hubabuba Programming 6 11-16-2004 11:13 AM
gcc: invalid operands ajacques Linux - General 1 10-25-2004 07:31 AM
Webmin error local machine: Recieved invalid certificate sallas Linux - Software 2 06-19-2004 08:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration