[Buildroot] Can't compile lsof: no rpc.h ?

Guillaume Dargaud dargaud at lpsc.in2p3.fr
Fri Oct 22 11:40:41 UTC 2010

Hello all,
I can't compile lmbench or lsof, it complains that it cannot find rpc.h...
RPC is enabled in the .config

linux-uclibc-gcc --
sysroot=/home/dargaud/Devel/buildroot-2010.08/output/staging -pipe -Os  -
mtune=405 -msoft-float -
I/home/dargaud/Devel/buildroot-2010.08/output/staging/usr/include -
I/home/dargaud/Devel/buildroot-2010.08/output/staging/include   -c -o isfn.o 
In file included from ../lsof.h:195,
                 from isfn.c:67:
../dlsof.h:59:21: error: rpc/rpc.h: No such file or directory
../dlsof.h:60:27: error: rpc/pmap_prot.h: No such file or directory
make[2]: *** [isfn.o] Error 1
make[2]: Leaving directory 
make[1]: *** [lib/liblsof.a] Error 2
make[1]: Leaving directory 
make: *** 
Error 2

Guillaume Dargaud

More information about the buildroot mailing list