[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17806: 24.4.50; Branch emacs-24 fails to beuild on Debian
From: |
Eli Zaretskii |
Subject: |
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@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?
bug#17806: 24.4.50; Branch emacs-24 fails to beuild on Debian, Paul Eggert, 2014/06/20
bug#17806: 24.4.50; Branch emacs-24 fails to beuild on Debian, Glenn Morris, 2014/06/20