|
From: | Paul Eggert |
Subject: | bug#23003: 25.1.50; --with-x-toolkit options cause the build to fail. |
Date: | Thu, 17 Mar 2016 23:57:34 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
emacsgtkfixed.c:36: error: redefinition of typedef 'EmacsFixedPrivate' ... emacsgtkfixed.c:37: error: redefinition of typedef 'EmacsFixedClass'
Thanks for reporting the problem. It looks like you have a picky C99 compiler that rejects duplicate typedefs. I installed into the emacs-25 branch the attached patch to fix this porting glitch; please give it a try.
The other diagnostics look like you ran './configure FOO-OPTIONS; make; ./configure BAR-OPTIONS; make', which does not work in general. When switching 'configure' options, in general one must start with a fresh tree. One way to do this is to leave the source tree alone and build in a separate directory, e.g.:
tar xf emacs-25.1.50.tar.gz mkdir build-foo cd build-foo ../emacs-25.1.50/configure FOO-OPTIONS make cd .. mkdir build-bar cd build-bar ../emacs-25.1.50/configure BAR-OPTIONS make cd .. So please try something like the above, after installing the attached patch.
0001-Port-to-GTK-with-strict-C99-compiler.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |