GNU bug report logs - #17806
24.4.50; Branch emacs-24 fails to beuild on Debian

Previous Next

Package: emacs;

Reported by: Manoj Srivastava <srivasta <at> golden-gryphon.com>

Date: Wed, 18 Jun 2014 23:39:01 UTC

Severity: normal

Found in version 24.4.50

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 17806 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manoj Srivastava <srivasta <at> golden-gryphon.com>
Cc: 17806 <at> debbugs.gnu.org
Subject: Re: bug#17806: 24.4.50; Branch emacs-24 fails to beuild on Debian
Date: Thu, 19 Jun 2014 05:56:26 +0300
> From: Manoj Srivastava <srivasta <at> golden-gryphon.com>
> Date: Wed, 18 Jun 2014 15:37:57 -0700
> 
> ar cru libgnu.a allocator.o binary-io.o c-ctype.o c-strcasecmp.o c-strncasecmp.o careadlinkat.o close-stream.o count-one-bits.o count-trailing-zeros.o md5.o sha1.o sha256.o sha512.o dtoastr.o dtotimespec.o filemode.o  gettime.o pipe2.o acl-errno-valid.o file-has-acl.o qcopy-acl.o qset-acl.o stat-time.o strftime.o  timespec.o timespec-add.o timespec-sub.o u64.o unistd.o utimens.o openat-die.o save-cwd.o fcntl.o sig2str.o
> ranlib libgnu.a
> make[2]: Leaving directory '/usr/local/src/emacs/lib'
> make[1]: Leaving directory '/usr/local/src/emacs/lib'
> make -C lib-src all
> make[1]: Entering directory '/usr/local/src/emacs/lib-src'
> gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib    -g3 -O2 -flto=4 -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"24.4.50\"" -o etags ./etags.c regex.o ../lib/libgnu.a  
> /tmp/ccfQ4ArO.ltrans1.ltrans.o: In function `get_language_from_filename':
> /usr/local/src/emacs/lib-src/./etags.c:1434: undefined reference to `c_strcasecmp'
> /usr/local/src/emacs/lib-src/./etags.c:1447: undefined reference to `c_strcasecmp'
> /tmp/ccfQ4ArO.ltrans4.ltrans.o: In function `HTML_labels.lto_priv.77':
> /usr/local/src/emacs/lib-src/./etags.c:5136: undefined reference to `c_strncasecmp'
> /usr/local/src/emacs/lib-src/./etags.c:5193: undefined reference to `c_strncasecmp'

How can this happen, when you've just created libgnu.a with both
c-strcasecmp.o and c-strncasecmp.o, and the link command line mentions
libgnu.a?

What symbols does "nm -A" report in c-strcasecmp.o and c-strncasecmp.o?




This bug report was last modified 11 years and 47 days ago.

Previous Next


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