Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install rpcbind on CentOS 5.3 using "yum install rpcbind" but it says it can't find it. I new to linux so some detailed help would be appreciated.
[root@localhost rpcbind-0.1.7]# make
make all-recursive
make[1]: Entering directory `/root/Desktop/rpcbind-0.1.7'
Making all in src
make[2]: Entering directory `/root/Desktop/rpcbind-0.1.7/src'
make all-am
make[3]: Entering directory `/root/Desktop/rpcbind-0.1.7/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I./tirpc -DPORTMAP -DINET6 -DVERSION="\"0.1.7\"" -D_GNU_SOURCE -Wall -pipe -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO -g -O2 -MT check_bound.o -MD -MP -MF .deps/check_bound.Tpo -c -o check_bound.o check_bound.c
check_bound.c:55:23: error: netconfig.h: No such file or directory
In file included from check_bound.c:61:
rpcbind.h:49:27: error: rpc/rpcb_prot.h: No such file or directory
In file included from check_bound.c:61:
rpcbind.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘list_rbl’
rpcbind.h:83: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:83: warning: its scope is only this definition or declaration, which is probably not what you want
rpcbind.h:83: warning: ‘struct netconfig’ declared inside parameter list
rpcbind.h:94: error: expected declaration specifiers or ‘...’ before ‘rpcblist_ptr’
rpcbind.h:103: error: expected ‘)’ before ‘*’ token
rpcbind.h:104: error: expected ‘)’ before ‘*’ token
rpcbind.h:106: error: expected ‘)’ before ‘*’ token
rpcbind.h:126: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:127: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:136: warning: ‘struct netbuf’ declared inside parameter list
check_bound.c: In function ‘check_bound’:
check_bound.c:91: warning: implicit declaration of function ‘uaddr2taddr’
check_bound.c:91: warning: assignment makes pointer from integer without a cast
check_bound.c:95: warning: implicit declaration of function ‘__rpc_nconf2fd’
check_bound.c:97: error: dereferencing pointer to incomplete type
check_bound.c:102: error: dereferencing pointer to incomplete type
check_bound.c:102: error: dereferencing pointer to incomplete type
check_bound.c:105: error: dereferencing pointer to incomplete type
check_bound.c: At top level:
check_bound.c:112: warning: ‘struct netbuf’ declared inside parameter list
check_bound.c:113: error: conflicting types for ‘add_bndlist’
rpcbind.h:83: error: previous declaration of ‘add_bndlist’ was here
check_bound.c: In function ‘add_bndlist’:
check_bound.c:117: warning: implicit declaration of function ‘getnetconfigent’
check_bound.c:117: error: dereferencing pointer to incomplete type
check_bound.c:117: warning: assignment makes pointer from integer without a cast
check_bound.c:122: warning: implicit declaration of function ‘freenetconfigent’
check_bound.c: In function ‘is_bound’:
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c: In function ‘mergeaddr’:
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:181: warning: implicit declaration of function ‘taddr2uaddr’
check_bound.c:181: warning: implicit declaration of function ‘svc_getrpccaller’
check_bound.c:181: warning: assignment makes pointer from integer without a cast
check_bound.c:184: error: dereferencing pointer to incomplete type
check_bound.c:205: warning: passing argument 1 of ‘addrmerge’ makes pointer from integer without a cast
check_bound.c: In function ‘rpcbind_get_conf’:
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
make[3]: *** [check_bound.o] Error 1
make[3]: Leaving directory `/root/Desktop/rpcbind-0.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Desktop/rpcbind-0.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/rpcbind-0.1.7'
make: *** [all] Error 2
I got the "./configure" to work. Turns out I needed to install gcc. Anyway the next step is to compile and when I type "make" it spews all of this out at me. I don't know what I have to do now.
I have done some rpc program in c.but it connected in one side only
client to server but i want server also access the client side procedure
what will i do.plz help me
I also got the same error while building the package.
In file included from check_bound.c:60:
rpcbind.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'list_rbl'
rpcbind.h:82: warning: 'struct netbuf' declared inside parameter list
rpcbind.h:82: warning: its scope is only this definition or declaration, which is probably not what you want
rpcbind.h:82: warning: 'struct netconfig' declared inside parameter list
rpcbind.h:93: error: expected declaration specifiers or '...' before 'rpcblist_ptr'
rpcbind.h:102: error: expected ')' before '*' token
rpcbind.h:103: error: expected ')' before '*' token
rpcbind.h:105: error: expected ')' before '*' token
I have cross checked the rpcbind.h file many times but I could not locate any ';' '=' missing in the file.
I have also installed portmap utlity.
Can anyone please suggest how it is fixed?
Thanks,
Jubi
Last edited by jubitaneja; 12-26-2011 at 11:41 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.