AIX 6.1 make failure

"Kevin Coyle" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
I have downloaded and freetds-0.91 and when I run ./configure I get no errors.  However when I try to make I get the following:
 
Making all in include
        make  all-am
        echo '#define FREETDS_SYSCONFDIR "/usr/local/etc"' >freetds_sysconfdir.h
Target "all-am" is up to date.
Making all in src
Making all in replacements
        source='iconv.c' object='iconv.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o iconv.lo iconv.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M iconv.c  -DPIC -o .libs/iconv.o
"iconv.c", line 484.7: 1506-356 (W) Compilation unit is empty.
        source='gettimeofday.c' object='gettimeofday.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o gettimeofday.lo gettimeofday.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M gettimeofday.c  -DPIC -o .libs/gettimeofday.o
"gettimeofday.c", line 73.7: 1506-356 (W) Compilation unit is empty.
        source='fakepoll.c' object='fakepoll.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o fakepoll.lo fakepoll.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M fakepoll.c  -DPIC -o .libs/fakepoll.o
"fakepoll.c", line 198.23: 1506-356 (W) Compilation unit is empty.
        source='asprintf.c' object='asprintf.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o asprintf.lo asprintf.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M asprintf.c  -DPIC -o .libs/asprintf.o
        source='vasprintf.c' object='vasprintf.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o vasprintf.lo vasprintf.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M vasprintf.c  -DPIC -o .libs/vasprintf.o
        source='readpassphrase.c' object='readpassphrase.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o readpassphrase.lo readpassphrase.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M readpassphrase.c  -DPIC -o .libs/readpassphrase.o
        source='strlcpy.c' object='strlcpy.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o strlcpy.lo strlcpy.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M strlcpy.c  -DPIC -o .libs/strlcpy.o
        source='strlcat.c' object='strlcat.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o strlcat.lo strlcat.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../src/replacements -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M strlcat.c  -DPIC -o .libs/strlcat.o
        /bin/sh ../../libtool --tag=CC    --mode=link cc -qlanglvl=extc89 -D_THREAD_SAFE  -g    -o libreplacements.la  iconv.lo gettimeofday.lo fakepoll.lo asprintf.lo vasprintf.lo readpassphrase.lo strlcpy.lo strlcat.lo -lpthreads
libtool: link: rm -fr  .libs/libreplacements.a .libs/libreplacements.la
libtool: link: ar cru .libs/libreplacements.a .libs/iconv.o .libs/gettimeofday.o .libs/fakepoll.o .libs/asprintf.o .libs/vasprintf.o .libs/readpassphrase.o .libs/strlcpy.o .libs/strlcat.o
libtool: link: ranlib .libs/libreplacements.a
libtool: link: ( cd ".libs" && rm -f "libreplacements.la" && ln -s "../libreplacements.la" "libreplacements.la" )
Target "all" is up to date.
Making all in tds
        make  all-recursive
Making all in unittests
Target "all" is up to date.
        source='mem.c' object='mem.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o mem.lo mem.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M mem.c  -DPIC -o .libs/mem.o
        source='token.c' object='token.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o token.lo token.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M token.c  -DPIC -o .libs/token.o
        source='util.c' object='util.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o util.lo util.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M util.c  -DPIC -o .libs/util.o
        source='login.c' object='login.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CC    --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include   -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE  -g -c -o login.lo login.c
libtool: compile:  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_THREAD_SAFE -g -c -M login.c  -DPIC -o .libs/login.o
"login.c", line 724.9: 1506-046 (S) Syntax error.
"login.c", line 724.19: 1506-045 (S) Undeclared identifier These.
"login.c", line 766.20: 1506-045 (S) Undeclared identifier user_name_len.
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 2.
 

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

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

Stop.
 
Any ideas on what I can do?
 
Thanks

The foregoing message, together with any attachments, is confidential and intended for the addressee only. If you received this message in error, please delete all copies of this message and promptly notify us of our error. Thank you.

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.