Skip to Content.
Sympa Menu

freetds - Re: [freetds] Support for AIX 7.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Support for AIX 7.1
  • Date: Fri, 4 May 2012 09:28:07 -0400

On Thu, 03 May 2012 17:31:29 +0200
Sebastien FLAESCH <sf AT 4js.com> wrote:

> Yes your suggestion worked for me, but now I have another error:
...
> ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 321) in object
> terminal.o:
> The symbol refers to a csect with symbol number 0, which
> was not found. The new symbol cannot be associated with a csect and
> is being ignored.

Google finds messages referring to uninitialized static variables in
debug builds on AIX. Does this apply?

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072

and does defining the symbols

export CFLAGS="-DSYSV -D_AIX -D_AIX53 -D_ALL_SOURCE -O2"

as suggested by

http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14561895

help?

(You will need to re-run the configure script for the modified CFLAGS
to take effect.)

--jkl

> On 05/03/2012 04:41 PM, James K. Lowden wrote:
> > On Thu, 03 May 2012 10:14:37 +0200
> > Sebastien FLAESCH<sf AT 4js.com> wrote:
> >
> >> The configure script could run without problem (I will send you the
> >> config.log, James)
> > ...
> >> I have no time to fix the issues, but if you provide me diff
> >> patches I am willing to test the compilation on our AIX 7.1 ...
> >
> > The config.log you sent me indicates sys/socket.h is found, but the
> > error messages
> >
> >> mem.c:1070: warning: implicit declaration of function 'socketpair'
> >> mem.c:1070: error: 'AF_UNIX' undeclared (first use in this
> >> function)
> >
> > indicate sys/socket.h was not included, and my version of mem.c
> > doesn't seem to include it. I would add
> >
> > #if HAVE_SYS_SOCKET_H
> > #include<sys/socket.h>
> > #endif /* HAVE_SYS_SOCKET_H */
> >
> > to mem.c and make sure both of these
> >
> > $ grep SOCKET build/include/config.h
> > #define HAVE_SOCKETPAIR 1
> > #define HAVE_SYS_SOCKET_H 1
> >
> > are defined as 1 in your config.h (as I think they are).
> >
> > Please let us know if that helps.
> >
> > --jkl
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> >
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page