[freetds] Problems with source code

José Luis Lasalle jlasalle at uva.es
Tue Feb 18 11:50:20 EST 2003


Hi!
The FreeTDS version is 0.61 and Warnings appear in 'make' are:
In "vasprintf.c": In function 'vasprintf':
                  58: warning: implicit declaration of function 'vsnprintf'
In "token.c":   In function 'tds_get_data'
                1278: warning: 'dest' migth be used uninitializad in this
function
In "write.c": In function 'tds_write_packet'
              258: warning: function declaration isn't a prototype
              299: warning: function declaration isn't a prototype
              307: warning: function declaration isn't a prototype
In "convert.c": In function 'string_to_datetime'
                1755: warning:implicit declaration of function 'strtok_r'
                1755: warning:assignment makes pointer from integer without
a cast
                1935: warning:assignment makes pointer from integer without
a cast
In "config.c": In function 'search_interface_file'
               835: warning: implicit declaration of function 'strtok_r'
               835:warning:assignment makes pointer from integer without a
cast
               842:warning:assignment makes pointer from integer without a
cast
               844:warning:assignment makes pointer from integer without a
cast
               847:warning:assignment makes pointer from integer without a
cast
               848:warning:assignment makes pointer from integer without a
cast
               849:warning:assignment makes pointer from integer without a
cast
               857:warning:assignment makes pointer from integer without a
cast
               859:warning:assignment makes pointer from integer without a
cast
               862:warning:assignment makes pointer from integer without a
cast
In "threaddafe.c": In function 'tds_get_homedir'
                   229:warning: implicit declaration of function
'getpwuid_r'
In "vstrbuild.c": In function 'tds_vstrbuild'
                  116: warning:implicit declaration of function 'strtok_r'
                  116: warning:assignment makes pointer from integer without
a cast
                  116:warning:assignment makes pointer from integer without
a cast
In "bcp.c": In function '_bcp_exec_out'
            451: warning: 'bcpcol' migth be used uninitialized in this
function
            452: warning: 'curcol' migth be used uninitialized in this
function
            454: warning: 'src' migth be used uninitialized in this function
            456: warning: 'len' migth be used uninitialized in this function
            In function '_bcp_exec_hostfile'
            755: warning: 'bcpcol' migth be used uninitialized in this
function
            In function '_bcp_exec_in'
            1271: warning: 'errfile' migth be used uninitialized in this
function
            In function 'bcp_exec':
            1507: warning: 'ret' migth be used uninitialized in this
function
            In function '_bcp_start_copy_in':
            1563: warning: implicit declaration of function 'asprintf'
            In function 'bcp_batch':
            2141: warning: 'rows_copied' migth be used uninitialized in this
function
            In function '_bcp_get_prog_data':
            2274: warning: 'bcpcol' migth be used uninitialized in this
function

In 'make check': libtool: link: cannot find the library '../libtds.la'
                 *** Error exit code 1
                 Stop
                 *** Error exit code 1
                 ...

'No suffix list' appear in all 'makes'.

Thanks!
Jose





More information about the FreeTDS mailing list