Portál AbcLinuxu, 12. května 2025 12:42

Dotaz: Kompilace skonci chybou

11.6.2006 15:19 halogan | skóre: 7 | Praha
Kompilace skonci chybou
Přečteno: 140×
Odpovědět | Admin
Dobry den, po nove instalaci Gentoo mi u asi poloviny aplikaci konci kompilace chybou. Nepise to presne duvod chyby, takze nevim, co s tim.
2.6.16-gentoo-r7
gcc-4.1.1
Jen dodam, ze to nejede jen u grafickych programu, konzolove tusim jely vsechny. Nesel napriklad fluxbox, licq, valknut apod., ale sly treba Opera, XFCE, gvim a xfce-terminal.
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I./FbTk   -O2 -mtune=i686 -pipe  -DSHAPE  -I/usr/include/freetype2    -MT ScreenResources.o -MD -MP -MF ".deps/ScreenResources.Tpo" -c -o ScreenResources.o ScreenResources.cc; \
then mv -f ".deps/ScreenResources.Tpo" ".deps/ScreenResources.Po"; else rm -f ".deps/ScreenResources.Tpo"; exit 1; fi
ScreenResources.cc:33: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::PlacementPolicy]' in different namespace
ScreenResources.cc:33: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::PlacementPolicy]'
ScreenResources.cc:38: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::PlacementPolicy]' in different namespace
ScreenResources.cc:38: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::PlacementPolicy]'
ScreenResources.cc:53: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::PlacementPolicy]' in different namespace
ScreenResources.cc:53: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::PlacementPolicy]'
ScreenResources.cc:69: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::RowDirection]' in different namespace
ScreenResources.cc:69: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::RowDirection]'
ScreenResources.cc:74: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::RowDirection]' in different namespace
ScreenResources.cc:74: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::RowDirection]'
ScreenResources.cc:85: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::RowDirection]' in different namespace
ScreenResources.cc:85: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::RowDirection]'
ScreenResources.cc:98: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::ColumnDirection]' in different namespace
ScreenResources.cc:98: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = BScreen::ColumnDirection]'
ScreenResources.cc:103: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ColumnDirection]' in different namespace
ScreenResources.cc:103: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ColumnDirection]'
ScreenResources.cc:114: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::ColumnDirection]' in different namespace
ScreenResources.cc:114: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::ColumnDirection]'
ScreenResources.cc:126: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::MenuTheme::MenuMode]' in different namespace
ScreenResources.cc:126: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::MenuTheme::MenuMode]'
ScreenResources.cc:131: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::MenuTheme::MenuMode]' in different namespace
ScreenResources.cc:131: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::MenuTheme::MenuMode]'
ScreenResources.cc:142: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::MenuTheme::MenuMode]' in different namespace
ScreenResources.cc:142: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::MenuTheme::MenuMode]'
ScreenResources.cc:153: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::ResizeModel]' in different namespace
ScreenResources.cc:153: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::ResizeModel]'
ScreenResources.cc:166: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ResizeModel]' in different namespace
ScreenResources.cc:166: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ResizeModel]'
ScreenResources.cc:177: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::FocusModel]' in different namespace
ScreenResources.cc:177: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::FocusModel]'
ScreenResources.cc:190: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FocusModel]' in different namespace
ScreenResources.cc:190: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FocusModel]'
ScreenResources.cc:201: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::TabFocusModel]' in different namespace
ScreenResources.cc:201: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::TabFocusModel]'
ScreenResources.cc:214: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::TabFocusModel]' in different namespace
ScreenResources.cc:214: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::TabFocusModel]'ScreenResources.cc:225: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::FollowModel]' in different namespace
ScreenResources.cc:225: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = BScreen::FollowModel]'
ScreenResources.cc:240: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FollowModel]' in different namespace
ScreenResources.cc:240: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FollowModel]'
ScreenResources.cc:252: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::LineStyle]' in different namespace
ScreenResources.cc:252: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::LineStyle]'
ScreenResources.cc:257: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::LineStyle]' in different namespace
ScreenResources.cc:257: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::LineStyle]'
ScreenResources.cc:274: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::LineStyle]' in different namespace
ScreenResources.cc:274: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::LineStyle]'
ScreenResources.cc:287: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::JoinStyle]' in different namespace
ScreenResources.cc:287: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::JoinStyle]'
ScreenResources.cc:292: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::JoinStyle]' in different namespace
ScreenResources.cc:292: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::JoinStyle]'
ScreenResources.cc:309: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::JoinStyle]' in different namespace
ScreenResources.cc:309: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::JoinStyle]'
ScreenResources.cc:322: error: specialization of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::CapStyle]' in different namespace
ScreenResources.cc:322: error:   from definition of 'void FbTk::Resource<T>::setDefaultValue() [with T = FbTk::GContext::CapStyle]'
ScreenResources.cc:327: error: specialization of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::CapStyle]' in different namespace
ScreenResources.cc:327: error:   from definition of 'std::string FbTk::Resource<T>::getString() [with T = FbTk::GContext::CapStyle]'
ScreenResources.cc:347: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::CapStyle]' in different namespace
ScreenResources.cc:347: error:   from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::CapStyle]'
make[4]: *** [ScreenResources.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/fluxbox-0.9.14-r1/work/fluxbox-0.9.14/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/fluxbox-0.9.14-r1/work/fluxbox-0.9.14/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/fluxbox-0.9.14-r1/work/fluxbox-0.9.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fluxbox-0.9.14-r1/work/fluxbox-0.9.14'
make: *** [all] Error 2

!!! ERROR: x11-wm/fluxbox-0.9.14-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
    ebuild.sh, line 939:   Called src_compile
      fluxbox-0.9.14-r1.ebuild, line 91:   Called die

      !!! make failed
      !!! If you need support, post the topmost build error, and the call stack if relevant.
      
vim isn't just for nerds
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

11.6.2006 15:28 8an | skóre: 30
Rozbalit Rozbalit vše Re: Kompilace skonci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
To je dost divná chyba, asi máš nějak nakopnutý kompilátor C++ (Fluxbox a Valknut je C++, gvim je C, Opera je binárka). Zkoušel jsi downgradovat zpátky na GCC 3.4.6? Můžeš mít v systému obě verze a přehazovat je pomocí gcc-config.
If you build an operating system that even an idiot can use, only idiots will use it.
11.6.2006 15:31 halogan | skóre: 7 | Praha
Rozbalit Rozbalit vše Re: Kompilace skonci chybou
To jsem chtel zkusit, ale nechci to mit komplikovane. Navic na GCC 4 mi jelo Gentoo bez jakychkoliv problemu.
vim isn't just for nerds
11.6.2006 15:57 halogan | skóre: 7 | Praha
Rozbalit Rozbalit vše Re: Kompilace skonci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
Zajimave, pokazde pri pokusu o instalaci maskle verze (staci ~) to funguje v pohode. Stejne mi nejde do hlavy, proc to neslo predtim.
vim isn't just for nerds

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.