[freetds] Compiling FreeTDS on Unixware7
Glenn, Chris
Glenn at addsys.com
Fri May 25 09:15:11 EDT 2007
Has anyone successfully compiled FreeTDS to work on UnixWare 7?
During the 'configure' phase I get the following message;
...
checking netinet/tcp.h usability... no
checking netinet/tcp.h presence... yes
configure: WARNING: netinet/tcp.h: present but cannot be compiled
configure: WARNING: netinet/tcp.h: check for missing prerequisite
headers?
configure: WARNING: netinet/tcp.h: see the Autoconf documentation
configure: WARNING: netinet/tcp.h: section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/tcp.h: proceeding with the preprocessor's
result
configure: WARNING: netinet/tcp.h: in the future, the compiler will take
precede
nce
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for netinet/tcp.h... yes
checking paths.h usability... yes
...
Then when 'making' I get;
...
Making all in unittests
source='threadsafe.c' object='threadsafe.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/ksh ../../depcomp \
/bin/ksh ../../libtool --tag=CC --mode=compile cc
-DHAVE_CONFIG_H -I. -
I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE
-D_REENTRANT -D_TH
READ_SAFE -DDEBUG=1 -g -c -o threadsafe.lo threadsafe.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_FREETDS_LIBRARY_S
OURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -g -c threadsafe.c -KPIC
-DPIC -o .
libs/threadsafe.o
UX:acomp: ERROR: "threadsafe.c", line 270: #error: gethostbyname_r style
unknown
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
...
Any assistance resolving these issues would be greatly appreciated.
I have successfully compiled, configured and tested FreeTDS on our Linux
server.
Chris Glenn
More information about the FreeTDS
mailing list