elomaniak n00b
Joined: 27 Jan 2013 Posts: 47
|
Posted: Tue Oct 01, 2013 1:47 pm Post subject: RPCBind and uClibc |
|
|
Hi
I am currently working with a machine that has uclibc libraries. I need to install NFS-Utils in order to let it work as i want to, but i cannot install it since RPCBind throws errors while compiling about files not available. I tried to copy these files from a standard glibc pc and then it returned another errors, no wonder
can anybody help me to install rpcbind and thus also nfs-utils onto my uclibc machine?
error on emerge:
Code: | x86_64-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/tirpc -DPORTMAP -DINET6 -DVERSION="\"0.2.0\"" -D_GNU_SOURCE -Wall -pipe -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -I/usr/include/tirpc -O3 -pipe -MT rpcbind-security.o -MD -MP -MF .deps/rpcbind-security.Tpo -c -o rpcbind-security.o `test -f 'security.c' || echo './'`security.c
security.c:23:26: fatal error: rpcsvc/mount.h: No such file or directory
compilation terminated.
make[3]: *** [rpcbind-security.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0'
make: *** [all] Error 2
emake failed
|
error I get when manually copied the files from glibc to uclibc machine:
Code: | x86_64-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/tirpc -DPORTMAP -DINET6 -DVERSION="\"0.2.0\"" -D_GNU_SOURCE -Wall -pipe -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -I/usr/include/tirpc -O3 -pipe -MT rpcbind-security.o -MD -MP -MF .deps/rpcbind-security.Tpo -c -o rpcbind-security.o `test -f 'security.c' || echo './'`security.c
security.c: In function 'check_callit':
security.c:329:7: error: 'YPPASSWDPROG' undeclared (first use in this function)
security.c:329:7: note: each undeclared identifier is reported only once for each function it appears in
security.c:330:7: error: 'NFS_PROGRAM' undeclared (first use in this function)
security.c:331:7: error: 'RQUOTAPROG' undeclared (first use in this function)
make[3]: *** [rpcbind-security.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-nds/rpcbind-0.2.0-r1/work/rpcbind-0.2.0'
make: *** [all] Error 2
emake failed
|
|
|