Subject: bug#1211: Compilation fails on latest cvs

From: Marco Pessotto <[email-masked]>
Date: Mon, 20 Oct 2008 16:08:27 +0200

Compilation fails on the latest cvs

CFLAGS='-O2 -march=i486 -mtune=i686'
CXXFLAGS='-O2 -march=i486 -mtune=i686'
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --mandir=/usr/man --infodir=/usr/info --enable-static=no --enable-shared=yes --with-x-toolkit=gtk

  Where should the build process find the source code?    /tmp/emacs-20081020cvs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/intel386.h'
  What compiler should emacs be built with?               gcc -O2 -march=i486 -mtune=i686
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     yes

make[3]: Entering directory `/tmp/emacs-20081020cvs/lisp'
wd=/tmp/emacs-20081020cvs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
        for file in $wins; do \
           /tmp/emacs-20081020cvs/lisp/../update-subdirs $file; \
        done;
make[3]: Leaving directory `/tmp/emacs-20081020cvs/lisp'
`/bin/pwd`/temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/tmp/emacs-20081020cvs/lisp /tmp/emacs-20081020cvs/lisp/emacs-lisp /tmp/emacs-20081020cvs/lisp/language /tmp/emacs-20081020cvs/lisp/international /tmp/emacs-20081020cvs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Symbol's function definition is void: declare-function
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/tmp/emacs-20081020cvs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/tmp/emacs-20081020cvs'
make: *** [bootstrap] Error 2

Regards

Marco Pessotto