Hi!
> I've been using Yocto, which does cross-compiling. It has support for
> compiling LTP, but I've noticed it has a couple of patches. I found
> that one patch was needed for actually compile LTP, which applies to
> the file utils/Makefile.
> 
> The patch is for an older version of LTP, but I re-implemented it for
> the new version. Looking at the following rule:
> 
> $(FFSB): $(abs_srcdir)/$(FFSBDIR)
>         mkdir -p $(FFSBDIR)
>         cd $(FFSBDIR) && "$^/configure" && $(MAKE) top_srcdir="$^" all
> 
> This calls configure without parameters, which is most likely wrong for
> a cross-compile environment. It is this configure that fails. By simple
> removing it, everything works within Yocto.
> 
> Is there any reason for keeping this configure here? Or should I make
> a patch for removing it?

The ffsb configure should be called from the top-level configure the
same way it's done for the realtime directory.

Does following work for cross-compilation?

1. Remove the configure from the Makefile
2. Add AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2]) into the configure.ac
3. Regenerate top level configure by make autotools
4. ./configure && make

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to