[Samba] 3.0.8 compile warnings and link error
Thomas Bork
TomBork at web.de
Fri Nov 12 21:58:47 GMT 2004
"Thomas Bork" <TomBork at 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
More information about the samba
mailing list