1748169 Members
4250 Online
108758 Solutions
New Discussion юеВ

Re: Mismatch ABI

 
Praving5
Advisor

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.
Praving5
Advisor

Re: Mismatch ABI

Attaching make.log in this reply and config.log was in previous reply
Praving5
Advisor

Re: Mismatch ABI

Guys,
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..
Praving5
Advisor

Re: Mismatch ABI

Hi Guys,
Please find attached
config.log
make.log
make_check.log files on HP-UX 11.23 IA-64 machine
Praving5
Advisor

Re: Mismatch ABI

Hi All,
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:

Praving5
Advisor

Re: Mismatch ABI

Today I didnt work on 11.31 IA because it didnt have C compiler. I am in process of installing it. May be tomorrow I will work on it.

but, Please help me to fix the issues on 11.23 IA as described above...
Dennis Handly
Acclaimed Contributor

Re: Mismatch ABI

Your original config.log shows you using the bundled C compiler. Same with your make.log. cc_bundled is not for developing applications.

-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??
Praving5
Advisor

Re: Mismatch ABI

Thanks guys for all your help.

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.