468,512 Members | 1,406 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

IBM ZOS Unresolved static references detected

Hi,
I am using xml4c_5_6 on IBM MVS.

While executing a batch program (not from USS) using C++, I am getting following error

ERROR EDC4014: Undefined writable static objects are detected:
xml4c_5_6::XMLPlatformUtils::fgMemoryManager xml4c_5_6::XMLUni::fgXerces
cDefaultLocale

WARNING EDC4015: Unresolved references are detected:

Can you please suggest what could cause this error ?

Thanks
Apr 9 '08 #1
1 4944
weaknessforcats
9,207 Expert Mod 8TB
Unresolved external errors are caused by failing to include a source file or a library that defines the variable.

The external error happens when the inlcuded header says there is a variable, but it's not in this file. That is, it is external.

The compiler flags the variable as unresolved but does not generate a fatal error. It is left to the linker to find it. If the linker can't find the definition, then you get this type of unresolved references error.
Apr 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Tony Johansson | last post: by
4 posts views Thread by Alfonso Morra | last post: by
6 posts views Thread by Olivier Lechenne | last post: by
5 posts views Thread by cschettle | last post: by
reply views Thread by Ryan Gaffuri | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.