[freetds] Support for AIX 7.1

Sebastien FLAESCH sf at 4js.com
Thu May 3 11:31:29 EDT 2012


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
>



More information about the FreeTDS mailing list