--nextPart1941450.u27PUWEAXy Content-Type: multipart/mixed; boundary="Boundary-01=_DWzrBMtitA7BKwA" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_DWzrBMtitA7BKwA Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Lubos Lunak wrote: > Has this been fixed finally? I did a new build on my home machine > yesterday, and I again got this error (the previous build had been done > more than a month ago). I fixed it, but my solution has not been committed. See http://lists.kde.org/?l=3Dkde-core-devel&m=3D110107943726977&w=3D2 for = the=20 discussion. I am sending the patch again because admin/ has been modified=20 since then. =2D-=20 Thiago Macieira - Registered Linux user #65028 thiago (AT) macieira (DOT) info ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --Boundary-01=_DWzrBMtitA7BKwA Content-Type: text/x-diff; charset="utf-8"; name="as_needed-fix.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="as_needed-fix.diff" Index: acinclude.m4.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kde-common/admin/acinclude.m4.in,v retrieving revision 2.485 diff -u -3 -p -r2.485 acinclude.m4.in =2D-- acinclude.m4.in 26 Nov 2004 11:59:46 -0000 2.485 +++ acinclude.m4.in 2 Dec 2004 00:36:48 -0000 @@ -979,7 +979,7 @@ if test -z "$kde_x_libraries" || test "x X_LDFLAGS=3D"-L$x_libraries" fi all_includes=3D"$X_INCLUDES" =2Dall_libraries=3D"$X_LDFLAGS $LDFLAGS_AS_NEEDED" +all_libraries=3D"$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS" =20 # Check for libraries that X11R6 Xt/Xaw programs need. ac_save_LDFLAGS=3D"$LDFLAGS" @@ -1691,12 +1691,23 @@ AC_DEFUN([KDE_CHECK_CLOSURE], AC_SUBST(KDE_NO_UNDEFINED) ]) =20 +dnl Check if the linker supports --enable-new-dtags +AC_DEFUN([KDE_CHECK_NEW_DTAGS], +[ + LDFLAGS_NEW_DTAGS=3D"" + KDE_CHECK_COMPILER_FLAG([Wl,--enable-new-dtags], + [LDFLAGS_NEW_DTAGS=3D"-Wl,--enable-new-dtags"],) + AC_SUBST(LDFLAGS_NEW_DTAGS) +]) + dnl Check for the linker if it supports --as-needed AC_DEFUN([KDE_CHECK_AS_NEEDED], [ + KDE_CHECK_NEW_DTAGS + AC_ARG_ENABLE(as_needed, AC_HELP_STRING([--disable-as-needed],[disable the --as-needed flag for t= he linker]), =2D kde_use_as_needed=3D$enableval, kde_use_as_needed=3Dyes) + kde_use_as_needed=3D$enableval, kde_use_as_needed=3D$kde_cv_prog_cxx_Wl= ___enable_new_dtags) =20 LDFLAGS_AS_NEEDED=3D"" if test "x$kde_use_as_needed" =3D "xyes"; then Index: ltmain.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kde-common/admin/ltmain.sh,v retrieving revision 1.65 diff -u -3 -p -r1.65 ltmain.sh =2D-- ltmain.sh 15 Jun 2004 16:47:06 -0000 1.65 +++ ltmain.sh 2 Dec 2004 00:36:50 -0000 @@ -4896,18 +4896,13 @@ else " ;; =20 =2D *-*-freebsd* ) + *) # Need to set LD_LIBRARY_PATH, to the value already # computed within libtool. $echo >> $output "\ LD_LIBRARY_PATH=3D\"$rpath\" exec \$progdir/\$program \${1+\"\$@\"} " ;; =2D *) =2D $echo >> $output "\ =2D exec \$progdir/\$program \${1+\"\$@\"} =2D" =2D ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" --Boundary-01=_DWzrBMtitA7BKwA-- --nextPart1941450.u27PUWEAXy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBrzWDM/XwBW70U1gRAosuAJ9jp9US69r2MmDulyA4vomdtL5HbQCgpT0h 8By1UKCJ0TFTLbbe7OTP2xk= =9P/A -----END PGP SIGNATURE----- --nextPart1941450.u27PUWEAXy--