LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Error: suffix or operands invalid for `push' in 64 machine (https://www.linuxquestions.org/questions/linux-general-1/error-suffix-or-operands-invalid-for-%60push-in-64-machine-547325/)

arya 04-19-2007 09:24 AM

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)


Quote:

.
.
.
. /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.

Quote:

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 couldn’t figure out what it is. Any help or suggestions will be greatly appreciated. Thank you

arya 04-19-2007 10:32 AM

gcc
 
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.


All times are GMT -5. The time now is 10:15 AM.