This is an automated notification sent by Gna!.
It relates to:
bugs #1814, project Wormux
==============================================================================
LATEST MODIFICATIONS of bugs #1814:
==============================================================================
Posted by: an anonymous user
Posted on: 2004-12-20 19:39 ()
_______________________________________________________
Follow-up Comment:
look at this line:
tool/xml_document.h:10:31: libxml++/libxml++.h: No such file or directory
You need to install the libxml++-devel package
==============================================================================
OVERVIEW of bugs #1814:
==============================================================================
URL:
<http://gna.org/bugs/?func=detailitem&item_id=1814>
Summary: compile error
Project: Wormux
Submitted by: tgc
Submitted on: Wed 11/03/2004 at 01:35
Category: compilation
Severity: 7 - Major
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
When trying to compile wormux i got this load of errors. I'm on an up to date
archlinux, which more or less means i have a cutting edge system.
make[1]: Entering directory `/var/abs/local/wormux/src/wormux/src'
g++ -I/usr/include/ClanLib-0.7 -I/usr/include/libxml++-1.0
-I/usr/lib/libxml++-1.0/include -I/usr/include/libxml2
-DINSTALL_DATADIR=\"/usr/share/wormux/\"
-DINSTALL_LOCALEDIR=\"/usr/share/locale/\" -I../intl -I../intl -march=i686 -O2
-pipe -o wormux main.o config.o debug.o game.o game_loop.o game_mode.o
time.o animation.o convert.o font.o fps.o graphism.o image.o rotation.o
sprite.o video.o button.o button_text.o check_box.o list_box.o progress_bar.o
question.o spin_button.o constant.o cursor.o game_msg.o interface.o keyboard.o
mouse.o weapon_menu.o camera.o ground.o map.o maps_list.o sky.o tile.o water.o
wind.o infos_menu.o main_menu.o options_menu.o bonus_box.o objects_list.o
physical_obj.o jukebox.o character.o move.o skin.o team.o team_energy.o
teams_list.o error.o file_tools.o geometry_tools.o i18n.o math_tools.o
random.o string_tools.o xml_document.o air_attack.o auto_bazooka.o baseball.o
bazooka.o cluster_bomb.o crosshair.o dynamite.o grenade.o gun.o mine.o
skip_turn.o suicide.o teleportation.o weapon.o weapon_cfg.o weapons_list.o
weapon_tools.o -Wl,-rpath,/usr/lib -lclanGUI -lclanGL -lclanVorbis
-lclanSound -lclanSDL -lSDL -lpthread -lSDL_gfx -lclanDisplay -lclanCore
-lclanApp -lclanSignals -lxml++-1.0 -lxml2 -lpthread -lz -lm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::append(char const*, unsigned int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_istream<char, std::char_traits<char> >&
std::getline<char, std::char_traits<char>, std::allocator<char>
>(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, char)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(char const*, std::allocator<char>
const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve(unsigned int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_M_mutate(unsigned int, unsigned int, unsigned
int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for std::basic_ios<char, std::char_traits<char>
>@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::assign(char const*, unsigned int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::locale::~locale()@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for __cxxabiv1::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_create(unsigned int, unsigned int,
std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for std::basic_ostringstream<char,
std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::exception::~exception()@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ios<char, std::char_traits<char> >::widen(char)
[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_M_destroy(std::allocator<char>
const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::_List_node_base::hook(std::_List_node_base*)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `operator new(unsigned int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for __cxxabiv1::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `typeinfo for std::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::compare(char const*) [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `VTT for std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for __cxxabiv1::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(char const*, unsigned int,
std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >::write(char
const*, int)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::flush()@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::ios_base::~ios_base()@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `vtable for std::basic_streambuf<char, std::char_traits<char>
>@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(long)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::[EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libxml++-1.0.so: undefined
reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
collect2: ld returnerede afslutningskoden 1
make[1]: *** [wormux] Fejl 1
make[1]: Leaving directory `/var/abs/local/wormux/src/wormux/src'
make: *** [all-recursive] Fejl 1
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 12/20/2004 at 19:39 By: Anonymous
look at this line:
tool/xml_document.h:10:31: libxml++/libxml++.h: No such file or directory
You need to install the libxml++-devel package
-------------------------------------------------------
Date: Mon 12/20/2004 at 19:35 By: Anonymous
While trying to compile the srpm for fedora core 2, i experienced a similar
problem.
g++ (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Interesting part of the output:
+ /usr/bin/make
Making all in data
make[1]: Entering directory `/usr/src/redhat/BUILD/wormux-0.5.0/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/wormux-0.5.0/data'
Making all in src
make[1]: Entering directory `/usr/src/redhat/BUILD/wormux-0.5.0/src'
Making all in .
make[2]: Entering directory `/usr/src/redhat/BUILD/wormux-0.5.0/src'
if g++ -DPACKAGE_NAME=\"Wormux\" -DPACKAGE_TARNAME=\"wormux\"
-DPACKAGE_VERSION= \"0.5.0\" -DPACKAGE_STRING=\"Wormux\ 0.5.0\"
-DPACKAGE_BUGREPORT=\"[email protected] a.org\" -DPACKAGE=\"wormux\"
-DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYP ES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHA VE_LONG_LONG=1
-DHAVE_LONG_DOUBLE=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1 -DHAVE_INTT
YPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_INTMAX_T=1
-DHAVE_PO SIX_PRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
-DHAVE_UNISTD_H =1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DINTDIV0_RAISES_SIGFPE=1 -DHAVE_UNSIGNED_ LONG_LONG=1 -DHAVE_UINTMAX_T=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDI NT_H=1 -DHAVE_ARGZ_H=1
-DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 - DHAVE_MALLOC_H=1
-DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UN ISTD_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_ASPRINTF=1 -DHAVE_FWPRINTF=1 -DHAVE_GETCWD= 1
-DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPC
PY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1
-DHAVE_S NPRINTF=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1
-DHAVE_STRTOUL=1 - DHAVE_TSEARCH=1 -DHAVE_WCSLEN=1 -DHAVE___ARGZ_COUNT=1
-DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1
-DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL_ _SNWPRINTF=0 -DHAVE_DECL_FEOF_UNLOCKED=1
-DHAVE_DECL_FGETS_UNLOCKED=0 -DHAVE_DEC L_GETC_UNLOCKED=1 -DHAVE_ICONV=1
-DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE _LC_MESSAGES=1 -DENABLE_NLS=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBX11= -DENABLE_NLS=1
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_DIRENT_H=1 -I. -I.
-I/usr/X11R6/include -I/usr/include/ClanLib-0.7
-DINSTALL_DATADIR=\"/usr/sh are/wormux/\"
-DINSTALL_LOCALEDIR=\"/usr/share/locale/\" -I../intl -I../intl -O2 -g -pipe
-march=i386 -mcpu=i686 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o m ain.o
main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit
1 ; fi
In file included from team/skin.h:33,
from team/character.h:29,
from game/game.h:27,
from main.cpp:34:
tool/xml_document.h:10:31: libxml++/libxml++.h: No such file or directory
In file included from team/skin.h:33,
from team/character.h:29,
from game/game.h:27,
from main.cpp:34:
tool/xml_document.h:16: error: syntax error before `::' token
tool/xml_document.h:26: error: syntax error before `::' token
tool/xml_document.h:29: error: syntax error before `::' token
tool/xml_document.h:32: error: syntax error before `::' token
tool/xml_document.h:35: error: syntax error before `::' token
tool/xml_document.h:38: error: syntax error before `::' token
tool/xml_document.h:43: error: syntax error before `::' token
tool/xml_document.h:48: error: syntax error before `::' token
tool/xml_document.h:52: error: ISO C++ forbids declaration of `xmlpp' with
no
type
tool/xml_document.h:52: error: syntax error before `::' token
tool/xml_document.h:56: error: ISO C++ forbids declaration of `xmlpp' with
no
type
tool/xml_document.h:56: error: declaration of `int LitDocXml::xmlpp'
tool/xml_document.h:52: error: conflicts with previous declaration `int
LitDocXml::xmlpp'
tool/xml_document.h:56: error: syntax error before `::' token
tool/xml_document.h:61: error: syntax error before `::' token
tool/xml_document.h:64: error: syntax error before `::' token
tool/xml_document.h:67: error: syntax error before `::' token
tool/xml_document.h:77: error: syntax error before `::' token
tool/xml_document.h:78: error: syntax error before `::' token
tool/xml_document.h:95: error: syntax error before `::' token
tool/xml_document.h:97: error: `xmlpp' was not declared in this scope
tool/xml_document.h:97: error: syntax error before `::' token
In file included from team/character.h:29,
from game/game.h:27,
from main.cpp:34:
team/skin.h:99: error: `xmlpp' was not declared in this scope
team/skin.h:99: error: syntax error before `::' token
team/skin.h:100: error: type specifier omitted for parameter `xmlpp'
team/skin.h:100: error: syntax error before `::' token
team/skin.h:101: error: `xmlpp' was not declared in this scope
team/skin.h:101: error: syntax error before `::' token
In file included from main.cpp:38:
game/config.h:72: error: `xmlpp' was not declared in this scope
game/config.h:72: error: syntax error before `::' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/wormux-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/wormux-0.5.0/src'
make: *** [all-recursive] Error 1
feil: Ugyldig sluttstatus fra /var/tmp/rpm-tmp.67293 (%build)
RPM-feil under bygging:
Ugyldig sluttstatus fra /var/tmp/rpm-tmp.67293 (%build)
[EMAIL PROTECTED] SPECS]#
-------------------------------------------------------
Date: Thu 11/11/2004 at 13:16 By: Victor STINNER <haypo>
I think that I may come from g++ versions (3.3.x and 3.4.2 ?) conflict.
Similar bug (?) :
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14720
gcc libstdc++ ABI :
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
# gcc-3.3.0: libstdc++.so.5.0.4
# gcc-3.3.1: libstdc++.so.5.0.5
# gcc-3.3.2: libstdc++.so.5.0.5
# gcc-3.3.3: libstdc++.so.5.0.5
# gcc-3.4.0: libstdc++.so.6.0.0
# gcc-3.4.1: libstdc++.so.6.0.1
=> Maybe a conflict between libstdc++ 5.0.x and 6.0.x ?
Haypo
-------------------------------------------------------
Date: Thu 11/11/2004 at 12:26 By: Anonymous
I have the same problem with 0.5beta3.
I'm using gcc 3.3.4 which is the last "stable" version in gentoo.
Tuxmym.
-------------------------------------------------------
Date: Wed 11/10/2004 at 18:28 By: Tomas Groth <tgc>
Upgraded to beta3 and gcc 3.4.3, and now the problem is fixed :)
==============================================================================
This item URL is:
<http://gna.org/bugs/?func=detailitem&item_id=1814>
_______________________________________________
Message sent via/by Gna!
http://gna.org/