FW: FreeTDS on HPUX

Romme mail at romme.nl
Tue Apr 10 13:58:04 EDT 2001


Yes,

I compiled freeTDS on HPUX 11.something
Maybe you can try gmake en gnu-cc?

regards
Johan Romme


At 02:05 11-4-01 +0800, you wrote:
>  Hi All,
>         Has any one successfully compiled FreeTds on HP-UX.
>
>when I did $ ./configure
>I go the following message
>
>loading cache ./config.cache
>checking for a BSD compatible install... ./install-sh -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... missing
>checking for gcc... (cached) cc
>checking whether the C compiler (cc  ) works... yes
>checking whether the C compiler (cc  ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) no
>checking whether cc accepts -g... (cached) no
>checking how to run the C preprocessor... (cached) cc -E
>checking whether make sets ${MAKE}... (cached) yes
>checking for a BSD compatible install... ./install-sh -c
>checking for ranlib... (cached) ranlib
>checking host system type... hppa1.0-hp-hpux10.20
>checking build system type... hppa1.0-hp-hpux10.20
>checking for non-GNU ld... (cached) /usr/bin/ld
>checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
>checking for BSD-compatible nm... (cached) /usr/bin/nm -p
>checking whether ln -s works... (cached) yes
>loading cache ./config.cache within ltconfig
>checking whether we are using GNU C... no
>checking for object suffix... o
>checking for executable suffix... (cached) no
>checking for cc option to produce PIC... +Z
>checking if cc PIC flag +Z works... no
>checking if cc supports -c -o file.o... yes
>checking if cc supports -c -o file.lo... yes
>checking if cc static flag -Wl,-a -Wl,archive works... -Wl,-a -Wl,archive
>checking if the linker (/usr/bin/ld) is GNU ld... no
>checking whether the linker (/usr/bin/ld) supports shared libraries... yes
>checking command to parse /usr/bin/nm -p output... ok
>checking how to hardcode library paths into programs... relink
>checking for /usr/bin/ld option to reload object files... -r
>checking dynamic linker characteristics... hpux10.20 dld.sl
>checking if libtool supports shared libraries... no
>checking whether to build shared libraries... no
>checking whether to build static libraries... yes
>checking for objdir... .libs
>creating libtool
>loading cache ./config.cache
>checking for socket in -lsocket... (cached) no
>checking for ANSI C header files... (cached) yes
>checking is FIONBIO defined... yes
>checking whether byte ordering is bigendian... (cached) yes
>creating ./config.status
>creating include/tdsver.h
>creating Makefile
>creating include/Makefile
>creating src/Makefile
>creating src/tds/Makefile
>creating src/tds/unittests/Makefile
>creating src/dblib/Makefile
>creating src/dblib/unittests/Makefile
>creating src/ctlib/Makefile
>creating src/ctlib/unittests/Makefile
>creating src/server/Makefile
>creating src/odbc/Makefile
>
>         Upon doing [hpcc800]aveek/freetds-0.51 $ make
>I get the following ...
>
>No suffix list.
>Making all in include
>No suffix list.
>         cd .. && CONFIG_FILES=include/tdsver.h CONFIG_HEADERS= 
> ./config.status
>creating include/tdsver.h
>Making all in src
>No suffix list.
>Making all in tds
>Making all in unittests
>         /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"freetds\"
>-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -DWORDS_BIGENDIAN=1  -I. -
>I.  -I../../include  -DTDS50 -c mem.c
>cc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1
>-DWORDS_BIGENDIAN=1 -I. -I. -I../../include -DTDS50 -c mem.c -o mem.o
>(Bundled) cc: "../../include/tds.h", line 392: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 393: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 394: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 395: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 396: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 397: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 398: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 399: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 400: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 401: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 402: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 403: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 404: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 405: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 405: error 1000: Unexpected symbol:

>")".
>(Bundled) cc: "../../include/tds.h", line 268: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 382: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 392: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 392: error 1573: Type of 
>"tds_login"
>is undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 393: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 393: error 1573: Type of 
>"tds_login"
>is undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 394: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 394: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 395: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 395: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 396: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 396: error 1573: Type of "info" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 397: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 397: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 398: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 398: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 399: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 399: error 1573: Type of "res_info"
>is undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 400: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 400: error 1573: Type of 
>"param_info"
>is undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 401: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 401: error 1573: Type of 
>"column" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 402: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 402: error 1573: Type of "msg_info"
>is undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 403: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 403: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 404: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 404: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 406: error 1616: Unable to open
>intrinsic file "/usr/local/lib/sysintr".
>(Bundled) cc: "../../include/tds.h", line 406: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 406: error 1000: Unexpected symbol:
>")".
>(Bundled) cc: "../../include/tds.h", line 407: error 1616: Unable to open
>intrinsic file "/usr/local/lib/sysintr".
>(Bundled) cc: "../../include/tds.h", line 407: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 407: error 1000: Unexpected symbol:
>")".
>(Bundled) cc: "../../include/tds.h", line 408: error 1616: Unable to open
>intrinsic file "/usr/local/lib/sysintr".
>(Bundled) cc: "../../include/tds.h", line 408: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 409: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 410: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 411: error 1000: Unexpected symbol:
>"tds_get_smallint".
>(Bundled) cc: "../../include/tds.h", line 411: error 1000: Unexpected symbol:
>";".
>(Bundled) cc: "../../include/tds.h", line 408: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 408: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 409: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 409: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 410: error 1705: Function 
>prototypes
>are an ANSI feature.
>(Bundled) cc: "../../include/tds.h", line 410: error 1573: Type of "tds" is
>undefined due to an illegal declaration.
>(Bundled) cc: "../../include/tds.h", line 412: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 413: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: "../../include/tds.h", line 414: error 1000: Unexpected symbol:
>"*".
>(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
>*** Error exit code 1
>
>Stop.
>*** Error exit code 1
>
>Stop.
>*** Error exit code 1
>
>Stop.
>
>Thanks and Regards
>Aveek Bhattacharya
>               _\\///_
>              (' o-o ')
>___________ooOo_( )_OOoo__________
>As a computer, I find your faith in technology amusing
>  _________________________________
>Received: from sngrel4.hp.com (root at ctss201.sgp.hp.com [15.66.153.201])
>         by ctss201.sgp.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit6.0.6 
> OpenMail) with ESMTP id AAA11382
>         for <AVEEK_BHATTACHARYA at Non-HP-India-om1.om.hp.com>; Wed, 11 Apr 
> 2001 00:51:59 +0800 (SGP)
>Received: from franklin.oit.unc.edu (franklin.oit.unc.edu [152.2.22.59])
>         by sngrel4.hp.com (Postfix) with SMTP id 209A82D4
>         for <AVEEK_BHATTACHARYA at Non-HP-India-om1.om.hp.com>; Wed, 11 Apr 
> 2001 00:51:54 +0800 (SGP)
>Message-Id: <LYRIS0-986921297--177941-lyris-admin at franklin.oit.unc.edu>
>X-lyris-type: command-notify
>From: "Lyris List Manager" <lyris-admin at franklin.oit.unc.edu>
>Reply-To: "Lyris List Manager" <lyris-admin at franklin.oit.unc.edu>
>To: BHATTACHARYA_AVEEK/NON-HP-INDIA_om1
>Subject: re: your email message
>Date: Tue, 10 Apr 2001 12:48:17 -0500
>
>
>---
>You are currently subscribed to freetds as: [mail at romme.nl]
>To unsubscribe, forward this message to 
>$subst('Email.Unsub')

--
-- Johan Romme                        e-mail:  mail at romme.nl
-- Romme Software Engineering         telno :    015-2855904
-- Cornelis Trompstraat 90            faxno :    015-2855905
-- 2628 RS Delft                      mobil :    06-22982288




More information about the FreeTDS mailing list