unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sudish Joseph <sudish@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Revision 103880 broke the Windows build
Date: Sun, 10 Apr 2011 14:48:39 -0400	[thread overview]
Message-ID: <m2r59agcxk.fsf@gmail.com> (raw)
In-Reply-To: <4DA1F6F3.2050604@cs.ucla.edu> (Paul Eggert's message of "Sun, 10 Apr 2011 11:29:07 -0700")

Paul Eggert <eggert@cs.ucla.edu> 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.

-Sudish



  reply	other threads:[~2011-04-10 18:48 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 [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r59agcxk.fsf@gmail.com \
    --to=sudish@gmail.com \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).