[unixODBC-support] Unable to get isql working on AIX 7.1

Sundar Mahadevan sundarmahadevan82 at gmail.com
Mon Jan 25 17:44:57 GMT 2016


Hi Nick,
Thank you for the response. During the original install, i used the
following export variables.

export CC=gcc
export CFLAGS="-maix64 -q64 -DBUILD_REAL_64_BIT_MODE"
export OBJECT_MODE=64

As per your suggestion, i set the following export variables (based on
https://community.oracle.com/thread/2569247?tstart=0)

export PATH=/usr/ccs/bin:$PATH
export CFLAGS="-m64 -DBUILD_REAL_64_BIT_MODE"
export CXXFLAGS="-m64 -DBUILD_REAL_64_BIT_MODE"

But i get the following error. Any ideas on what value should i set it to?

cc1: error: unrecognized command line option "-m64"
configure:3648: error: C compiler cannot create executables

I got the same error for the following settings as well.

export PATH=/usr/ccs/bin:$PATH
export CFLAGS="-m64"
export CXXFLAGS="-m64"

cc1: error: unrecognized command line option "-m64"
configure:3648: error: C compiler cannot create executables

I am trying to find what the acceptable values for CFLAGS are, but could
not find any with google. Appreciate your help. Thanks.


On Fri, Jan 22, 2016 at 9:59 AM, Nick Gorham <nick at lurcher.org> wrote:

> On 22/01/16 14:53, Sundar Mahadevan wrote:
>
>> Hi Nick,
>> Thanks for the quick response. The following are the commands, i used to
>> install the driver manager with the 64 bit flags set. While running
>> /usr/bin/make i got gcc: unrecognized option '-q64'. I am not sure if it
>> was critical since i did not see any error when i ran /usr/bin/make install
>>
>> dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export CC=gcc
>> dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export
>> CFLAGS="-maix64 -q64 -DBUILD_REAL_64_BIT_MODE"
>> dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export
>> OBJECT_MODE=64
>> dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)>
>> /u13/app/DBCLIENT/unixODBC-2.3.4/configure
>> --prefix=/home/oracle/bin/UnixOdbcDriverManager --enable-gui=no
>> --enable-drivers=no
>>
>> no errors for the above command
>>
>> dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> /usr/bin/make
>>
>
> Its normally -m64 for gcc, not sure I use IBM's compiler on AIX to build
> Easysoft drivers.
>
>
> --
> Nick
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20160125/865d08de/attachment.html>


More information about the unixODBC-support mailing list