My change never made it into the repository. Instead, Cyril prepended the path
with ${SYSROOT}, where your cross-compile environment needs to setup SYSROOT
path in order to make a proper cross-compile of LTP. See commit
d4ab5d27d5ad666547d7b4d8e269e00921960c58. Cludgy, but it is simple and it
works. This "=" thing I proposed apparently didn't work for everyone.
As for using pkg-config, I have no idea how that will work out in a
cross-compile environment. But I guess it should be possible to go down that
route as well...
/Mats
________________________________________
From: Mike Frysinger [[email protected]]
Sent: Monday, February 16, 2015 6:17 AM
To: Mats Liljegren
Cc: [email protected]
Subject: Re: [LTP] [PATCH] ltp: Fix cross-compile issue
On 16 Dec 2014 15:34, Mats Liljegren wrote:
> --- a/m4/ltp-tirpc.m4
> +++ b/m4/ltp-tirpc.m4
> @@ -25,7 +25,7 @@ AC_DEFUN([LTP_CHECK_TIRPC],[
> TIRPC_LIBS=""
>
> AC_CHECK_HEADER(tirpc/netconfig.h,[
> - TIRPC_CPPFLAGS="-I/usr/include/tirpc"
> + TIRPC_CPPFLAGS="-I=/usr/include/tirpc"
> AC_DEFINE(HAVE_LIBTIRPC, 1, [Define to 1 if you have libtirpc
> headers installed])
> AC_CHECK_LIB(tirpc, rpcb_set, [TIRPC_LIBS="-ltirpc"])])
this m4 is fatally flawed and tweaking the flags won't help. we should switch
to use pkg-config here. a cursory glance suggests acl/cap should also be
updated.
-mike
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list