Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Undefined first referenced symbol (RPC)

807575Sep 4 2009 — edited Sep 4 2009
Hello, I'm porting my linux application to solaris, but I've faced a poblem with rpc part (rpc files have been created with the help of rpcgen). My program works in linux, but in solaris 10 x86 (SunStudio 12.1) I recieve errors, which I gave below. I've tried to write a simple rpc project, using rpcgen, but recieved same results. Any help will be much appreciated. Or if somebody give me a sample working rpc project (for Solaris) it would be great, cause I really don't understand what's wrong with my program.
Undefined first referenced
symbol in file
getdirlist_1 build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svcerr_noproc build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
returnobjectshashes_1 build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_create build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svcerr_systemerr build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_pollfd build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
xdr_string build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_xdr.o
xdr_pointer build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_xdr.o
freenetconfigent build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_tli_create build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
sendobjects_1 build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
t_errno build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_reg build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_run build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
getstatus_1 build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_max_pollfd build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
xdr_bool build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
xdr_long build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_xdr.o
xdr_void build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
t_getstate build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svc_sendreply build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
svcerr_decode build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
getnetconfigent build/Debug/SunStudio_12.1-Solaris-x86/LoveSunMod_svc.o
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2009
Added on Sep 4 2009
1 comment
288 views