[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: freetds - install error
From: |
Tim Van Holder |
Subject: |
Re: freetds - install error |
Date: |
Tue, 25 May 2004 08:15:10 +0200 |
User-agent: |
Mozilla Thunderbird 0.6 (Windows/20040502) |
Haranath wrote:
Hi,
I ran into an error trying to install freetds on an HP box (I do not
have root access on this machine so I was setting this up in my user dir).
I ran
configure --prefix /apps/pec/freetds
and got this mesg (inbetween all the other stdout mesgs):
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: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
Regardless of what the text says, this is typically a problem with the
package's configure.ac file. Report it to the package owner instead.
source='asprintf.c' object='asprintf.lo' libtool=yes \
depfile='.deps/asprintf.Plo' tmpdepfile='.deps/asprintf.TPlo' \
depmode=hp /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../inc
lude -D_XOPEN_SOURCE_EXTENDED -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
-D_THREAD_SAFE -DDEBUG=1 -g -
c -o asprintf.lo `test -f 'asprintf.c' || echo './'`asprintf.c
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_XOPEN_SOURCE_EXTENDED -D_FREETDS_LIBRA
RY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -g -c asprintf.c
-Wp,-M.deps/asprintf.TPlo
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: "../../include/replacements.h", line 42: error 1705:
Function prototypes are an ANSI f
eature.
(Bundled) cc: "../../include/replacements.h", line 46: error 1000:
Unexpected symbol: "va_list".
(Bundled) cc: "../../include/replacements.h", line 46: error 1705:
Function prototypes are an ANSI f
eature.
(Bundled) cc: "../../include/replacements.h", line 50: error 1705:
Function prototypes are an ANSI f
eature.
(Bundled) cc: "asprintf.c", line 25: error 1705: Function prototypes are
an ANSI feature.
(Bundled) cc: "asprintf.c", line 31: warning 526: Pointer implicitly
converted to integral value in
assignment.
(Bundled) cc: "asprintf.c", line 31: warning 563: Argument #3 is not the
correct type.
The package you are trying to build (like almost every package you'll
find) is written in ANSI C. The bundled HP compiler handles only K&R C;
you need to either purchase the ANSI C compiler for your HP machine, or
build gcc and its dependencies first.