From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Revision 103880 broke the Windows build
Date: Sun, 10 Apr 2011 20:53:06 +0100 [thread overview]
Message-ID: <82r59951el.fsf@gmail.com> (raw)
In-Reply-To: 4DA1F6F3.2050604@cs.ucla.edu
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
prev parent reply other threads:[~2011-04-10 19:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-10 18:17 Revision 103880 broke the Windows build Eli Zaretskii
2011-04-10 18:29 ` Paul Eggert
2011-04-10 18:48 ` Sudish Joseph
2011-04-10 18:52 ` chad
2011-04-10 19:01 ` Eli Zaretskii
2011-04-10 19:53 ` Paul Eggert
2011-04-10 20:48 ` Eli Zaretskii
2011-04-10 19:53 ` Andy Moreton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82r59951el.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.