emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Revision 103880 broke the Windows build


From: Andy Moreton
Subject: Re: Revision 103880 broke the Windows build
Date: Sun, 10 Apr 2011 20:53:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

On Sun 10 Apr 2011, Paul Eggert wrote:

> On 04/10/2011 11:17 AM, Eli Zaretskii wrote:
>> Here's the error message:
>> 
>>   oo-spd/i386/temacs2.a(xdisp.o)(.text+0x277ba): In function `message':
>>   D:\gnu\bzr\emacs\trunk\src/xdisp.c:8420: undefined reference to `strnlen'
>
> Windows has strnlen, according to
> <http://msdn.microsoft.com/en-us/library/z50ty2zh%28v=vs.80%29.aspx>.
> So why does the build fail on Windows?
>
> I suppose we can add a replacement for strnlen on Windows, but that
> would be pretty odd if Windows already had it.

The mingw import libs do not appear to support strnlen().

Looking at the DLLs installed in C:\WINDOWS\System32 on my WinXP system,
only msvcr100.dll exports strnlen(). This appears to be a part of the
Visual Studio 2010 redistributables:

    http://msdn.microsoft.com/en-us/library/8kche8ah.aspx

A replacement seems necessary (or revert the changes).

    AndyM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]