Thanks Kai! I did what you suggest, and now most of the undefined references
are gone! To help others with the same issue, here is what I did:
I needed to go back all the way to Microsoft Visual Studio 2005, since the
newer versions did not have both files. I could then find them easily in the
Visual Studio installation folder, and link them with gcc without problems.

I have a few remaining undefined references, do these mean anything to someone?
Google really did not return anything useful :-(

  undefined reference to `_set_abort_behavior'

  undefined reference to `__chkstk'

  undefined reference to `??_7type_info@@6B@'


All the best,

    Mario


On 22.08.2016 09:51, Kai Tietz wrote:
> 2016-08-22 8:58 GMT+02:00 Mario Emmenlauer <[email protected]>:
>>
>> Dear All,
>>
>> I'm trying to link against MySQL, but it fails with undefined references
>> to __GSHandlerCheck and __security_check_cookie. I searched and this has
>> been asked before (several years back), but back then there was no solution
>> found. AFAIK these two where not available in MinGW's runtime, and in the
>> end the user was switching compilers. Is there a MinGW-based solution
>> possible now? I'd very much prefer that. I found people recommending to
>> link against a "bufferoverflowu.lib" and some 'gshandler.obj'. Do you know
>> if I can take those from Visual Studio and link against them in MinGW?
>> Would that work? Or other ideas?
>>
>> Thanks for any help,
>>
>>     Mario Emmenlauer
> 
> We don't support those.  You can link against MS libraries/objects for
> these symbols.  Or you could work on a patch, which provides support
> for those.
> 
> Regards,
> Kai



------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to