* Unable to build Emacs 23.3 Release Candidate 2
@ 2013-03-08 20:40 Luka
2013-03-08 21:46 ` Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Luka @ 2013-03-08 20:40 UTC (permalink / raw)
To: help-gnu-emacs
I am having problems compiling Emacs 23.3 Release Candidate 2:
I run `autogen.sh`, then `./configure`, but when I run `make` I get this 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
I have never seen an error like this before. What does this mean and how do I fix it?
Thanks,
James
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to build Emacs 23.3 Release Candidate 2
2013-03-08 20:40 Unable to build Emacs 23.3 Release Candidate 2 Luka
@ 2013-03-08 21:46 ` Peter Dyballa
2013-03-08 23:26 ` James Jong
2013-03-08 22:19 ` Lowell Gilbert
2013-03-09 7:59 ` Eli Zaretskii
2 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2013-03-08 21:46 UTC (permalink / raw)
To: Luka; +Cc: help-gnu-emacs
Am 08.03.2013 um 21:40 schrieb Luka:
> I have never seen an error like this before. What does this mean and how do I fix it?
The indicated .o or object files contain functions which are standard C library functions, first declarated in C header files from the system, those found in /usr/include.
Could be, configure ran into errors and was not able to detect that these functions exist in your system's C library.
You could check the file config.log or you could run configure again, best in GNU Emacs and in compilation-mode, i.e.:
M-x compile RET ./configure ...
In this mode colours will emphasise configure's results. Then also check config.log!
Are you able to configure, compile, and install any other Open Source software?
--
Greetings
Pete
Hard Disk, n.:
A device that allows users to delete vast quantities of data with simple mnemonic commands.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to build Emacs 23.3 Release Candidate 2
2013-03-08 21:46 ` Peter Dyballa
@ 2013-03-08 23:26 ` James Jong
0 siblings, 0 replies; 5+ messages in thread
From: James Jong @ 2013-03-08 23:26 UTC (permalink / raw)
To: Peter Dyballa; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
Thanks Peter. Yes, I was able to run autogen.sh with no problem as well as
./configure. I have been able to compile open source software in the past
(the system is a cluster used by several people). Thanks again, I guess I
will keep investigating..
On Fri, Mar 8, 2013 at 4:46 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 08.03.2013 um 21:40 schrieb Luka:
>
> > I have never seen an error like this before. What does this mean and how
> do I fix it?
>
> The indicated .o or object files contain functions which are standard C
> library functions, first declarated in C header files from the system,
> those found in /usr/include.
>
> Could be, configure ran into errors and was not able to detect that these
> functions exist in your system's C library.
>
> You could check the file config.log or you could run configure again, best
> in GNU Emacs and in compilation-mode, i.e.:
>
> M-x compile RET ./configure ...
>
> In this mode colours will emphasise configure's results. Then also check
> config.log!
>
>
> Are you able to configure, compile, and install any other Open Source
> software?
>
> --
> Greetings
>
> Pete
>
> Hard Disk, n.:
> A device that allows users to delete vast quantities of data with
> simple mnemonic commands.
>
>
[-- Attachment #2: Type: text/html, Size: 1658 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to build Emacs 23.3 Release Candidate 2
2013-03-08 20:40 Unable to build Emacs 23.3 Release Candidate 2 Luka
2013-03-08 21:46 ` Peter Dyballa
@ 2013-03-08 22:19 ` Lowell Gilbert
2013-03-09 7:59 ` Eli Zaretskii
2 siblings, 0 replies; 5+ messages in thread
From: Lowell Gilbert @ 2013-03-08 22:19 UTC (permalink / raw)
To: help-gnu-emacs
Luka <ribonucleico@gmail.com> writes:
> I run `autogen.sh`, then `./configure`, but when I run `make` I get this error:
If you need to run autogen on your own, you're expected to deal with the
issues. Why are you running it? It's not needed on most platforms...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unable to build Emacs 23.3 Release Candidate 2
2013-03-08 20:40 Unable to build Emacs 23.3 Release Candidate 2 Luka
2013-03-08 21:46 ` Peter Dyballa
2013-03-08 22:19 ` Lowell Gilbert
@ 2013-03-09 7:59 ` Eli Zaretskii
2 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2013-03-09 7:59 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Fri, 8 Mar 2013 12:40:19 -0800 (PST)
> From: Luka <ribonucleico@gmail.com>
> Injection-Date: Fri, 08 Mar 2013 20:40:19 +0000
>
> I am having problems compiling Emacs 23.3 Release Candidate 2:
You mean, Emacs 24.3 Release Candidate 2, right?
This should go to bug-gnu-emacs@gnu.org or emacs-devel@gnu.org. The
release manager of Emacs must be alerted to any problems in release
candidates ASAP.
> I run `autogen.sh`, then `./configure`, but when I run `make` I get this error:
Why do you run autogen.sh when building from a release tarball? It's
not needed, and you are running the risk of getting a bad configure
script and Makefile's.
> 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':
> [...]
> 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
>
> I have never seen an error like this before. What does this mean and how do I fix it?
Hard to tell. It looks like some strange temporary object file
(/tmp/ccntBfBN.o) causes multiple definitions of inline functions
defined on standard headers. Add -v to the link command line and
examine the output produced by GCC when linking, it might tell you
what is wrong.
If you cannot fix this or convince yourself it's a pilot error,
_please_ report it to one of the lists mentioned above ASAP.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-09 7:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 20:40 Unable to build Emacs 23.3 Release Candidate 2 Luka
2013-03-08 21:46 ` Peter Dyballa
2013-03-08 23:26 ` James Jong
2013-03-08 22:19 ` Lowell Gilbert
2013-03-09 7:59 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.