Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Solaris


Tags
gcc, python

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-15-2016
Kimkun Kimkun is offline
Registered User
 
Join Date: Dec 2016
Last Activity: 23 March 2017, 10:32 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi,

I installed some packages required by an app built with python.

But when I try python setup.py install, I get the following error:


Code:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'

Could anyone tell me what's wrong with this error and how to solve it?

Thanks
Sponsored Links
    #2  
Old Unix and Linux 12-15-2016
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 24 April 2017, 12:58 PM EDT
Location: Lancashire, UK
Posts: 3,075
Thanks: 1,285
Thanked 590 Times in 534 Posts
I think you need to be a bit more specific. Can you consider the following?:-
  • You say that you "...installed some packages required by an app ....." but you don't say what they are.
  • What version of Solaris are you using? I could guess, but it's just a partial path name that we have to go on. The output from uname -a would be useful here (feel free to replace the serial number in the 2nd/3rd field)
  • What do you see in the system logs?
  • What do you see in the logs created when you installed the nameless packages?
Otherwise, it's rather like phoning a mechanic to say your car won't work, hanging up and expecting a diagnosis.



Robin
Sponsored Links
    #3  
Old Unix and Linux 12-15-2016
Kimkun Kimkun is offline
Registered User
 
Join Date: Dec 2016
Last Activity: 23 March 2017, 10:32 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
The packages installed are mainly python packages:
python2.7, cswutils, pip, gcc5core, pkgutil, setuptools ..

the result of uname -a:

Code:
SunOS xxx 5.10 Generic_150400-04 sun4v sparc sun4v

I have only a few concepts of solaris, so I can't tel where to find logs

If you need much more information, I will try to give as much as possible.
    #4  
Old Unix and Linux 12-15-2016
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 April 2017, 5:00 PM EDT
Location: Saskatchewan
Posts: 22,073
Thanks: 1,070
Thanked 4,149 Times in 3,840 Posts
Oddly enough, -m32 only makes sense on 64-bit systems. If you have a 64 bit system and are building a 64 bit binary, it's not needed. If you have a 32 bit system and are building a 32 bit binary, it's not needed. If you have a 64-bit system and are building a 32-bit binary, then it's needed.
Sponsored Links
    #5  
Old Unix and Linux 12-15-2016
Kimkun Kimkun is offline
Registered User
 
Join Date: Dec 2016
Last Activity: 23 March 2017, 10:32 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I'm trying to use Yelp/elastalert, so I was beginning to install what is required.
But I really don't know where it comes the "-m32 error"
I just ran the following command after installing python27, gcc..


Code:
python setup.py install

any idea ?
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unrecognized disk label on my external HD Sampa Hardware 1 04-05-2014 01:25 PM
Issue with unrecognized zip format Jewel Shell Programming and Scripting 9 04-16-2013 12:57 PM
Solaris 9 : gcc unrecognized -rdynamic option bubsland Solaris 0 07-31-2012 04:35 AM
unrecognized vxfs version after vgimport Sapfeer Emergency UNIX and Linux Support 3 10-07-2011 08:13 PM
Unrecognized Path in .bash_profile monkfan UNIX for Dummies Questions & Answers 1 09-01-2007 12:36 AM



All times are GMT -4. The time now is 10:40 PM.