[Top][All Lists]

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

Re: Revision 103880 broke the Windows build

From: Sudish Joseph
Subject: Re: Revision 103880 broke the Windows build
Date: Sun, 10 Apr 2011 14:48:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin)

Paul Eggert <address@hidden> writes:
> 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.

Likewise for OS X 10.6.6:

Undefined symbols for architecture x86_64:
  "_strnlen", referenced from:
      _message in xdisp.o
ld: symbol(s) not found for architecture x86_64

Googling for "strnlen os x" returns many hits asserting that *BSD and OS
X don't have it.


reply via email to

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