cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when compiling C program from RFC SDK on AIX 5.2

Former Member
0 Kudos

Hi friends,

When I compile c program from RFC SDK, some problems occured. The OS is AIX 5.2 and I use standard C compiler on AIX.

The compiling command is "xlc -q64 sapinfo.c -I... -L... sapinfo.c librfc.a -o sapinfo".

In "ld" step of compiling process, the problem is:

ld: 0711-317 ERROR: Undefined symbol: .__vn__FUl

ld: 0711-317 ERROR: Undefined symbol: .__vd__FPv

ld: 0711-317 ERROR: Undefined symbol: __PureVirtualCalled

ld: 0711-317 ERROR: Undefined symbol: .__dl__FPv

ld: 0711-317 ERROR: Undefined symbol: __dl_FPv

ld: 0711-317 ERROR: Undefined symbol: .__nw__FUl

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I thought it seem to RFC SDK uses some C++ functions. So I change the file name into

"sapinfo.C".

The compiling command is "xlc -q64 sapinfo.C -I... -L... sapinfo.c librfc.a -o sapinfo"

to compile.

Then the error information comed:

ld: 0711-317 ERROR: Undefined symbol: .operator new[](unsighned long)

ld: 0711-317 ERROR: Undefined symbol: .operator delete[](void*)

ld: 0711-317 ERROR: Undefined symbol: __PureVirtualCalled

ld: 0711-317 ERROR: Undefined symbol: .operator delete(void*)

ld: 0711-317 ERROR: Undefined symbol: operator delete(void*)

ld: 0711-317 ERROR: Undefined symbol: .operator new(unsigned long)

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I hope someone can tell me the reason and how I can get it through.

3x

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

see this post :

Adding -lC seems to work ...