Skip to Content.
Sympa Menu

freetds - Re: [freetds] Having problem compiling dblib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Gal Rubinstein <galrub AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Having problem compiling dblib
  • Date: Wed, 11 Mar 2009 22:37:37 +0200

No the linker screams :-):

[trace]

make.exe -f "C:\freetds-0.82\src\dblib\Makefile.win" all
gcc.exe -c bcp.c -o bcp.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

gcc.exe -c dblib.c -o dblib.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

gcc.exe -c dbopen.c -o dbopen.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

gcc.exe -c dbutil.c -o dbutil.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

gcc.exe -c rpc.c -o rpc.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

gcc.exe -c xact.c -o xact.o -I"C:/Dev-Cpp/include"
-I"C:/freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
-DHAVE_CONFIG_H -DDLL_EXPORT -D_FREETDS_LIBRARY_SOURCE

dllwrap.exe --output-def libdblib.def --implib libdblib.a bcp.o dblib.o
dbopen.o dbutil.o rpc.o xact.o -L"C:/Dev-Cpp/lib" --no-export-all-symbols
--add-stdcall-alias -o dblib.dll

bcp.o(.text+0x7b):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x330):bcp.c: undefined reference to `tds_submit_queryf'
bcp.o(.text+0x37d):bcp.c: undefined reference to `tds_process_tokens'
bcp.o(.text+0x3c6):bcp.c: undefined reference to `tds_alloc_results'
bcp.o(.text+0x716):bcp.c: undefined reference to `tds_alloc_bcp_column_data'
bcp.o(.text+0x77b):bcp.c: undefined reference to `tds_alloc_bcp_column_data'
bcp.o(.text+0x836):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0xa0d):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0xc61):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0xf58):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0x10a6):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x1178):bcp.c: more undefined references to `tdsdump_log' follow
bcp.o(.text+0x1833):bcp.c: undefined reference to `tds_submit_query'
bcp.o(.text+0x1866):bcp.c: undefined reference to `tds_submit_queryf'
bcp.o(.text+0x189b):bcp.c: undefined reference to `tds_process_tokens'
bcp.o(.text+0x1bbb):bcp.c: undefined reference to
`tds_alloc_bcp_column_data'
bcp.o(.text+0x1bf6):bcp.c: undefined reference to `tds_process_tokens'
bcp.o(.text+0x1ce4):bcp.c: undefined reference to `tds_get_conversion_type'
bcp.o(.text+0x1d92):bcp.c: undefined reference to `tds_datecrack'
bcp.o(.text+0x1dbb):bcp.c: undefined reference to `tds_strftime'
bcp.o(.text+0x223d):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x22b3):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2347):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0x23ea):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x267d):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2702):bcp.c: undefined reference to `tds_get_size_by_type'
bcp.o(.text+0x2779):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x27d6):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2846):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2891):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0x28f2):bcp.c: undefined reference to `tds_iconv_fread'
bcp.o(.text+0x2939):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x29ed):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2a82):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2ab8):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2b18):bcp.c: undefined reference to `tds_get_conversion_type'
bcp.o(.text+0x2cc1):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x2dd0):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3102):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3202):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3243):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x32b4):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x3462):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x34a6):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3629):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x368b):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x37c2):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0x3861):bcp.c: more undefined references to `tdsdump_log' follow
bcp.o(.text+0x394c):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x3a4c):bcp.c: undefined reference to `tdsdump_dump_buf'
bcp.o(.text+0x3a93):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3c1f):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3c4c):bcp.c: undefined reference to `tdsdump_dump_buf'
bcp.o(.text+0x3cb4):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3e10):bcp.c: undefined reference to `tds_set_state'

bcp.o(.text+0x3e97):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x3f61):bcp.c: undefined reference to `tds_set_state'
bcp.o(.text+0x437f):bcp.c: undefined reference to `tds_flush_packet'
bcp.o(.text+0x4392):bcp.c: undefined reference to `tds_set_state'
bcp.o(.text+0x439d):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x44c3):bcp.c: undefined reference to `tds_flush_packet'
bcp.o(.text+0x44d6):bcp.c: undefined reference to `tds_set_state'
bcp.o(.text+0x44e1):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x454f):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4707):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4881):bcp.c: undefined reference to `asprintf'
bcp.o(.text+0x48e6):bcp.c: undefined reference to `asprintf'

bcp.o(.text+0x4941):bcp.c: undefined reference to `asprintf'
bcp.o(.text+0x4966):bcp.c: undefined reference to `tds_submit_query'
bcp.o(.text+0x497d):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x4a3f):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x4b6c):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4b8f):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4c06):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4d3b):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x4d83):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4da6):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4e19):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x4e91):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x5200):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x5246):bcp.c: undefined reference to `tds_quote_id'
bcp.o(.text+0x536c):bcp.c: undefined reference to `tds_quote_id'
bcp.o(.text+0x53d2):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x540c):bcp.c: undefined reference to `tds_submit_query'
bcp.o(.text+0x5417):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x543f):bcp.c: undefined reference to `tds_set_state'
bcp.o(.text+0x5491):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x54c9):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x555d):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x5600):bcp.c: undefined reference to `tds_put_int'

bcp.o(.text+0x5618):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x562e):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x5647):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x5682):bcp.c: undefined reference to `tds_put_int'
bcp.o(.text+0x569a):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x56b4):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x56e0):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x56f6):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x5761):bcp.c: undefined reference to `tds_put_n'
bcp.o(.text+0x57a2):bcp.c: undefined reference to `tds_put_smallint'

bcp.o(.text+0x57cf):bcp.c: undefined reference to `tds_put_string'
bcp.o(.text+0x57e8):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x580a):bcp.c: undefined reference to `tds_put_string'
bcp.o(.text+0x5906):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x5eb8):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x641c):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x652b):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x6633):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x66db):bcp.c: undefined reference to `tds_flush_packet'
bcp.o(.text+0x66ee):bcp.c: undefined reference to `tds_set_state'
bcp.o(.text+0x66f9):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x6756):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x67fe):bcp.c: undefined reference to `tds_flush_packet'
bcp.o(.text+0x6811):bcp.c: undefined reference to `tds_set_state'

bcp.o(.text+0x681c):bcp.c: undefined reference to `tds_process_simple_query'
bcp.o(.text+0x68ae):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x6aa0):bcp.c: undefined reference to `tdsdump_log'

bcp.o(.text+0x6c68):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x6d53):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x6ea9):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x6f0f):bcp.c: more undefined references to `tdsdump_log' follow
bcp.o(.text+0x714d):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x717f):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x71b4):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x71fa):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x7245):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x725a):bcp.c: undefined reference to `tds_swap_numeric'
bcp.o(.text+0x7267):bcp.c: undefined reference to
`tds_numeric_bytes_per_prec'
bcp.o(.text+0x730e):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x732b):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x734d):bcp.c: undefined reference to `tds_put_n'
bcp.o(.text+0x7453):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x7466):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x7480):bcp.c: undefined reference to `tds_put_n'
bcp.o(.text+0x751b):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x7533):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x754e):bcp.c: undefined reference to `tds_put_byte'
bcp.o(.text+0x7567):bcp.c: undefined reference to `tds_put_smallint'
bcp.o(.text+0x7582):bcp.c: undefined reference to `tds_put_int'
bcp.o(.text+0x75ac):bcp.c: undefined reference to `tds_put_n'
bcp.o(.text+0x7600):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x7893):bcp.c: undefined reference to `tds_get_size_by_type'
bcp.o(.text+0x7942):bcp.c: undefined reference to `tds_get_conversion_type'
bcp.o(.text+0x7acf):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x7b82):bcp.c: undefined reference to `tds_free_bcp_column_data'
bcp.o(.text+0x7c1a):bcp.c: undefined reference to `tdsdump_log'
bcp.o(.text+0x7cf8):bcp.c: undefined reference to `tds_free_results'
dblib.o(.text+0x3c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xec):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x159):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x174):dblib.c: undefined reference to `tds_alloc_context'
dblib.o(.text+0x1fe):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x21d):dblib.c: undefined reference to `tds_free_context'
dblib.o(.text+0x36e):dblib.c: undefined reference to `tds_free_row'
dblib.o(.text+0x385):dblib.c: undefined reference to `tds_free_results'

dblib.o(.text+0x692):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x82c):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0xd1f):dblib.c: undefined reference to `tds_free_row'
dblib.o(.text+0xd2c):dblib.c: undefined reference to `tds_free_results'
dblib.o(.text+0xe8a):dblib.c: undefined reference to `tds_alloc_row'
dblib.o(.text+0xf1c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xf86):dblib.c: undefined reference to `tds_strlcpy'

dblib.o(.text+0xfa7):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x12e7):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x153f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x157f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1695):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x16eb):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1750):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x1796):dblib.c: undefined reference to `tds_alloc_login'
dblib.o(.text+0x17e6):dblib.c: undefined reference to `tds_set_library'
dblib.o(.text+0x181e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1831):dblib.c: undefined reference to `tds_free_login'
dblib.o(.text+0x187c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x18d6):dblib.c: undefined reference to `tds_set_host'
dblib.o(.text+0x18f6):dblib.c: undefined reference to `tds_set_user'
dblib.o(.text+0x1916):dblib.c: undefined reference to `tds_set_passwd'
dblib.o(.text+0x1936):dblib.c: undefined reference to `tds_set_app'
dblib.o(.text+0x1966):dblib.c: undefined reference to
`tds_set_client_charset'
dblib.o(.text+0x1983):dblib.c: undefined reference to `tds_set_language'
dblib.o(.text+0x19eb):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1a18):dblib.c: undefined reference to `tds_set_packet'
dblib.o(.text+0x1a7c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1abf):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1ae2):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1b20):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1b41):dblib.c: undefined reference to `tds_set_bulk'
dblib.o(.text+0x1b6d):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1bb0):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x1f80):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x20a5):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2154):dblib.c: undefined reference to `tds_set_server'
dblib.o(.text+0x216c):dblib.c: undefined reference to `tds_alloc_socket'
dblib.o(.text+0x2182):dblib.c: undefined reference to `tds_set_parent'
dblib.o(.text+0x21de):dblib.c: undefined reference to `tds_read_config_info'
dblib.o(.text+0x2254):dblib.c: undefined reference to `tds_connect'
dblib.o(.text+0x2263):dblib.c: undefined reference to `tds_free_connection'
dblib.o(.text+0x2285):dblib.c: undefined reference to `tds_free_connection'
dblib.o(.text+0x22fa):dblib.c: undefined reference to `asprintf'
dblib.o(.text+0x23d4):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2495):dblib.c: undefined reference to `vasprintf'
dblib.o(.text+0x2522):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x25f4):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2764):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2823):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2900):dblib.c: undefined reference to `tds_quote_id'
dblib.o(.text+0x29a8):dblib.c: undefined reference to `tds_quote_id'
dblib.o(.text+0x2a3b):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2a8f):dblib.c: undefined reference to `tds_free_socket'

dblib.o(.text+0x2c82):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x2cf7):dblib.c: undefined reference to `tds_free_socket'
dblib.o(.text+0x2fe4):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x301a):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x30de):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x316d):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0x31b3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3285):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x338d):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x33db):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x346a):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x351d):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x3832):dblib.c: undefined reference to `tdsdump_dump_buf'
dblib.o(.text+0x3886):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x393c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3a24):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3a59):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3b09):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0x3be9):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3c5f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3c8c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3db6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x3e1a):dblib.c: undefined reference to `tds_get_size_by_type'

dblib.o(.text+0x3eb4):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4081):dblib.c: undefined reference to `tds_get_size_by_type'
dblib.o(.text+0x4266):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4296):dblib.c: undefined reference to `tds_convert'
dblib.o(.text+0x42bc):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4690):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x47e3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4852):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4894):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x499e):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x4b09):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0x4bd8):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4c07):dblib.c: undefined reference to
`tds_set_interfaces_file_loc'
dblib.o(.text+0x4c40):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4cba):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4d2e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4dc8):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4e4b):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4e5d):dblib.c: undefined reference to `tds_willconvert'
dblib.o(.text+0x4e92):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x4ef7):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0x4f2f):dblib.c: undefined reference to `tdsdump_log'

dblib.o(.text+0x4f91):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x5023):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x50bd):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x50eb):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x5275):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x5299):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0x542a):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x54ac):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x550e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x55c1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x5631):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x566c):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x5798):dblib.c: undefined reference to `tds_send_cancel'
dblib.o(.text+0x57a5):dblib.c: undefined reference to `tds_process_cancel'
dblib.o(.text+0x57e1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x591f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x5a78):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0x5acf):dblib.c: undefined reference to `tds_datecrack'

dblib.o(.text+0x5af0):dblib.c: undefined reference to `tds_strftime'
dblib.o(.text+0x5cde):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x5e81):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0x5eea):dblib.c: undefined reference to `tds_datecrack'
dblib.o(.text+0x5efc):dblib.c: undefined reference to `STD_DATETIME_FMT'
dblib.o(.text+0x5f12):dblib.c: undefined reference to `tds_strftime'
dblib.o(.text+0x6187):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x621c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x64c4):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x675c):dblib.c: undefined reference to `tds_datecrack'
dblib.o(.text+0x676e):dblib.c: undefined reference to `STD_DATETIME_FMT'
dblib.o(.text+0x6784):dblib.c: undefined reference to `tds_strftime'
dblib.o(.text+0x6814):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x685c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x6bc6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x6de3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7053):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7341):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x7c01):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0x7c3c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7ce6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7d8e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7e11):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x7f49):dblib.c: undefined reference to `asprintf'
dblib.o(.text+0x7fb8):dblib.c: undefined reference to `asprintf'
dblib.o(.text+0x811c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x815f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x81c5):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x823e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x82a1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8317):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0x8342):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0x8395):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x84b1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8571):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x864c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x86d0):dblib.c: undefined reference to `tds_flush_packet'
dblib.o(.text+0x86ef):dblib.c: undefined reference to `tds_peek'
dblib.o(.text+0x873c):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8764):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8785):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0x8822):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8856):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x88a2):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x88f1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x89a8):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0x8a25):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xae56):dblib.c: undefined reference to `tds_datecrack'
dblib.o(.text+0xaef3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xaf0f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xaf4f):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xaf6b):dblib.c: undefined reference to `tdsdump_log'

dblib.o(.text+0xaf9b):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb027):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xb309):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0xb350):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb3d7):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb4f4):dblib.c: undefined reference to `asprintf'
dblib.o(.text+0xb562):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb5a5):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb633):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb679):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb6ae):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xb70f):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xb988):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0xb9b9):dblib.c: undefined reference to `tdsdump_log'

dblib.o(.text+0xba21):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xba78):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xbaf6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xbcd3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xbeb8):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xbec3):dblib.c: undefined reference to `tds_prtype'
dblib.o(.text+0xbefd):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xbfeb):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0xc00f):dblib.c: undefined reference to `tds_strlcpy'
dblib.o(.text+0xc02a):dblib.c: undefined reference to
`tds_get_conversion_type'
dblib.o(.text+0xc170):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xc1fb):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xc2b3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xc519):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0xc59a):dblib.c: undefined reference to `tds_submit_queryf'

dblib.o(.text+0xc5b8):dblib.c: undefined reference to
`tds_process_simple_query'
dblib.o(.text+0xc5e7):dblib.c: undefined reference to `tds_set_state'
dblib.o(.text+0xc5fb):dblib.c: undefined reference to `tds_put_int'
dblib.o(.text+0xc638):dblib.c: undefined reference to `tds_put_n'
dblib.o(.text+0xc645):dblib.c: undefined reference to `tds_flush_packet'
dblib.o(.text+0xc65a):dblib.c: undefined reference to `tds_set_state'
dblib.o(.text+0xc6c6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xc7ef):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0xc8e9):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xca24):dblib.c: undefined reference to `tds_put_n'
dblib.o(.text+0xca4e):dblib.c: undefined reference to `tds_flush_packet'
dblib.o(.text+0xca63):dblib.c: undefined reference to `tds_set_state'
dblib.o(.text+0xca98):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xcb38):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xcc22):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xcc52):dblib.c: undefined reference to `tdsdump_log'

dblib.o(.text+0xcc6e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xccb4):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xd34c):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0xd3e7):dblib.c: undefined reference to `tds_submit_query'
dblib.o(.text+0xd454):dblib.c: undefined reference to `tds_process_tokens'
dblib.o(.text+0xd500):dblib.c: undefined reference to `tds_submit_query'
dblib.o(.text+0xd57e):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xd5f6):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xd675):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xd76d):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xd7a2):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xd84d):dblib.c: more undefined references to `tdsdump_log'
follow
dblib.o(.text+0xdb9a):dblib.c: undefined reference to `tds_vstrbuild'
dblib.o(.text+0xdef1):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xe068):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xe31b):dblib.c: undefined reference to `tds_get_size_by_type'
dblib.o(.text+0xe403):dblib.c: undefined reference to `tds_convert'
dblib.o(.text+0xe429):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xe73b):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xe964):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xe9e5):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xeb43):dblib.c: undefined reference to `tds_vstrbuild'
dblib.o(.text+0xebad):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xec6d):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xecda):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xed15):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xedb3):dblib.c: undefined reference to `tdsdump_log'
dblib.o(.text+0xee1e):dblib.c: more undefined references to `tdsdump_log'
follow
dbutil.o(.text+0x475):dbutil.c: undefined reference to `tds_set_version'
dbutil.o(.text+0x492):dbutil.c: undefined reference to `tds_set_version'
dbutil.o(.text+0x4af):dbutil.c: undefined reference to `tds_set_version'
rpc.o(.text+0x43):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x28b):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x2fc):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x6d6):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x70b):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x7cb):rpc.c: more undefined references to `tdsdump_log' follow
rpc.o(.text+0x84e):rpc.c: undefined reference to `tds_submit_rpc'
rpc.o(.text+0x85c):rpc.c: undefined reference to `tds_free_param_results'

rpc.o(.text+0x87e):rpc.c: undefined reference to `tdsdump_log'

rpc.o(.text+0x8c8):rpc.c: undefined reference to `tdsdump_log'

rpc.o(.text+0x8e6):rpc.c: undefined reference to `tds_alloc_param_data'
rpc.o(.text+0x923):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x973):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0x9fa):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0xa4b):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0xaac):rpc.c: undefined reference to `tds_alloc_param_result'
rpc.o(.text+0xac0):rpc.c: undefined reference to `tds_free_param_results'
rpc.o(.text+0xadc):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0xb43):rpc.c: undefined reference to `tdsdump_log'
rpc.o(.text+0xbcd):rpc.c: undefined reference to `tds_get_size_by_type'
rpc.o(.text+0xbdb):rpc.c: undefined reference to `tds_get_null_type'
rpc.o(.text+0xc3b):rpc.c: undefined reference to `tds_get_size_by_type'
rpc.o(.text+0xc7f):rpc.c: undefined reference to `tds_strlcpy'
rpc.o(.text+0xcaf):rpc.c: undefined reference to `tds_set_param_type'
rpc.o(.text+0xd51):rpc.c: undefined reference to `tds_get_size_by_type'
rpc.o(.text+0xdd6):rpc.c: undefined reference to `tds_free_param_results'
rpc.o(.text+0xdf2):rpc.c: undefined reference to `tdsdump_log'
xact.o(.text+0x1e):xact.c: undefined reference to `tdsdump_log'
xact.o(.text+0x42):xact.c: undefined reference to `tdsdump_log'
xact.o(.text+0x6b):xact.c: undefined reference to `tdsdump_log'
xact.o(.text+0x94):xact.c: undefined reference to `tdsdump_log'

[/trace]

tried both with ' --no-export-all-symbols' and ' --'export-all-symbols'.

Thanks

On Wed, Mar 11, 2009 at 10:01 PM, Frediano Ziglio <freddy77 AT gmail.com>wrote:

> Il giorno mer, 11/03/2009 alle 09.56 +0200, Gal Rubinstein ha scritto:
> > Using Dev-C++/MinGW32/XP , here is the trace:
> >
> > [trace]
> >
> > C:\Gal\tmp\freetds-0.82\src\dblib>gcc.exe -c dblib.c -o dblib.o
> > -I"C:/MinGW/include" -I"C:/
> > freetds-0.82/include" -I"C:/freetds-0.82/win32" -DBUILDING_DLL=1
> > -DHAVE_CONFIG_H -DDLL_EXPORT
> > In file included from C:/Gal/tmp/freetds-0.82/include/sybfront.h:23,
> > from dblib.c:68:
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:151: error: redeclaration of
> > enumerator `SYBCHAR'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:423: error: previous definition of
> > 'SYBCHAR' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:153: error: redeclaration of
> > enumerator `SYBVARCHAR'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:425: error: previous definition of
> > 'SYBVARCHAR' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:155: error: redeclaration of
> > enumerator `SYBINTN'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:427: error: previous definition of
> > 'SYBINTN' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:157: error: redeclaration of
> > enumerator `SYBINT1'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:429: error: previous definition of
> > 'SYBINT1' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:159: error: redeclaration of
> > enumerator `SYBINT2'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:431: error: previous definition of
> > 'SYBINT2' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:161: error: redeclaration of
> > enumerator `SYBINT4'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:433: error: previous definition of
> > 'SYBINT4' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:163: error: redeclaration of
> > enumerator `SYBINT8'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:479: error: previous definition of
> > 'SYBINT8' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:165: error: redeclaration of
> > enumerator `SYBFLT8'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:435: error: previous definition of
> > 'SYBFLT8' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:167: error: redeclaration of
> > enumerator `SYBDATETIME'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:437: error: previous definition of
> > 'SYBDATETIME' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:169: error: redeclaration of
> > enumerator `SYBBIT'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:439: error: previous definition of
> > 'SYBBIT' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:171: error: redeclaration of
> > enumerator `SYBTEXT'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:441: error: previous definition of
> > 'SYBTEXT' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:173: error: redeclaration of
> > enumerator `SYBIMAGE'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:445: error: previous definition of
> > 'SYBIMAGE' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:175: error: redeclaration of
> > enumerator `SYBMONEY4'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:447: error: previous definition of
> > 'SYBMONEY4' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:177: error: redeclaration of
> > enumerator `SYBMONEY'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:449: error: previous definition of
> > 'SYBMONEY' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:179: error: redeclaration of
> > enumerator `SYBDATETIME4'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:451: error: previous definition of
> > 'SYBDATETIME4' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:181: error: redeclaration of
> > enumerator `SYBREAL'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:453: error: previous definition of
> > 'SYBREAL' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:183: error: redeclaration of
> > enumerator `SYBBINARY'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:455: error: previous definition of
> > 'SYBBINARY' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:185: error: redeclaration of
> > enumerator `SYBVARBINARY'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:459: error: previous definition of
> > 'SYBVARBINARY' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:187: error: redeclaration of
> > enumerator `SYBNUMERIC'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:463: error: previous definition of
> > 'SYBNUMERIC' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:189: error: redeclaration of
> > enumerator `SYBDECIMAL'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:465: error: previous definition of
> > 'SYBDECIMAL' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:191: error: redeclaration of
> > enumerator `SYBFLTN'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:467: error: previous definition of
> > 'SYBFLTN' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:193: error: redeclaration of
> > enumerator `SYBMONEYN'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:469: error: previous definition of
> > 'SYBMONEYN' was here
> > C:/Gal/tmp/freetds-0.82/include/sybdb.h:197: error: redeclaration of
> > enumerator `SYBDATETIMN'
> > C:/Gal/tmp/freetds-0.82/include/tds.h:471: error: previous definition of
> > 'SYBDATETIMN' was here
> > dblib.c:79: error: syntax error before string constant
> > dblib.c:79: warning: data definition has no type or storage class
> > dblib.c: In function `dbversion':
> > dblib.c:6512: error: `rcsid_var' undeclared (first use in this function)
> > dblib.c:6512: error: (Each undeclared identifier is reported only once
> > dblib.c:6512: error: for each function it appears in.)
> >
> > [/trace]
> >
> > what flags should I pass in order to make it work?
> >
> > THX
>
> Try to define _FREETDS_LIBRARY_SOURCE
>
> freddy77
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page