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: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Support for AIX 7.1
  • Date: Thu, 03 May 2012 17:31:29 +0200

Yes your suggestion worked for me, but now I have another error:

/bin/sh ../../../libtool --tag=CC --mode=link gcc -D_THREAD_SAFE -g -O2 -Wdeclaration-after-statement -o fisql fisql.o terminal.o edit.o handlers.o interrupt.o ../../dblib/libsybdb.la ../../replacements/libreplacements.la -liconv -lpthreads
libtool: link: gcc -D_THREAD_SAFE -g -O2 -Wdeclaration-after-statement -o fisql fisql.o terminal.o edit.o handlers.o interrupt.o ../../dblib/.libs/libsybdb.a ../../replacements/.libs/libreplacements.a -liconv -lpthreads
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.
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 324) 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.
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 1188) in object
../../dblib/.libs/libsybdb.a[dblib.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.

Seb

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






Archive powered by MHonArc 2.6.24.

Top of Page