(wx-users) XML-Support under OpenVMS

Mirko Gerber HansQ at gmx.de
Wed Sep 13 06:13:54 PDT 2006


>Please check for dependencies my web page:
>   http://nchrem.tnw.tudelft.nl/openvms/software2.html#WXWIDGETS
>At least for the CVS version sources from the xml and xrc directories are
>linked in by "default".
>
>Can you specify which version of wxgtk you are using?
>What "unresolved" symbols you get?
>Can you reproduce it with one of the "samples"? if yes, I can try myself.
>
>
>                        Jouk

Hello, 
I use the 2.6.3 version of wxgtk 
I took the instructions out of the readme file in the wxgtk-package.
Thats not a problem with the dependencies of the programs listed there.

My problem is to compile the sample "xrc".
There the class wxXmlRessource is being used.
In the class wxXmlResource some functions will be called, for example:
   XML_GetErrorCode
   XML_Parse
   XML_ErrorString

The functions are defined in the expat.olb which has to be generated before compiling the wx-library.
The directory of the Expat library is in the src subdir of wxgtk.
There is also a mms file in the subdir "vms" of the expat "dir".
I created the expat.olb and all functions are in that library.

Now, when I try to get the xrc-example to run there are the following errors: (Only those relating to the xml-problems are exposed)
cxxlink/exec=xrcdemo_gtk.exe xrcdemo,custclas,myframe,derivdlg,[--.lib]vms_gtk/opt
%LINK-W-NUDFSYMS, 69 undefined symbols:
...
%LINK-I-UDFSYM,         XML_ErrorString
%LINK-I-UDFSYM,         XML_GetCurrentLineNumber
%LINK-I-UDFSYM,         XML_GetErrorCode
%LINK-I-UDFSYM,         XML_Parse
%LINK-I-UDFSYM,         XML_ParserCreate
%LINK-I-UDFSYM,         XML_ParserFree
%LINK-I-UDFSYM,         XML_SetCharacterDataHandler
%LINK-I-UDFSYM,         XML_SetCommentHandler
%LINK-I-UDFSYM,         XML_SetDefaultHandler
%LINK-I-UDFSYM,         XML_SetElementHandler
%LINK-I-UDFSYM,         XML_SetUnknownEncodingHandler
%LINK-I-UDFSYM,         XML_SetUserData
%LINK-W-USEUNDEF, undefined symbol XML_Parse referenced
in psect $LINK$ offset %X00001690
in module xml file SYS$SYSDEVICE:[WXGTK.wxGTK-263.lib]libwx_gtk.olb;35
%LINK-W-USEUNDEF, undefined symbol XML_SetUnknownEncodingHandler referenced
    in psect $LINK$ offset %X000016A0
    in module xml fileSYS$SYSDEVICE:[WXGTK.wxGTK-263.lib]libwx_gtk.olb;35
%LINK-W-USEUNDEF, undefined symbol XML_GetCurrentLineNumber referenced
    in psect $LINK$ offset %X000016D0
    in module xml file SYS$SYSDEVICE:[WXGTK.wxGTK-263.lib]libwx_gtk.olb;35
....
....

And I've no idea of how I can solvew that problem.
I've included the expat.olb to the linker-call and that didn't worked.

Do you have any suggestion?

Best regards

Mirko
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail




More information about the wx-users mailing list