This discussion is archived
1 2 Previous Next 23 Replies Latest reply: Nov 15, 2012 4:22 PM by 974537 RSS

ORA-02063: preceding line from HSLINK

880492 Newbie
Currently Being Moderated
When i try to connect to ms sql from oracle (in solaries 11.1.0.7) i get the error connection from ORACLE to a non-Oracle system returned this message: preceding line from HSLINK

SQL> SELECT * FROM Banks@hslink;
SELECT * FROM Banks@hslink
*
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from HSLINK

TNSPING and lsnrctl status are okay
  • 1. Re: ORA-02063: preceding line from HSLINK
    mkirtley-Oracle Expert
    Currently Being Moderated
    Hi,
    That error can have many different causes, so can you provide the following information -

    - which gateway are you using - Dg4ODBC or Dg4MSQL ?
    - post the following files -
    gateway init<sid>.ora
    gateway listener.ora
    tnsnames.ora used for the database link
    'create database link hslink...' statement

    Regards,
    Mike
  • 2. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    using Dg4ODBC gateway


    gateway initEMIS.ora

    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = MSSQLTestServer
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so

    #
    # ODBC specific environment variables
    #
    set ODBCINI=/etc/odbc.ini



    #
    # Environment variables required for the non-Oracle system
    #
    #set <envvar>=<value>


    listener.ora

    has:

    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.1.4.31)(PORT=1600))
    )

    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=EIMS)
    (ORACLE_HOME=/u01db/oracle/EBLERP/db/tech_st/11.1.0)
    (PROGRAM=dg4odbc)
    )
    )

    #CONNECT_TIMEOUT_LISTENER = 0

    tnsnames.ora

    EIMS =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.1.4.31)(PORT=1600))
    (CONNECT_DATA=(SID=EIMS))
    (HS=OK)
    )

    used for the database link
  • 3. Re: ORA-02063: preceding line from HSLINK
    mkirtley-Oracle Expert
    Currently Being Moderated
    Hi,
    In the listener.ora and tnsnames.ora you have the sid and sid_name as EIMS but you have given the gateway init<sid>.ora file as initEMIS.ora. Did you mistype the name or is it actually called initEMIS.ora ?

    If the file is really called initEIMS.ora then change the listener.ora so it has the following -

    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=EIMS)
    (ORACLE_HOME=/u01db/oracle/EBLERP/db/tech_st/11.1.0)
    (PROGRAM=dg4odbc)
    (ENV="LD_LIBRARY_PATH=/usr/local/lib:/u01db/oracle/EBLERP/db/tech_st/11.1.0/lib")
    )
    )

    and stop and start the listener. This ensures the listener can find the correct libraries.
    Note that there should be at least once space at the beginning of every line except the first.
    See this note in My Oracle Support for more information -

    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)


    If you still have problems then can you setup gateway tracing in the gateway file -

    HS_FDS_TRACE_LEVEL = off

    and run a select from a new SQLPLUS session, then end the session.
    Either post the trace here or somewhere offline where we can access it.
    Could you also post the odbc.ini file /etc/odbc.ini.

    Regards,
    Mike

    Edited by: mkirtley on Sep 25, 2012 4:14 PM
  • 4. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    still same error. on initEMIS that was a typo. the name is initEIMS.ora

    I have added the library to listner.ora and bounced the gateway listner.

    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=EIMS)
    (ORACLE_HOME=/u01db/oracle/EBLERP/db/tech_st/11.1.0)
    (PROGRAM=dg4odbc)
    (ENV="LD_LIBRARY_PATH=/usr/local/lib:/u01db/oracle/EBLERP/db/tech_st/11.1.0/lib")
    )
    )


    -bash-3.00$ cat /etc/odbc.ini
    [MSSQLTestServer]
    Driver = FreeTDS
    Description = EIMS TEST database
    Trace = No
    Server = 10.1.9.85
    Port = 1433
    Database = Elimisha_15th march'2012

    -bash-3.00$

    set trace to on

    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = MSSQLTestServer
    HS_FDS_TRACE_LEVEL = on
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so

    #
    # ODBC specific environment variables
    #
    set ODBCINI=/etc/odbc.ini
    set ODBCINST=/etc/odbcinst.ini



    #
    # Environment variables required for the non-Oracle system
    #
    #set <envvar>=<value>

    Edited by: 877489 on Sep 25, 2012 9:06 AM

    Edited by: 877489 on Sep 25, 2012 9:07 AM
  • 5. Re: ORA-02063: preceding line from HSLINK
    mkirtley-Oracle Expert
    Currently Being Moderated
    Hi,
    Thanks for the update.
    Looks we will need to see a gateway trace but could you set the trace level to -

    HS_FDS_TRACE_LEVEL = 255

    and run the select from a new SQLPLUS session then end the session.
    The trace will be in -
    /u01db/oracle/EBLERP/db/tech_st/11.1.0/hs/log

    One other point, in odbc.ini the database is defined as -

    Database = Elimisha_15th march'2012

    - does it really have a space in the name ? This may or may not be causing problems which is why a gateway trace will be useful.

    Can you make a connection using something like ISQL and the MSSQLTestServer odbc.ini entry ?

    Regards,
    Mike

    Edited by: mkirtley on Sep 25, 2012 5:18 PM
  • 6. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    The database name has the space. i can make connections through isql
    -bash-3.00$ TDSVER=7.0 /usr/local/bin/isql MSSQLTestServer DevelopersMCB DevelopersMCB -v
    ---------------------------------------
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    ---------------------------------------
    SQL> select db_name ()
    ---------------------------------------------------------------------------------------------------------------------------------
    | |
    ---------------------------------------------------------------------------------------------------------------------------------
    | Elimisha_15th march'2012 |
    ---------------------------------------------------------------------------------------------------------------------------------
    SQLRowCount returns 1
    1 rows fetched
    SQL>

    from the trace log shows:


    Oracle Corporation --- TUESDAY SEP 25 2012 19:58:52.121


    Heterogeneous Agent Release
    11.1.0.7.0




    Oracle Corporation --- TUESDAY SEP 25 2012 19:58:52.121

    Version 11.1.0.7.0

    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "EIMS"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:EIMS
    Exiting hgogprd, rc=0
    hostmstr: 50315264:      HOA After hoagprd
    hostmstr: 50470912:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=1
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=1
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2012/09/25-19:58:52
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
    Entered hgolofns at 2012/09/25-19:58:52
    libname=/usr/local/lib/libodbc.so, funcname=SQLAllocHandle
    hoaerr:28500
    Exiting hgolofns at 2012/09/25-19:58:52
    Failed to load ODBC library symbol: /usr/local/lib/libodbc.so(SQLAllocHandle)
    Exiting hgolofn, rc=28500 at 2012/09/25-19:58:52
    Exiting hgoinit, rc=28500 at 2012/09/25-19:58:52 with error ptr FILE:hgoinit.c LINE:294 ID:Loading ODBC aray of function ptrs
    hostmstr: 50479104:      HOA After hoainit
    hostmstr: 50487296: RPC Before Exit Agent
    hostmstr: 50495488:      HOA Before hoaexit
    Entered hgoexit at 2012/09/25-19:58:52
  • 7. Re: ORA-02063: preceding line from HSLINK
    mkirtley-Oracle Expert
    Currently Being Moderated
    Hi,
    You are seeing a problem because of this error -

    libname=/usr/local/lib/libodbc.so, funcname=SQLAllocHandle
    hoaerr:28500
    Exiting hgolofns at 2012/09/25-19:58:52
    Failed to load ODBC library symbol: /usr/local/lib/libodbc.so(SQLAllocHandle)

    Can you check -

    - is /usr/local/lib/libodbc.so a 64-bit file ?
    - what is displayed by -
    cd /usr/local/lib
    file libodbc.so

    - does libodbc.so contain the symbol SQLAllocHandle
    - is there a /usr/local/lib64 directory which has a 64-bit version of the libodbc.so driver manager ? If so, change the configuration files to use that version.

    Regards,
    Mike
  • 8. Re: ORA-02063: preceding line from HSLINK
    kgronau Guru
    Currently Being Moderated
    Please add to your gateway init file:
    HS_NLS_NCHAR=UCS2
    and HS_LANGUAGE=american_america.we8mswin1252

    Then start a new SQL*Plus session and test again the select. If it still fails, please get a gateway trace level 255 by setting in the gateway init file HS_FDS_TRACE_LEVEL=255. Then again start a new SQL*Plus session and execute the select statement. Once you got the error again, goto $ORACLE_HOME/hs/log and upload the newly generated gateway trace.
  • 9. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    -bash-3.00$ ls /usr/local/lib/
    libboundparam.la libboundparam.so.1.0.0 libgtrtst.so.1 libodbc.so libodbccr.la libodbccr.so.1.0.0 libodbcinst.so.1
    libboundparam.so libgtrtst.la libgtrtst.so.1.0.0 libodbc.so.1 libodbccr.so libodbcinst.la libodbcinst.so.1.0.0
    libboundparam.so.1 libgtrtst.so libodbc.la libodbc.so.1.0.0 libodbccr.so.1 libodbcinst.so


    -bash-3.00$ ls /usr/local/lib/libodbc.so
    /usr/local/lib/libodbc.so


    there is no /usr/local/lib64 directory
  • 10. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    log shows:



    Oracle Corporation --- TUESDAY SEP 25 2012 20:23:05.920


    Heterogeneous Agent Release
    11.1.0.7.0




    Oracle Corporation --- TUESDAY SEP 25 2012 20:23:05.920

    Version 11.1.0.7.0

    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "EIMS"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:EIMS
    Exiting hgogprd, rc=0
    hostmstr: 50315264:      HOA After hoagprd
    hostmstr: 50470912:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=1
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2012/09/25-20:23:05
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
    Entered hgolofns at 2012/09/25-20:23:05
    libname=/usr/local/lib/libodbc.so, funcname=SQLAllocHandle
    hoaerr:28500
    Exiting hgolofns at 2012/09/25-20:23:05
    Failed to load ODBC library symbol: /usr/local/lib/libodbc.so(SQLAllocHandle)
    Exiting hgolofn, rc=28500 at 2012/09/25-20:23:05
    Exiting hgoinit, rc=28500 at 2012/09/25-20:23:05 with error ptr FILE:hgoinit.c LINE:294 ID:Loading ODBC aray of function ptrs
    hostmstr: 50479104:      HOA After hoainit
    hostmstr: 50487296: RPC Before Exit Agent
    hostmstr: 50495488:      HOA Before hoaexit
    Entered hgoexit at 2012/09/25-20:23:05
  • 11. Re: ORA-02063: preceding line from HSLINK
    kgronau Guru
    Currently Being Moderated
    It still looks like that your unixODBC library has the wrong word size. Could you please provide me the output of:
    "file /usr/local/lib/libodbc.so", of "file /usr/local/liblibodbc.so.1.0.0"
    as well as "file $ORACLE_HOME/bin/dg4odbc"

    Edited by: kgronau on Sep 25, 2012 8:11 PM
  • 12. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    -bash-3.00$ file /usr/local/lib/libodbc.so
    /usr/local/lib/libodbc.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
    -bash-3.00$ file /usr/local/lib/libodbc.so.1.0.0
    /usr/local/lib/libodbc.so.1.0.0: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
    -bash-3.00$ file $ORACLE_HOME/bin/dg4odbc
    /u01db/oracle/EBLERP/db/tech_st/11.1.0/bin/dg4odbc: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
    -bash-3.00$
  • 13. Re: ORA-02063: preceding line from HSLINK
    kgronau Guru
    Currently Being Moderated
    That's your problem. The library you are using is a 32bit library, but DG4ODBC requires a 64bit lib.
    You might get the source of the ODBC Driver manager from www.unixODBC.org and compile it on your own.

    Edited by: kgronau on Sep 27, 2012 9:16 AM

    a 64bit unixODBC ODBC Driver Manager is commonly compiled from source by:
    export CPPFLAGS="-DSIZEOF_LONG_INT=8"
    export CFLAGS="-DBUILD_REAL_64_BIT_MODE"
    ./configure prefix=<location into which you want to install the 64bit libs> sysconfdir=<location of the config> enable-gui=no enable-drivers=no
    make
    sudo make install

    If you need more information, please have a look at the unixODBC web site as they explain the command line options in detail on this site.

    Finally it would be now also good to know if the FreeTDS ODBC driver you installed is 32bit or 64bit. If it is a 32bit driver you also need to compile it from source.
  • 14. Re: ORA-02063: preceding line from HSLINK
    880492 Newbie
    Currently Being Moderated
    how can i compile the FreeTDS as 64bit in solaries 10 64bit?

    i have the odbc manager as 64bit from package install.

    bash-3.00$ file /usr/local/lib/libodbc.so
    /usr/local/lib/libodbc.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped


    but on freeTDS 0.91 version from source i try to compile but get a make error:

    root@adnerpapp # export CPPFLAGS="-DSIZEOF_LONG_INT=8"
    CPPFLAGS=-DSIZEOF_LONG_INT=8: is not an identifier
    root@adnerpapp # export CFLAGS="-DBUILD_REAL_64_BIT_MODE"
    CFLAGS=-DBUILD_REAL_64_BIT_MODE: is not an identifier


    root@adnerpapp # CPPFLAGS="-DSIZEOF_LONG_INT=8"
    root@adnerpapp # CFLAGS="-DBUILD_REAL_64_BIT_MODE"
    root@adnerpapp # export CFLAGS
    root@adnerpapp # export CPPFLAGS
    root@adnerpapp # mkdir /usr/local/freetds
    root@adnerpapp # ./configure prefix=/usr/local/freetds with-tdsver=8.0 --with-unixodbc=/usr/local/


    on make i get the following error:

    Making all in odbc
    Making all in unittests
    source='odbc.c' object='odbc.lo' libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
    /bin/bash ../../libtool tag=CC    mode=compile cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -DSIZEOF_LONG_INT=8 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -DBUILD_REAL_64_BIT_MODE -c -o odbc.lo odbc.c
    libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -DSIZEOF_LONG_INT=8 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -DBUILD_REAL_64_BIT_MODE -c odbc.c -KPIC -DPIC -o .libs/odbc.o
    "odbc.c", line 958: warning: statement not reached
    libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -DSIZEOF_LONG_INT=8 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -DBUILD_REAL_64_BIT_MODE -c odbc.c -o odbc.o >/dev/null 2>&1
    source='connectparams.c' object='connectparams.lo' libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
    /bin/bash ../../libtool tag=CC    mode=compile cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -DSIZEOF_LONG_INT=8 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -DBUILD_REAL_64_BIT_MODE -c -o connectparams.lo connectparams.c
    libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -DSIZEOF_LONG_INT=8 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -D_REENTRANT -DBUILD_REAL_64_BIT_MODE -c connectparams.c -KPIC -DPIC -o .libs/connectparams.o
    "connectparams.c", line 101: identifier redeclared: SQLGetPrivateProfileString
    current : static function(pointer to const char, pointer to const char, pointer to const char, pointer to char, int, pointer to const char) returning int
    previous: function(pointer to const char, pointer to const char, pointer to const char, pointer to char, int, pointer to const char) returning int : "/usr/local/include/odbcinst.h", line 205
    cc: acomp failed for connectparams.c
    *** Error code 1
    make: Fatal error: Command failed for target `connectparams.lo'
    Current working directory /freetds-0.91/src/odbc
    *** Error code 1
    The following command caused the error:
    fail= failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='unittests'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /freetds-0.91/src/odbc
    *** Error code 1
    The following command caused the error:
    fail= failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='replacements tds ctlib dblib odbc apps server pool'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /freetds-0.91/src
    *** Error code 1
    The following command caused the error:
    fail= failcom='exit 1'; \
    for f in x $MAKEFLAGS; do \
    case $f in \
    *=* | --[!k]*);; \
    k) failcom='fail=yes';; \
    esac; \
    done; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='include src doc samples win32 vms'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    root@adnerpapp #
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points