HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compiler error - gcc
Operating System - HP-UX
1834789
Members
2624
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 07:09 AM
06-06-2005 07:09 AM
Compiler error - gcc
Hi,
I was tring to compile MIME-Base64-3.05 in SUN Solaris box.
MIME uses "cc" for compilation. I don't have "cc" installed in my box. SO i changed the "cc" flag in the makefile to "gcc" and tried the compilation.
I received the following error:
gcc -c -xO3 -xdepend -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -KPIC -I/uc
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: Base64.c: linker input file unused since linking not done
Running Mkbootstrap for MIME::Base64 ()
chmod 644 Base64.bs
LD_RUN_PATH="" gcc -o blib/arch/auto/MIME/Base64/Base64.so -G Base64.o
gcc: Base64.o: No such file or directory
I have understood from the error that the options -KPIC is not recognized by "gcc". I am not able to figure out what is the equivalent of "KPIC" in "gcc".
Can anyone please help me resolve this error.
Thanks,
Anand
I was tring to compile MIME-Base64-3.05 in SUN Solaris box.
MIME uses "cc" for compilation. I don't have "cc" installed in my box. SO i changed the "cc" flag in the makefile to "gcc" and tried the compilation.
I received the following error:
gcc -c -xO3 -xdepend -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -KPIC -I/uc
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: Base64.c: linker input file unused since linking not done
Running Mkbootstrap for MIME::Base64 ()
chmod 644 Base64.bs
LD_RUN_PATH="" gcc -o blib/arch/auto/MIME/Base64/Base64.so -G Base64.o
gcc: Base64.o: No such file or directory
I have understood from the error that the options -KPIC is not recognized by "gcc". I am not able to figure out what is the equivalent of "KPIC" in "gcc".
Can anyone please help me resolve this error.
Thanks,
Anand
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 07:17 AM
06-06-2005 07:17 AM
Re: Compiler error - gcc
You're asking about Solaris in an HP-UX Forum? The gcc equivalent option to -KPIC is -pie (Position independent). Generally there is a "configure" script that will search your platform for the compiler and generate a makefile woith matching options. You are going to have to do a man gcc and match each option with it's equivalent for the Solaris cc compiler unless you can run configure again.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 09:29 AM
06-06-2005 09:29 AM
Re: Compiler error - gcc
Thanks Clay,
I actually could not find any good forums for SUN Solaris. SO, I thought I will try in in HP_UX forum. I definitely knew that I will get some answer.
I successfully installed MIME. I had to use 'fKPIC' option and also change a few other parameters with the gcc compiler.
Thanks,
Anand
I actually could not find any good forums for SUN Solaris. SO, I thought I will try in in HP_UX forum. I definitely knew that I will get some answer.
I successfully installed MIME. I had to use 'fKPIC' option and also change a few other parameters with the gcc compiler.
Thanks,
Anand
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP