Skip to Content.
Sympa Menu

freetds - [freetds] AIX 7.1 build problems - still

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: David Venus <david.venus AT bi-lo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] AIX 7.1 build problems - still
  • Date: Wed, 29 Feb 2012 10:42:46 -0500

Hi!

I am still trying to build FREETDS.091 on AIX 7.1 using GCC 4.6.1. Here is
the error that I consistently get:

libtool: compile: /opt/oracle/local/freetds-0.91/compile gcc
-DHAVE_CONFIG_H -. -I../../include -I../../include
-I/opt/oracle/local/unixODBC-2.3.2-pre/includ -D_FREETDS_LIBRARY_SOURCE
-DUNIXODBC -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1
-Wal -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
-D_THREAD_SAFE -maix6
-Wdeclaration-after-statement -MT connectparams.lo -MD -MP -MF
.deps/connectpaams.Tpo -c connectparams.c -DPIC -o .libs/connectparams.o
connectparams.c:101:12: error: static declaration of
'SQLGetPrivateProfileStrin
' follows non-static declaration
/opt/oracle/local/unixODBC-2.3.2-pre/include/odbcinst.h:205:14: note:
previous
eclaration of 'SQLGetPrivateProfileString' was here
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.

This error occurs with both FreeTDS stable and patched; also with unixODBC
2.3.1 and 2.3.2-pre.

Both unixODBC 2.3.1 and 2.3.2-pre appear to build and install without
errors.

I was requested to send the config.log file what is the best way to get you
the file? The file is 199KB and too large to be an attachment for the list.
E-mails that had it attached were bounced back to me.

Is there a version of configure and libtool, etc. that recognizes AIX 7.1
that I could install? Perhaps this is part of the problem?

Because of security constraints I do need to modify code that uses the
/usr/bin/oslevel command to call it in a secure way.

What other information can I provide that will help to get this solved?

Thanks!

Dave Venus




Archive powered by MHonArc 2.6.24.

Top of Page