On Wed, 26 Aug 2009, Nicolas Joly wrote:
> On Wed, Aug 26, 2009 at 02:57:10PM +0200, Geert Uytterhoeven wrote:
> > When trying to autoconfigure current LTP on YDL, I get:
> > 
> >     # make autotools 
> >     touch config.mk
> >     aclocal -I m4
> >     m4/ltp-unshare.m4:2: error: m4_defn: undefined macro: 
> > _m4_divert_diversion
> >     m4/ltp-unshare.m4:2: the top level
> >     autom4te: /usr/local/bin/m4 failed with exit status: 1
> >     aclocal: autom4te failed with exit status: 1
> >     make: *** [aclocal.m4] Error 1
> >     #
> [...]
> 
> This is a quoting problem ... The following patch should fix it.

Thanks, now it works!

> Index: m4/ltp-unshare.m4
> ===================================================================
> RCS file: /cvsroot/ltp/ltp/m4/ltp-unshare.m4,v
> retrieving revision 1.1
> diff -u -p -r1.1 ltp-unshare.m4
> --- m4/ltp-unshare.m4 25 Aug 2009 07:37:46 -0000      1.1
> +++ m4/ltp-unshare.m4 26 Aug 2009 13:04:03 -0000
> @@ -1,2 +1,2 @@
>  AC_DEFUN([LTP_CHECK_SYSCALL_UNSHARE],
> -AC_CHECK_FUNCS_ONCE(unshare))
> +[AC_CHECK_FUNCS_ONCE([unshare])])
> 
> Signed-off-by: Nicolas Joly <[email protected]>

Tested-by: Geert Uytterhoeven <[email protected]>

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   [email protected]
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to