Skip to Content.
Sympa Menu

freetds - [freetds] Compiling FreeTDS on Unixware7

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Glenn, Chris" <Glenn AT addsys.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Compiling FreeTDS on Unixware7
  • Date: Fri, 25 May 2007 09:15:11 -0400

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





Archive powered by MHonArc 2.6.24.

Top of Page