Symbols missing from static library

Robert Dailey rcdailey at gmail.com
Mon Sep 14 02:04:29 EDT 2009


On Sun, Sep 13, 2009 at 10:52 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> On Sun, Sep 13, 2009 at 10:51 PM, Robert Dailey <rcdailey at gmail.com>wrote:
>
>> On Sun, Sep 13, 2009 at 2:32 PM, Joe Orton <joe at manyfish.co.uk> wrote:
>>
>>> On Mon, Sep 07, 2009 at 10:09:39PM -0500, Robert Dailey wrote:
>>> > I use neon.mak to build Neon 0.28.6 on Windows, and in the final static
>>> > library I have, I'm missing a few symbols. My program claims to be
>>> unable to
>>> > find these symbols:
>>> >
>>> > Error 2 error LNK2019: unresolved external symbol _ne_xml_get_error
>>> > referenced in function _svn_ra_neon__exchange_capabilities
>>> > libsvn_ra_neon-1.lib subversion
>>>
>>> Hiya - did you follow the instructions in INSTALL.win32?  You have to
>>> specify some flags when building to point neon at expat.
>>
>>
>> Thanks for the help. At that time I did not follow the instructions. I was
>> missing the EXPAT_SRC= flag that you pass into the makefile when using
>> nmake. However, now that I'm doing that, I get the following error during
>> the build process:
>>
>> src\ne_xml.c(46) : fatal error C1083: Cannot open include file: 'expat.h':
>> No such file or directory
>>
>> However, there is an expat.h inside of expat/lib/expat.h
>>
>> Why is it not finding this header file? Do you not set the proper include
>> paths in your makefile?
>>
>
> Oh, I should also add that I'm using the tarball version of expat, NOT the
> binary installer as the INSTALL.win32 expects. I was hoping this wouldn't be
> a problem...
>
>
Now I'm getting:

Warning 2 warning LNK4217: locally defined symbol _XML_GetCurrentLineNumber
imported in function _ne_xml_currentline libneon.lib subversion
Warning 3 warning LNK4217: locally defined symbol _XML_ErrorString imported
in function _ne_xml_parse libneon.lib subversion
Warning 4 warning LNK4217: locally defined symbol _XML_GetErrorCode imported
in function _ne_xml_parse libneon.lib subversion
Warning 5 warning LNK4217: locally defined symbol _XML_Parse imported in
function _ne_xml_parse libneon.lib subversion
Warning 6 warning LNK4217: locally defined symbol _XML_ParserFree imported
in function _ne_xml_destroy libneon.lib subversion
Warning 7 warning LNK4217: locally defined symbol _XML_SetEntityDeclHandler
imported in function _ne_xml_create libneon.lib subversion
Warning 8 warning LNK4217: locally defined symbol _XML_SetXmlDeclHandler
imported in function _ne_xml_create libneon.lib subversion
Warning 9 warning LNK4217: locally defined symbol _XML_SetUserData imported
in function _ne_xml_create libneon.lib subversion
Warning 10 warning LNK4217: locally defined symbol
_XML_SetCharacterDataHandler imported in function _ne_xml_create libneon.lib
subversion
Warning 11 warning LNK4217: locally defined symbol _XML_SetElementHandler
imported in function _ne_xml_create libneon.lib subversion
Warning 12 warning LNK4217: locally defined symbol _XML_ParserCreate
imported in function _ne_xml_create libneon.lib subversion
Error 13 error LNK2019: unresolved external symbol _inet_aton referenced in
function _ne_iaddr_parse libneon.lib subversion
Error 14 error LNK2019: unresolved external symbol __imp__XML_StopParser
referenced in function _entity_declaration libneon.lib subversion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/neon/attachments/20090914/fc26ba12/attachment.html 


More information about the neon mailing list