Skip to Content
author's profile photo Former Member
Former Member

Errors compiling program with RFC SDK 700 for ECC 6.0

Hi,

We are getting an error when trying to compile a program on HP_UX HP9000. We downloaded the RFC SDK for 700. The command we are using is:

cc sapsockets.c librfc.a -o sapsockets -lm -lcl +DA2.0W

The error we receive is:

ld: Unsatisfied symbol "xdr_string" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__nw__FUl" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__dl__FPv" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "xdr_free" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "[Vtable]key:__dt__21__versioned_type_infoFv" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__PureVirtualCalled" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__dla__FPv" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__nwa__FUl" in file librfc.a[cpictlib.o]

ld: Unsatisfied symbol "__ConstructMarkedArray__FPvUiUlPFv_vT4" in file librfc.a[cpictlib.o]

9 errors.

I don't have much experience in this area. Sorry I couldn't supply more information.

Any help is appreciated.

Thanks,

Domenick

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 03, 2007 at 11:04 PM

    See note 1056696 - Compiling and Linking RFC Programs with the SAP NW RFC SDK

    • HP-UX (PA-RISC, 64 bit)

    aCC -DSAPonUNIX -DSAPonHPPA -DSAPwithUNICODE +DD64 -Aa +W392,829,818,887 -DSAPwithTHREADS -mt -w +O2 -DNDEBUG +inst_compiletime -c <program>.cpp
    
    aCC -Wl,+n,-z -Wl,-a,default +DD64 -o <program> <program>.o libsapnwrfc.sl libsapucum.sl [and possibly libicudecnumber.sl] 

    --

    Markus

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.