pcp
[Top] [All Lists]

Re: [pcp] recent buld regression for inifinband PMDA on debian

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Martins Innus <minnus@xxxxxxxxxxx>
Subject: Re: [pcp] recent buld regression for inifinband PMDA on debian
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 2 Jul 2014 03:13:50 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <006b01cf95ba$27501890$75f049b0$@internode.on.net>
References: <006b01cf95ba$27501890$75f049b0$@internode.on.net>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Ac+Vuh9U/W8PBwaVQGORXyQl+PspQTOFR+S0
Thread-topic: recent buld regression for inifinband PMDA on debian
Hi Martins,

Debian has an old(er) version of infiniband, it looks like we'll need
to figure out a way to make the call we need on older versions, or we
could add to configure.ac in the infiniband section (around 1120) so
that we can conditionally enable building with these new metrics?
(see also HAVE_PORT_PERFORMANCE_QUERY_VIA in ibpmda.h for one such
workaround from awhile back)

thanks!


----- Original Message -----
> === infiniband ===
> gcc -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all
> -D_FORTIFY_SOURCE=2  -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\"
> -I../../../src/include -I../../../src/include/pcp   -c -o ib.o ib.c
> ib.c: In function 'ib_fetch_val':
> ib.c:673:3: warning: implicit declaration of function 'pma_query_via'
> [-Wimplicit-function-declaration]
> gcc -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all
> -D_FORTIFY_SOURCE=2  -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\"
> -I../../../src/include -I../../../src/include/pcp -o pmdaib  -Wall
> -L../../../src/libpcp/src -L../../../src/libpcp_pmda/src   ib.o pmda.o
> -libmad -libumad -L../../../src/libpcp/src -L../../../src/libpcp_pmda/src
> -lpcp_pmda -lpcp
> ib.o: In function `ib_fetch_val':
> /home/kenj/src/pcp/src/pmdas/infiniband/ib.c:673: undefined reference to
> `pma_query_via'
> collect2: error: ld returned 1 exit status
> make[2]: *** [pmdaib] Error 1
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
> 

<Prev in Thread] Current Thread [Next in Thread>