samba 4 build issue ...

Jelmer Vernooij jelmer at samba.org
Mon Jan 14 21:25:50 GMT 2008


Hi Björn,

Am Montag, den 14.01.2008, 14:20 +0100 schrieb Björn JACKE:
> taking a look at
> 
> --- snip ---
> Sun Jan 13 03:46:11 2008
> 1d 9h 26m ago - bba8914af56cb161c275fbbdea2479d6f8bd703c
> show diffs
> download diffs
> 
> Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
> 
> 
> Author: Jelmer Vernooij
> Modified: source/lib/replace/libreplace_ld.m4
> 
> diff --git a/source/lib/replace/libreplace_ld.m4 b/source/lib/replace/libreplace_ld.m4
> index cb8e214..0ca6f7a 100644
> --- a/source/lib/replace/libreplace_ld.m4
> +++ b/source/lib/replace/libreplace_ld.m4
> @@ -265,7 +265,7 @@ AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG],
>  			LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,--allow-shlib-undefined"
>  			;;
>  		*osf*)
> -			LD_SHLIB_ALLOW_UNDEF_FLAG="-expect_unresolved '*'"
> +			LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,-expect_unresolved,*"
>  			;;
>  		*darwin*)
>  			LD_SHLIB_ALLOW_UNDEF_FLAG="-undefined dynamic_lookup"
> 
> --- snap ---
> 
> ... I think you should change this this to \"*\" if ' is not possible. An
> unquoted * is being shell expanded :-)
Thanks, I've fixed it. Shouldn't that be ok as long you don't have any
files which names start with "-Wl,-expect_unresolved,"? 

At the moment it fails to link libtorture because of the number of
arguments... I'll have another look at that make patch :-)

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org


More information about the samba-technical mailing list