GNU bug report logs - #23003
25.1.50; --with-x-toolkit options cause the build to fail.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Sun, 13 Mar 2016 08:22:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.1.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Keith David Bershatsky <esq <at> lawlist.com>
Cc: 23003 <at> debbugs.gnu.org
Subject: Re: 25.1.50; --with-x-toolkit options cause the build to fail.
Date: Thu, 17 Mar 2016 23:57:34 -0700
[Message part 1 (text/plain, inline)]
> 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 (text/x-diff, attachment)]

This bug report was last modified 9 years and 59 days ago.

Previous Next


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