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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Bork wrote:
| Hi,
|
| compile warnings in 3.0.8:
Thanks. These are all ok I think (i've checked them before).
| 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 #
What's the bug ID # on this again? I thought tim had things worked
out.@samba.org
cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot
(2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBkTXXIR7qMdg1EfYRAsdpAKDvAMVrj94gN+tSDSbInaP3xn8VWwCfR8Zz
Es5w2OvwgCNNaBBCoPfCapI=GwDk
-----END PGP SIGNATURE-----
Hallo Jerry,> | + ac_cv_gnu_ld_version=GNU ld version 2.12 > > What platform is this (uname -a or linux distro ver.)?eisfair -> www.eisfair.org test2 # uname -a Linux test2 2.4.26-1 #15 Sun Oct 24 22:54:01 CEST 2004 i686 unknown der tom ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
"Thomas Bork" <TomBork@web.de> wrote: ###################################### Hallo Jerry,> | + ac_cv_gnu_ld_version=GNU ld version 2.12 > > What platform is this (uname -a or linux distro ver.)?eisfair -> www.eisfair.org test2 # uname -a Linux test2 2.4.26-1 #15 Sun Oct 24 22:54:01 CEST 2004 i686 unknown ###################################### How about this one in configure: # if test "$ac_cv_gnu_ld_date" -lt 20030217; then # ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes # fi if test -z "$ac_cv_gnu_ld_date"; then ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes else if test "$ac_cv_gnu_ld_date" -lt 20030217; then ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes fi fi fi This works for me. But: Only 'unstable' ld versions have an date string, release versions not. From binutils-2.15/bfd/configure (thanks to Maximilian Pasternak): | # Uncomment the next line to remove the date from the reported bfd version | is_release=y | | bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\ | .*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\ | ..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'` | | bfd_version_string="\"${VERSION}\"" | if test x${is_release} = x; then | bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` | bfd_version_string="\"${VERSION} ${bfd_version_date}\"" | fi der tom __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201