Gcc Error Unrecognized Option '-kpic'
How to compose flowering plants? Thank you! 04 Apr 2011 16:49 UTC Dmitry Zayats wrote: very nice article and it's also valid for Solaris 10 SPARC.In my case there is one more option that gcc doesn't understandarch=v8I redid this python I guess they put that line in because people aren't reading their README's Maybe some someone should explain to them that people don't read the README's because *reading* the README's don't Sender does not waive confidentiality or privilege. check over here
Not the answer you're looking for? A quicker and hackish workaround is to write a cc(1) wrapper that translates or ignores the 4 arguments that GCC does not support (-KPIC -xO3 -xspace -xildoff). To build the module in question (DBD::mysql), I downloaded the module from CPAN, verified that the MD5 checksum was correct, and used the following steps to compile the module: $ perl If you want to use the DBD::Proxy driver and DBI::ProxyServer ...
Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest cos on July 30th, 2006 See also the "Solaris-PerlGcc" module - you end up with a "perlgcc" command you use when you run CPAN. Why are there two kernels under `/lib/modules` on 16.04 LTS? However on OpenSolaris, Perl was compiled with the Sun C compiler, whereas the OS distributes GCC by default.
Remember to actaully *read* the REAME file! ... Are there ethanol and methanol molecules with more than one hydroxyl group? I am running gcc 4.8.2 and gfortran and Python 2.6. Something in the build process for twisted is deciding that I have Sun CC installed instead of letting pycc, which can handle the job of picking the correct PIC flag, do
Oh here's some other info that my shred some light ... If you'd like to contribute content, let us know. History Date User Action Args 2011-06-2001:33:37dabrahamssetmessages: + msg138682 2011-06-2001:27:34dabrahamssetmessages: + msg138681 2011-03-1902:42:15eric.araujosetnosy: tarek, eric.araujo, dabrahamsmessages: + msg131382 2011-03-0216:19:29dabrahamscreate Website maintained by the Python community hosting by Upfront Systems / powered by More Bonuses URL: Previous message: [Orca-users] unrecognized option `-KPIC' Next message: [Orca-users] unrecognized option `-KPIC' Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information
Search this Thread 02-11-2008, 01:36 AM #1 adarshkmr LQ Newbie Registered: Feb 2008 Posts: 3 Rep: Compilation error : cc: unrecognized option `-KPIC' I am porting one application form If you want to build a single module with gcc, you can edit the Makefile that was produced by ‘perl Makefile.PL', and remove the "-KPIC" and "-xO3 -xspace -xildoff" values from What am I doing wrong? Register Lostyourlogin?
Your mileage may vary. #5 Updated by Yoann VANDOORSELAERE over 8 years ago Would you be able to try a test tarball, to see if it automatically fixes your issue? #6 http://blog.zorinaq.com/opensolaris-how-to-build-cpan-perl-modules-with-gcc-instead-of-t/ However, while running, DBI is complaining with the following error: -- install_driver(Oracle) failed: Unable to get DBI state from DBI::_dbistate at 14d580. Perhaps you meant -fPIC? yada yada yada bash-2.03$ make mkdir blib mkdir blib/lib ...
Ignore linker errors, and everthing should be fine, provided your library files end up in a system library directory. check my blog Another flag that might need removal is -xarch=386, it still complains with that present on an x2200. LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Compilation error : cc: unrecognized option `-KPIC' User Name Remember Me? android.
Thnx in Advance... Tmack on January 9th, 2008 You might also need to edit Config_heavy.pl (in the same dir as the Config.pm) to edit the flags and make CPAN.pm happy, since it is req'd What C compiler are you using under Linux? http://bloggingsystemsblog.com/gcc-error/gcc-error-unrecognized-option-qmaxmem-1.html If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. [download] Thanks much!20030221 Edit by Corion : Changed PRE to CODE Comment on
no checking for bison... The equivalent option for gcc is "-fPIC". Jeremy McMillan on February 29th, 2008 OK, I'm in the same boat as Tmack.
Having a problem logging in?
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. They aren't recognized compiller options on my box. This program has absolutely no warranty. All information is provided AS IS, and WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Cryptic Clue Guide Site was hacked, need to remove all URLs starting with + from Google, use robots.txt? adarshkmr View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by adarshkmr 02-11-2008, 06:23 PM #2 Tinkster Moderator Registered: Apr 2002 Location: in http://bloggingsystemsblog.com/gcc-error/gcc-error-unrecognized-command-line-option-m.html Please visit this page to clear all LQ-related cookies.
Could you kindly suggest how I can get around this? on July 30th, 2006 You should checkout perlgcc(1), which is specifically for dealing with the situation. What cracks me is the line ... Have we attempted to experimentally confirm gravitational time dilation?
Any help would be much appreciated. Wife sent to collections for ticket she paid ten years ago How does this Makefile makes C program without even specifying a compiler? Build both Perl and this module with the same C compiler, either
by using the Sun C compiler for both or gcc for both. 2. This email and any files transmitted with it are confidential and proprietary to Algorithmics Incorporated and its affiliates ("Algorithmics").