- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mismatch ABI
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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-18-2009 01:21 AM
06-18-2009 01:21 AM
Mismatch ABI
I am trying to compile unixODBC and get below errors in config.log file...
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
ld: Unsatisfied symbol "yywrap" in file /var/tmp//ccLbw8jc.o
1 errors.
ld: Can't find library or mismatched ABI for -lfl
Fatal error.
ld: Unsatisfied symbol "libiconv_open" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv_close" in file /var/tmp//cckNFiFe.o
ld: Unsatisfied symbol "libiconv" in file /var/tmp//cckNFiFe.o
3 errors.
ld: Can't find library or mismatched ABI for -liconv
Fatal error.
ld: Can't find library or mismatched ABI for -lcrypt
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Can't find library or mismatched ABI for -lreadline
Fatal error.
ld: Unsatisfied symbol "atoll" in file /var/tmp//ccQnuMLb.o
1 errors.
ld: Unsatisfied symbol "stricmp" in file /var/tmp//ccCTHr5c.o
1 errors.
ld: Unsatisfied symbol "strnicmp" in file /var/tmp//cc8nsDla.o
1 errors.
ld: Can't find library or mismatched ABI for -lthread
Fatal error.
conftest.c:55: error: storage size of 'semctl_arg' isn't known
ld: Can't find library or mismatched ABI for -lsocket
Fatal error.
/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element type
In file included from conftest.c:95:
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements
/usr/local/lib/gcc/ia64-hp-hpux11.23/4.1.1/include/varargs.h:5:2: error: #error "Revise your code to use
conftest.c:98:18: error: msql.h: No such file or directory
ld: Unsatisfied symbol "setenv" in file /var/tmp//ccET3thb.o
1 errors.
I am using IA-64 machine. Can anyone help me please? I am stuck from a weeek...
Thanks and regards,
Pravin Goyal
- Tags:
- ABI mismatch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 06:51 PM
06-18-2009 06:51 PM
Re: Mismatch ABI
> ld: Can't find library or mismatched ABI for -liconv
> ld: Can't find library or mismatched ABI for -lcrypt
> ld: Can't find library or mismatched ABI for -lreadline
I guess you are trying to link 64-bit object with 32-bit shared
library. If so, you should have 64-bit shared libraries.
Otherwise, you should remove +DD64 from your CFLAGS to generate
32-bit binaries.
Could you show us the configure script line when you invoke it ?
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 07:03 PM
06-18-2009 07:03 PM
Re: Mismatch ABI
You are correct... There seems to be some issue with 32/64 bit.
How do i go about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 10:24 PM
06-18-2009 10:24 PM
Re: Mismatch ABI
Where is your real error?
>There seems to be some issue with 32/64 bit.
Why do you think that?
You should immediately install the latest linker patch, where the error message has been separated into to. You probably have the "Can't find library" error?
Otherwise what does file(1) show for your objects? What -L have you given the linker? Are you using the same +DD for both compiling and linking?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 10:28 PM
06-18-2009 10:28 PM
Re: Mismatch ABI
These errors are literally killing me.
I am not sure what is to be done.
where to look for all below
What -L have you given the linker? Are you using the same +DD for both compiling and linking?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 12:07 AM
06-19-2009 12:07 AM
Re: Mismatch ABI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 12:54 AM
06-19-2009 12:54 AM
Re: Mismatch ABI
you need to record the output of make which will then show you the compiler and linker options (e.g. -L and +DD64).
To record the output of make, do the following:
make > make.log 2>&1 (for bash)
make >& make.log (for csh)
You could then probably attach the make.log file to one of your next messages (together with the config.log file) ...
Andi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 12:54 AM
06-19-2009 12:54 AM
Re: Mismatch ABI
Why? The configure step is suppose to get errors. This checks the existence of various libs and features. There are the errors you get when it start compiling unixODBC?
>where to look for all below
If you had the latest linker patch, it would tell you it couldn't find the shlib, not that it was the wrong ABI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 01:02 AM
06-19-2009 01:02 AM
Re: Mismatch ABI
ld: Mismatched ABI for -lclntsh, found /u01/dbclient/oracle/product/11.1.0/client_1/lib//libclntsh.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 05:43 AM
06-19-2009 05:43 AM
Re: Mismatch ABI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2009 07:45 PM
06-21-2009 07:45 PM
Re: Mismatch ABI
Hi Guys,
Let me explain everything in detail:
My Requirement:
===============
I am working on connecting to SQL server 2005 hosted on Windows 2003 server from a HP-UX machine using unixODBC and freetds. Please refer below links:
http://www.unixodbc.org/
http://www.freetds.org/
So, I first need to compile unixODBC and then Freetds using unixODBC as the driver. This is my requirement.
What have I done so far:
========================
1. First (2 weeks back), I started to work on the above requirement.
2. I downloaded the source codes for unixODBC and Freetds and tried compiling on HP-UX IA-64 11.23 machine.
3. First, I ignored all the errors and went ahead on installing unixODBC and Freetds.
4. Then I used isql command to connect to SQL server. The connection succeeds as I can confirm from SQL server logs.
5. But, the issue is that I dont get SQL prompt on HP-UX machine as I should have got in ideal case. The isql command just hangs without giving me an SQL prompt.
6. Then it triggered me that might be due to some errors (that I ignored earlier) I am not getting the command prompt. And this is when I opened the config.log file for the first time and saw those errors and posted in forums.
What I want to do now:
======================
Today, I have got another machine which is HP-UX 11.31, IA-64 machine. I want to try from this machine this week if I can configure it.
So, far unixODBC compilation and installation succeeds on HP-UX 11.31 IA-64 machine but Freetds compilation is giving lots of erros.
Please find attached config.log and make.log file for Freetds.
Help Required:
==============
1. Please help me to resolve these errors on HP-UX 11.31 IA-64 machine
2. Alternatively, we can also look into the issues on hp-ux 11.23 IA-64 machine.
Please let me know any more information as required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2009 07:46 PM
06-21-2009 07:46 PM
Re: Mismatch ABI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2009 08:35 PM
06-21-2009 08:35 PM
Re: Mismatch ABI
I am sorry. I think the make.log and config.log file for freetds for hp-ux 11.31 IA-64 contained nothing..
i have just attached them again..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2009 09:58 PM
06-21-2009 09:58 PM
Re: Mismatch ABI
Please find attached
config.log
make.log
make_check.log files on HP-UX 11.23 IA-64 machine
- Tags:
- missing attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2009 01:49 AM
06-22-2009 01:49 AM
Re: Mismatch ABI
I installed below patches on IA 11.23 machine...
PHSS_36347 assembler patch
PHSS_38140 aC++ Runtime (IA: A.06.20, PA: A.03.85)
PHSS_39093 linker + fdp cumulative patch
PHSS_39101 Integrity Unwind Library
PHSS_39293 Aries cumulative patch
PHSS_39823 HP C/aC++ Compiler (A.06.23)
PHSS_39825 u2comp/be/plugin (C.06.23)
PHSS_39828 Math Library Cumulative Patch
But, still i get lots of errors when making and doing make check. I have zipped them all. Please find them attached here:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2009 01:51 AM
06-22-2009 01:51 AM
Re: Mismatch ABI
but, Please help me to fix the issues on 11.23 IA as described above...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2009 03:02 AM
06-22-2009 03:02 AM
Re: Mismatch ABI
-mthreads
(Bundled) cc: warning 901: unknown option: `-hreads'
This should be "-mt".
>static inline void
The inline keyword is only supported in C99 (-AC99) or C++ modes.
>PHSS_39823 HP C/aC++ Compiler (A.06.23)
There is no evidence that you used this compiler??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2009 08:32 PM
06-22-2009 08:32 PM
Re: Mismatch ABI
My special thanks to Shinji to come a long way with me and resolve it.
i used tsql command instead of isql and it worked after compiling freetds with some command line parameters.
anyways,
Thanks All and Shinji.