unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13908: Unable to compile Emacs 23.3 Release Candidate 2
@ 2013-03-08 23:29 James Jong
  2013-03-09  1:52 ` Glenn Morris
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: James Jong @ 2013-03-08 23:29 UTC (permalink / raw)
  To: 13908

[-- Attachment #1: Type: text/plain, Size: 12920 bytes --]

Hi,

I  built recent the latest versions of `autoconf`, `automake` and `texinfo`
and updated my `PERL5LIB` to make it include
`/path/to/automake/share/automake-1.13` (otherwise I get the error: `can't
locate Automake/Config.pm`).

I then run:

    > autogen.sh

I then run `./configure --without-gif --prefix=/some/path`, and then
 `make`. But here I get  the following error:

`collect2: error: ld returned exit status`.

Here is the full trace for that error:

    gcc -std=gnu99     -I. -I../src -I../lib
-I/home/john/bin/emacs/rc/emacs-24.3/lib-src
-I/home/john/opt/emacs/rc/emacs-24.3/lib-src/../src -I/home/
    john/bin/emacs/rc/emacs-24.3/lib-src/../lib  -Wl,-znocombreloc   -g3
-O2 -DEMACS_NAME="\"GNU Emacs\"" \
              -DVERSION="\"24.3\""
/home/john/bin/emacs/rc/emacs-24.3/lib-src/etags.c \
              regex.o ../lib/libgnu.a  -o etags
    regex.o: In function `stpncpy':
    /usr/include/bits/string3.h:160: multiple definition of `stpncpy'
    /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here
    regex.o: In function `realpath':
    /usr/include/bits/stdlib.h:37: multiple definition of `realpath'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:37: first defined here
    regex.o: In function `ptsname_r':
    /usr/include/bits/stdlib.h:53: multiple definition of `ptsname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:53: first defined here
    regex.o: In function `wctomb':
    /usr/include/bits/stdlib.h:74: multiple definition of `wctomb'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:74: first defined here
    regex.o: In function `mbstowcs':
    /usr/include/bits/stdlib.h:95: multiple definition of `mbstowcs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:95: first defined here
    regex.o: In function `wcstombs':
    /usr/include/bits/stdlib.h:114: multiple definition of `wcstombs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:114: first defined here
    regex.o: In function `read':
    /usr/include/bits/unistd.h:35: multiple definition of `read'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:35: first defined here
    regex.o: In function `pread':
    /usr/include/bits/unistd.h:57: multiple definition of `pread'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:57: first defined here
    regex.o: In function `pread64':
    /usr/include/bits/unistd.h:77: multiple definition of `pread64'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:77: first defined here
    regex.o: In function `readlink':
    /usr/include/bits/unistd.h:99: multiple definition of `readlink'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:99: first defined here
    regex.o: In function `readlinkat':
    /usr/include/bits/unistd.h:121: multiple definition of `readlinkat'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:121: first defined here
    regex.o: In function `getcwd':
    /usr/include/bits/unistd.h:136: multiple definition of `getcwd'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:136: first defined here
    regex.o: In function `getwd':
    /usr/include/bits/unistd.h:150: multiple definition of `getwd'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:150: first defined here
    regex.o: In function `confstr':
    /usr/include/bits/unistd.h:165: multiple definition of `confstr'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:165: first defined here
    regex.o: In function `getgroups':
    /usr/include/bits/unistd.h:181: multiple definition of `getgroups'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:181: first defined here
    regex.o: In function `ttyname_r':
    /usr/include/bits/unistd.h:197: multiple definition of `ttyname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:197: first defined here
    regex.o: In function `getlogin_r':
    /usr/include/bits/unistd.h:213: multiple definition of `getlogin_r'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:213: first defined here
    regex.o: In function `gethostname':
    /usr/include/bits/unistd.h:230: multiple definition of `gethostname'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:230: first defined here
    regex.o: In function `getdomainname':
    /usr/include/bits/unistd.h:248: multiple definition of `getdomainname'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:248: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `stpncpy':
    /usr/include/bits/string3.h:160: multiple definition of `stpncpy'
    /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `realpath':
    /usr/include/bits/stdlib.h:37: multiple definition of `realpath'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:37: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `ptsname_r':
    /usr/include/bits/stdlib.h:53: multiple definition of `ptsname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:53: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `wctomb':
    /usr/include/bits/stdlib.h:74: multiple definition of `wctomb'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:74: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `mbstowcs':
    /usr/include/bits/stdlib.h:95: multiple definition of `mbstowcs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:95: first defined here
    ../lib/libgnu.a(c-strcasecmp.o): In function `wcstombs':
    /usr/include/bits/stdlib.h:114: multiple definition of `wcstombs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:114: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `stpncpy':
    /usr/include/bits/string3.h:160: multiple definition of `stpncpy'
    /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `realpath':
    /usr/include/bits/stdlib.h:37: multiple definition of `realpath'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:37: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `ptsname_r':
    /usr/include/bits/stdlib.h:53: multiple definition of `ptsname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:53: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `wctomb':
    /usr/include/bits/stdlib.h:74: multiple definition of `wctomb'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:74: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `mbstowcs':
    /usr/include/bits/stdlib.h:95: multiple definition of `mbstowcs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:95: first defined here
    ../lib/libgnu.a(c-strncasecmp.o): In function `wcstombs':
    /usr/include/bits/stdlib.h:114: multiple definition of `wcstombs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:114: first defined here
    ../lib/libgnu.a(getopt.o): In function `stpncpy':
    /usr/include/bits/string3.h:160: multiple definition of `stpncpy'
    /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here
    ../lib/libgnu.a(getopt.o): In function `realpath':
    /usr/include/bits/stdlib.h:37: multiple definition of `realpath'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:37: first defined here
    ../lib/libgnu.a(getopt.o): In function `ptsname_r':
    /usr/include/bits/stdlib.h:53: multiple definition of `ptsname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:53: first defined here
    ../lib/libgnu.a(getopt.o): In function `wctomb':
    /usr/include/bits/stdlib.h:74: multiple definition of `wctomb'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:74: first defined here
    ../lib/libgnu.a(getopt.o): In function `mbstowcs':
    /usr/include/bits/stdlib.h:95: multiple definition of `mbstowcs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:95: first defined here
    ../lib/libgnu.a(getopt.o): In function `wcstombs':
    /usr/include/bits/stdlib.h:114: multiple definition of `wcstombs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:114: first defined here
    ../lib/libgnu.a(getopt.o): In function `gets':
    /usr/include/bits/stdio2.h:94: multiple definition of `gets'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:94: first defined here
    ../lib/libgnu.a(getopt.o): In function `fgets':
    /usr/include/bits/stdio2.h:109: multiple definition of `fgets'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:109: first defined here
    ../lib/libgnu.a(getopt.o): In function `fgets_unlocked':
    /usr/include/bits/stdio2.h:125: multiple definition of `fgets_unlocked'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:125: first defined here
    ../lib/libgnu.a(getopt.o): In function `read':
    /usr/include/bits/unistd.h:35: multiple definition of `read'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:35: first defined here
    ../lib/libgnu.a(getopt.o): In function `pread':
    /usr/include/bits/unistd.h:57: multiple definition of `pread'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:57: first defined here
    ../lib/libgnu.a(getopt.o): In function `pread64':
    /usr/include/bits/unistd.h:77: multiple definition of `pread64'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:77: first defined here
    ../lib/libgnu.a(getopt.o): In function `readlink':
    /usr/include/bits/unistd.h:99: multiple definition of `readlink'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:99: first defined here
    ../lib/libgnu.a(getopt.o): In function `readlinkat':
    /usr/include/bits/unistd.h:121: multiple definition of `readlinkat'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:121: first defined here
    ../lib/libgnu.a(getopt.o): In function `getcwd':
    /usr/include/bits/unistd.h:136: multiple definition of `getcwd'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:136: first defined here
    ../lib/libgnu.a(getopt.o): In function `getwd':
    /usr/include/bits/unistd.h:150: multiple definition of `getwd'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:150: first defined here
    ../lib/libgnu.a(getopt.o): In function `confstr':
    /usr/include/bits/unistd.h:165: multiple definition of `confstr'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:165: first defined here
    ../lib/libgnu.a(getopt.o): In function `getgroups':
    /usr/include/bits/unistd.h:181: multiple definition of `getgroups'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:181: first defined here
    ../lib/libgnu.a(getopt.o): In function `ttyname_r':
    /usr/include/bits/unistd.h:197: multiple definition of `ttyname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:197: first defined here
    ../lib/libgnu.a(getopt.o): In function `getlogin_r':
    /usr/include/bits/unistd.h:213: multiple definition of `getlogin_r'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:213: first defined here
    ../lib/libgnu.a(getopt.o): In function `gethostname':
    /usr/include/bits/unistd.h:230: multiple definition of `gethostname'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:230: first defined here
    ../lib/libgnu.a(getopt.o): In function `getdomainname':
    /usr/include/bits/unistd.h:248: multiple definition of `getdomainname'
    /tmp/ccntBfBN.o:/usr/include/bits/unistd.h:248: first defined here
    ../lib/libgnu.a(getopt1.o): In function `stpncpy':
    /usr/include/bits/string3.h:160: multiple definition of `stpncpy'
    /tmp/ccntBfBN.o:/usr/include/bits/string3.h:160: first defined here
    ../lib/libgnu.a(getopt1.o): In function `realpath':
    /usr/include/bits/stdlib.h:37: multiple definition of `realpath'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:37: first defined here
    ../lib/libgnu.a(getopt1.o): In function `ptsname_r':
    /usr/include/bits/stdlib.h:53: multiple definition of `ptsname_r'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:53: first defined here
    ../lib/libgnu.a(getopt1.o): In function `wctomb':
    /usr/include/bits/stdlib.h:74: multiple definition of `wctomb'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:74: first defined here
    ../lib/libgnu.a(getopt1.o): In function `mbstowcs':
    /usr/include/bits/stdlib.h:95: multiple definition of `mbstowcs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:95: first defined here
    ../lib/libgnu.a(getopt1.o): In function `wcstombs':
    /usr/include/bits/stdlib.h:114: multiple definition of `wcstombs'
    /tmp/ccntBfBN.o:/usr/include/bits/stdlib.h:114: first defined here
    ../lib/libgnu.a(getopt1.o): In function `gets':
    /usr/include/bits/stdio2.h:94: multiple definition of `gets'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:94: first defined here
    ../lib/libgnu.a(getopt1.o): In function `fgets':
    /usr/include/bits/stdio2.h:109: multiple definition of `fgets'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:109: first defined here
    ../lib/libgnu.a(getopt1.o): In function `fgets_unlocked':
    /usr/include/bits/stdio2.h:125: multiple definition of `fgets_unlocked'
    /tmp/ccntBfBN.o:/usr/include/bits/stdio2.h:125: first defined here
    collect2: error: ld returned 1 exit status
    make[1]: *** [etags] Error 1
    make[1]: Leaving directory `/home/james/bin/emacs/rc/emacs-24.3/lib-src'
    make: *** [lib-src] Error 2

Any thoughts on what may be causing this?

James

[-- Attachment #2: Type: text/html, Size: 15803 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-03-14 20:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 23:29 bug#13908: Unable to compile Emacs 23.3 Release Candidate 2 James Jong
2013-03-09  1:52 ` Glenn Morris
2013-03-09  1:56   ` Glenn Morris
2013-03-11 17:01     ` James Jong
2013-03-11 18:14       ` Glenn Morris
2013-03-11 18:21         ` Eli Zaretskii
2013-03-11 18:50       ` Wolfgang Jenkner
2013-03-11 20:45       ` Achim Gratz
2013-03-12 15:54         ` James Jong
2013-03-12 16:38           ` Eli Zaretskii
2013-03-12 21:51             ` James Jong
2013-03-12 20:42 ` Paul Eggert
2013-03-13  4:51   ` Paul Eggert
2013-03-13 20:15 ` bug#13908: Unable to compile Emacs 24.3 stable James Jong
2013-03-13 20:35   ` Eli Zaretskii
2013-03-13 20:49     ` James Jong
     [not found]     ` <CAD4ivxVT53RUgh5Oicbto5MqxTeaYPevTTr0tc5hzS_O13+piA@mail.gmail.com>
2013-03-13 21:02       ` Eli Zaretskii
2013-03-13 22:13         ` James Jong
2013-03-13 22:30   ` Paul Eggert
2013-03-14 15:45     ` James Jong
2013-03-14 19:42       ` Paul Eggert
2013-03-14 20:21         ` James Jong

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).