[EMAIL PROTECTED] schrieb:
found a thread with almost my current problem. There wasn't any solution out there.[...]
Maybe anything has changed?
I want install samba v3.0.9 on an old rh linux v7.1. Currently there's no chance to
update the core system. But while compiling it breaks with many "vfs"-errors as shown
below:
..SNIP..
modules/vfs_shadow_copy.po(.text+0x6e2): undefined reference to `debug_add_class'
modules/vfs_shadow_copy.po(.text+0x700): undefined reference to `DEBUGLEVEL_CLASS'
Here are the first lines of the posting found in http://lists.samba.org/archive/samba/2004-October/094787.html :
you have to patch configure, because your ld has not an date in his version string and configure expect this.
3.0.10 will come with an changed configure script. Attaching patch for 3.0.9.
der tom
--- samba-3.0.9/source/configure.orig Fri Nov 19 23:29:34 2004
+++ samba-3.0.9/source/configure Fri Nov 19 23:29:08 2004
@@ -3174,17 +3174,32 @@
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
+ ac_cv_gnu_ld_version=`$LD -v 2>/dev/null | head -1`
+ if `echo $ac_cv_gnu_ld_version | grep -q -E
"^.*[2-9][0-9][0-9][0-9][-]*[01][0-9][-]*[0-3][0-9].*$"`; then
+ 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
+ else
+ echo "$as_me:$LINENO: checking GNU ld release version" >&5
+ echo $ECHO_N "checking GNU ld release version... $ECHO_C" >&6
+ ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n
's,^.*\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'`
+ echo "$as_me:$LINENO: result: ${ac_cv_gnu_ld_vernr}" >&5
+ echo "${ECHO_T}${ac_cv_gnu_ld_vernr}" >&6
+ ac_cv_gnu_ld_vernr_major=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 1`
+ echo "$as_me:$LINENO: result: ac_cv_gnu_ld_vernr_major
${ac_cv_gnu_ld_vernr_major}" >&5
+ ac_cv_gnu_ld_vernr_minor=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 2`
+ echo "$as_me:$LINENO: result: ac_cv_gnu_ld_vernr_minor
${ac_cv_gnu_ld_vernr_minor}" >&5
+ if test "$ac_cv_gnu_ld_vernr_major" -lt 2 || test
"$ac_cv_gnu_ld_vernr_minor" -lt 14; then
+ ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes
+ echo "$as_me:$LINENO: result:
ac_cv_gnu_ld_no_default_allow_shlib_undefined
${ac_cv_gnu_ld_no_default_allow_shlib_undefined}" >&5
+ fi
+ fi
fi
-
echo "$as_me:$LINENO: checking for library containing strerror" >&5
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
