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