Compiling from git - first error



I did a fresh clone of git, and checked out gtk3 branch.

Did "./bootstrap.sh --prefix=/home/jack/balsa/install --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --with-gpgme --with-html-widget=webkit --enable-smime --without-gnome --without-gtksourceview --with-spell-checker=gtkspell --without-gss --without-ldap --with-libsecret --without-rubrica --without-sqlite"

I'll save for later a discussion of where some of these came from, but I started with a configure line from a few years ago - and obviously some things have changed.

Anyway, the ./bootstrap.sh completed without problems. Make, on the other hand died with

make[3]: Entering directory '/home/jack/balsa/balsa-git/libbalsa'
( glib-genmarshal --prefix=libbalsa ./libbalsa-marshal.list --header > libbalsa-marshal.tmp \
&& mv libbalsa-marshal.tmp libbalsa-marshal.h ) \
|| ( rm -f libbalsa-marshal.tmp && exit 1 )
  CC       abook-completion.o
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>: note: this is the location of the previous definition
cc1: all warnings being treated as errors
Makefile:742: recipe for target 'abook-completion.o' failed

I realize this is actually a warning not an error, but the -Werror raises the stakes. I don't think I want to remove the -Werror or change it to -w, but I can't find the specific name of the warning so I could use -Wno-error=xxx. Is there a way to suppress the error, or is this actually a problem that should be fixed?

Thanks for any suggestions of pointers.

Jack


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]