GNU bug report logs - #13495
Compilation fails on Mac OS X 10.8.0

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Fri, 18 Jan 2013 22:34:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: bug-gnulib <bug-gnulib <at> gnu.org>, 13495 <at> debbugs.gnu.org
Subject: bug#13495: Compilation fails on Mac OS X 10.8.0
Date: Thu, 24 Jan 2013 13:38:16 -0800
On 01/24/13 13:07, Assaf Gordon wrote:
>   $ CFLAGS="-g -O0" ./configure

Isn't it better to use this?

   ./configure CFLAGS="-g -O0"

If that works, it solves your problem.
Otherwise:

>   $ make
>   [ ... snip ... ]
>     CCLD     src/dircolors
>   Undefined symbols for architecture x86_64:
>     "___stpncpy_chk", referenced from:

This is the broken stpncpy implementation on OS X.
But why isn't 'configure' catching that?
What is the value of HAVE_STPNCPY?  It should
not be 1.  config.log should tell you why it has
the wrong value.




This bug report was last modified 12 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.