After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 599943 - Problem compiling libxml2 2.7.6
Problem compiling libxml2 2.7.6
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-28 19:30 UTC by Pierre
Modified: 2017-09-07 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre 2009-10-28 19:30:19 UTC
$ make
make  all-recursive
make[1]: Entering directory `/tmp/libxml2-2.7.6'
Making all in include
make[2]: Entering directory `/tmp/libxml2-2.7.6/include'
Making all in libxml
make[3]: Entering directory `/tmp/libxml2-2.7.6/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/libxml2-2.7.6/include/libxml'
make[3]: Entering directory `/tmp/libxml2-2.7.6/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/libxml2-2.7.6/include'
make[2]: Leaving directory `/tmp/libxml2-2.7.6/include'
Making all in .
make[2]: Entering directory `/tmp/libxml2-2.7.6'
gcc -DHAVE_CONFIG_H -I. -I./include -I./include  -D_REENTRANT      -s -O3 -march=i686 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT xmllint.o -MD -MP -MF .deps/xmllint.Tpo -c -o xmllint.o xmllint.c
In file included from xmllint.c:67:
/usr/local/include/readline/history.h:46: error: redefinition of `struct _hist_entry'
/usr/local/include/readline/history.h:83: error: conflicting types for 'add_history'
/usr/local/include/readline/readline.h:94: error: previous declaration of 'add_history' was here
/usr/local/include/readline/history.h:83: error: conflicting types for 'add_history'
/usr/local/include/readline/readline.h:94: error: previous declaration of 'add_history' was here
make[2]: *** [xmllint.o] Error 1
make[2]: Leaving directory `/tmp/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libxml2-2.7.6'
make: *** [all] Error 2
Comment 1 Pierre 2009-10-28 20:05:14 UTC
The problem appears with the use of the --with-history configure option