[Samba] compile samba v3.0.9 vfs-errors

Bastian.Zacher at aspect-online.de Bastian.Zacher at aspect-online.de
Tue Dec 14 09:12:47 GMT 2004


Hello Tom,

thanks for your patch. But I get trouble patching my configure. Is the 
patch available for download -
maybe it's bogus due to copy'n'paste or what else. Any other hint?

Thanks,

bastian



[root at host source]# patch configure conf.patch
patching file configure
Hunk #1 FAILED at 3174.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej

[root at host source]# cat configure.rej
***************
*** 3174,3190 ****


  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
-

  echo "$as_me:$LINENO: checking for library containing strerror" >&5
  echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
--- 3174,3205 ----


  if test "$ac_cv_prog_gnu_ld" = "yes"; then
+   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


More information about the samba mailing list