* [Buildroot] Can't compile lsof: no rpc.h ?
@ 2010-10-22 11:40 Guillaume Dargaud
2010-10-22 13:53 ` Guillaume Dargaud
0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Dargaud @ 2010-10-22 11:40 UTC (permalink / raw)
To: buildroot
Hello all,
I can't compile lmbench or lsof, it complains that it cannot find rpc.h...
RPC is enabled in the .config
/home/dargaud/Devel/buildroot-2010.08/output/staging/usr/bin/powerpc-unknown-
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
isfn.c
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
`/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src/lib'
make[1]: *** [lib/liblsof.a] Error 2
make[1]: Leaving directory
`/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src'
make: ***
[/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src/lsof]
Error 2
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Can't compile lsof: no rpc.h ?
2010-10-22 11:40 [Buildroot] Can't compile lsof: no rpc.h ? Guillaume Dargaud
@ 2010-10-22 13:53 ` Guillaume Dargaud
2010-10-22 14:53 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Dargaud @ 2010-10-22 13:53 UTC (permalink / raw)
To: buildroot
Sorry about that, a make clean solved it.
On Friday 22 October 2010 13:40:41 Guillaume Dargaud wrote:
> Hello all,
> I can't compile lmbench or lsof, it complains that it cannot find rpc.h...
> RPC is enabled in the .config
>
> /home/dargaud/Devel/buildroot-2010.08/output/staging/usr/bin/powerpc-unknow
> n- 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 isfn.c
> 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
> `/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src
> /lib' make[1]: *** [lib/liblsof.a] Error 2
> make[1]: Leaving directory
> `/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src
> ' make: ***
> [/home/dargaud/Devel/buildroot-2010.08/output/build/lsof_4.81/lsof_4.81_src
> /lsof] Error 2
--
Guillaume Dargaud
http://www.gdargaud.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Can't compile lsof: no rpc.h ?
2010-10-22 13:53 ` Guillaume Dargaud
@ 2010-10-22 14:53 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-10-22 14:53 UTC (permalink / raw)
To: buildroot
>>>>> "Guillaume" == Guillaume Dargaud <dargaud@lpsc.in2p3.fr> writes:
Guillaume> Sorry about that, a make clean solved it.
Good. I was just about to ask you if you had enabled the RPC option
without recompiling the toolchain, because it works here.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-22 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22 11:40 [Buildroot] Can't compile lsof: no rpc.h ? Guillaume Dargaud
2010-10-22 13:53 ` Guillaume Dargaud
2010-10-22 14:53 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox