on 01-11-2006 10:58 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.