[ http://nagoya.apache.org/jira/browse/XERCESC-1119?page=history ]
Alberto Massari updated XERCESC-1119:
-------------------------------------
Priority: Major
> info auto-import on linking
> ---------------------------
>
> Key: XERCESC-1119
> URL: http://nagoya.apache.org/jira/browse/XERCESC-1119
> Project: Xerces-C++
> Type: Bug
> Components: Build
> Versions: 2.4.0
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Marcelo Rezende Módolo
> Assignee: Xerces-C Developers Mailing List
>
> Hi,
> I build (gcc version 3.3.1 (cygming special)) the xerces lib (xerces-c-src2_4_0)
> with cygwin (DLL version: 1.5.5) in my w2k (Windows 2000 Professional Ver 5.0
> Build 2195 Service Pack 4) and finish with 6 files in libs dir
> (cygxerces-c24.dll, libxerces-c24.def, libxerces-c24.map libxerces-c.dll.a,
> libxerces-c24.dll.a, libxerces-c2_4_0.dll.a). When I go to samples dir and try
> to build the samples, no errors occur but I receive a lot of "infos" from linker...
> Info: resolving xercesc_2_4::XMLUni::fgXercescDefaultLocale by linking to
> __imp___ZN11xercesc_2_46XMLUni22fgXercescDefaultLocaleE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgWFXMLScanner by linking to __imp___
> Info: resolving xercesc_2_4::XMLUni::fgWFXMLScanner by linking to
> __imp___ZN11xercesc_2_46XMLUni14fgWFXMLScannerE (auto-import)
> Info: resolving xercesc_2_4::XMLPlatformUtils::fgTransService by linking
> to __imp___ZN11xercesc_2_416XMLPlatformUtils14fgTransServiceE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgXercesScannerName by linking to
> __imp___ZN11xercesc_2_46XMLUni19fgXercesScannerNameE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgSAX2CoreValidation by linking to
> __imp___ZN11xercesc_2_46XMLUni20fgSAX2CoreValidationE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgSAX2CoreNameSpaces by linking to
> __imp___ZN11xercesc_2_46XMLUni20fgSAX2CoreNameSpacesE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgXercesLoadExternalDTD by linking to
> __imp___ZN11xercesc_2_46XMLUni23fgXercesLoadExternalDTDE (auto-import)
> Info: resolving xercesc_2_4::XMLUni::fgXercesSchema by linking to
> __imp___ZN11xercesc_2_46XMLUni14fgXercesSchemaE (auto-import)
> Info: resolving xercesc_2_4::DOMNodeImpl::OWNED by linking to
> __imp___ZN11xercesc_2_411DOMNodeImpl5OWNEDE (auto-import)
> I found that this "info" are for static attribs. In documentation of ld exists a
> topic about auto-import that says using __declspec(dllimport) in header files
> when linking eliminate this problem.
> After look in xerces/src/util/compilers/GCCDefs.hpp I found to empty "defines":
> #define PLATFORM_EXPORT
> #define PLATFORM_IMPORT
> I try set than to:
> #define PLATFORM_EXPORT __declspec(dllexport)
> #define PLATFORM_IMPORT __declspec(dllimport)
> and rebuild the library. The result libs decrese in size but when I try to build
> some sample I receive a lot of errors about undefined class references.
> I found a lot of classes that do not have "*_EXPORT" in headers, classes like
> XMLRegisterCleanup in XMLRegisterCleanup.hpp, XMLDOMMsg in XMLDPMMsg.hpp...
> I do not know if this is a error, I am only reporting to help.
> thanks and please forgive my bad english.
> Marcelo Módolo
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]