Re: [LTP] [PATCH] ltp: Fix cross-compile issue

Mike Frysinger
2015-02-16T05:14:42Z

[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 441 bytes --]

------------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]