HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compile ansi-c 64 bits
Operating System - HP-UX
1832861
Members
3013
Online
110048
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
08-15-2005 07:46 AM
08-15-2005 07:46 AM
compile ansi-c 64 bits
hello.
please help me, someone know how compile(in 64 bits mode) a Ansi-C program using XDK(xml).
Server’s data:
Hp-ux 11i
Oracle 8.1.7.4
Ansi-C
The compiling line using 32 bits is:
cc -o mc_lectura mc_lectura.c -I/oracle8.1.7.4/app/oracle/product/8.1.7/xdk/c/parser/include -L/oracle8.1.7.4/app/oracle/product/8.1.7/lib -lxml8 -lcore8 -lnls8 -lcore8 -lnls8 -lnsl -lclntsh -lm –lpthread
but when I try to compile in 64 bits, this message appears:
ld: mismatched ABI(not an ELF file) for –lxml8.
The compiling line using 64 bits is:
cc +DA2.0w -o mc_lectura mc_lectura.c -I/oracle8.1.7.4/app/oracle/product/8.1.7/xdk/c/parser/include -L/oracle8.1.7.4/app/oracle/product/8.1.7/lib -lxml8 -lcore8 -lnls8 -lcore8 -lnls8 -lnsl -lclntsh -lm –lpthread
thanks
please help me, someone know how compile(in 64 bits mode) a Ansi-C program using XDK(xml).
Server’s data:
Hp-ux 11i
Oracle 8.1.7.4
Ansi-C
The compiling line using 32 bits is:
cc -o mc_lectura mc_lectura.c -I/oracle8.1.7.4/app/oracle/product/8.1.7/xdk/c/parser/include -L/oracle8.1.7.4/app/oracle/product/8.1.7/lib -lxml8 -lcore8 -lnls8 -lcore8 -lnls8 -lnsl -lclntsh -lm –lpthread
but when I try to compile in 64 bits, this message appears:
ld: mismatched ABI(not an ELF file) for –lxml8.
The compiling line using 64 bits is:
cc +DA2.0w -o mc_lectura mc_lectura.c -I/oracle8.1.7.4/app/oracle/product/8.1.7/xdk/c/parser/include -L/oracle8.1.7.4/app/oracle/product/8.1.7/lib -lxml8 -lcore8 -lnls8 -lcore8 -lnls8 -lnsl -lclntsh -lm –lpthread
thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 05:39 PM
08-15-2005 05:39 PM
Re: compile ansi-c 64 bits
I don't think you have given the whole link line
There are 2 possibilities:
You have missed something in the link line that's why it gives "Not an ELF file"
You are linking some 32 bit libraries.
There are 2 possibilities:
You have missed something in the link line that's why it gives "Not an ELF file"
You are linking some 32 bit libraries.
Vibhor Kumar Agarwal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 07:24 PM
08-15-2005 07:24 PM
Re: compile ansi-c 64 bits
is there a subdirectory under $ORACLE_HOME where the 64bit versions of the libraries reside? You will have to include that with the -L flag or with $SHLIB_PATH
You cannot mix 32 and 64bit libs and objects, and - unlike on AIX - libraries cannot contain both (and I am *very* happy with that decision)
Enjoy, Have FUN! H.Merijn
You cannot mix 32 and 64bit libs and objects, and - unlike on AIX - libraries cannot contain both (and I am *very* happy with that decision)
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 09:46 PM
08-15-2005 09:46 PM
Re: compile ansi-c 64 bits
Emilio,
I would agree that you are trying to use a 32-bit lib. Can you try:
goto the library directory
file *
and ensure all libs to be used are 64-bit compiled themselves.
I would agree that you are trying to use a 32-bit lib. Can you try:
goto the library directory
file *
and ensure all libs to be used are 64-bit compiled themselves.
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