Hi,

compile warnings in 3.0.8:

lib/util_str.c: In function `strstr_m':
lib/util_str.c:1337: warning: return discards qualifiers from pointer target 
type

tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:46: warning: assignment discards qualifiers from pointer target 
type
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal':
tdb/tdbutil.c:60: warning: passing arg 1 of `tdb_set_lock_alarm' discards 
qualifiers from pointer target type

client/client.c: In function `do_get':
client/client.c:699: warning: passing arg 4 of `cli_getattrE' from incompatible 
pointer type
client/client.c: In function `do_put':
client/client.c:1075: warning: passing arg 4 of `cli_getattrE' from 
incompatible pointer type

utils/smbcontrol.c: In function `do_printnotify':
utils/smbcontrol.c:431: warning: passing arg 3 of `notify_printer_byname' 
discards qualifiers from pointer target type

rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
rpcclient/cmd_spoolss.c:1279: warning: passing arg 1 of `strtok' discards 
qualifiers from pointer target type

rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible 
pointer type

rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from 
incompatible pointer type

libsmb/spnego.c: In function `read_negTokenInit':
libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible 
pointer type
libsmb/spnego.c: In function `read_negTokenTarg':
libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from 
incompatible pointer type
libsmb/spnego.c: In function `free_spnego_data':
libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type

lib/util_str.c: In function `strstr_m':
lib/util_str.c:1337: warning: return discards qualifiers from pointer target 
type

tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:46: warning: assignment discards qualifiers from pointer target 
type
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal':
tdb/tdbutil.c:60: warning: passing arg 1 of `tdb_set_lock_alarm' discards 
qualifiers from pointer target type


And we have the same link error due failed test from configure.in:

if test "$ac_cv_prog_gnu_ld" = "yes"; then
        ac_cv_gnu_ld_version=`$LD -v 2>/dev/null | head -1`
        echo "$as_me:$LINENO: checking GNU ld release date" >&5
echo $ECHO_N "checking GNU ld release date... $ECHO_C" >&6
                ac_cv_gnu_ld_date=`echo $ac_cv_gnu_ld_version | sed -n
's,^.*\([2-9][0-9][0-9][0-9]\
)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
                echo "$as_me:$LINENO: result: ${ac_cv_gnu_ld_date}" >&5
echo "${ECHO_T}${ac_cv_gnu_ld_date}" >&6
        if test "$ac_cv_gnu_ld_date" -lt 20030217; then
                ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
        fi
fi

test2 # echo $ac_cv_gnu_ld_version
GNU ld version 2.12
test2 # echo $ac_cv_gnu_ld_version | sed -n
's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'
test2 # 


________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to