LINUX.ORG.RU

Re: Startdict и gcc-4.2

make[3]: Entering directory `/var/tmp/portage/app-dicts/stardict-2.4.8/work/stardict-2.4.8/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DDATADIR=\""/usr/share"\" -DGNOME_ICONDIR=\""/usr/share/pixmaps"\" -DSTARDICT_LOCALEDIR=\""/usr/share/locale"\" -DSTARDICT_DATA_DIR=\""/usr/share/stardict"\"    -O2 -march=pentium4 -pipe -mmmx -msse -MT stardict.o -MD -MP -MF ".deps/stardict.Tpo" -c -o stardict.o stardict.cpp; \
	then mv -f ".deps/stardict.Tpo" ".deps/stardict.Po"; else rm -f ".deps/stardict.Tpo"; exit 1; fi
mainwin.h: In static member function ‘static gboolean AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)’:
mainwin.h:71: ошибка: ‘static void TopWin::ClipboardReceivedCallback(GtkClipboard*, const gchar*, void*)’ is private
stardict.cpp:351: ошибка: в данном контексте
make[3]: *** [stardict.o] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/app-dicts/stardict-2.4.8/work/stardict-2.4.8/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/app-dicts/stardict-2.4.8/work/stardict-2.4.8/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/app-dicts/stardict-2.4.8/work/stardict-2.4.8'
make: *** [all] Ошибка 2

!!! ERROR: app-dicts/stardict-2.4.8 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  stardict-2.4.8.ebuild, line 44:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-dicts/stardict-2.4.8/temp/build.log'.

animechaos ()

Re: Startdict и gcc-4.2

1) Берите из SVN

2) Декларацию вызова этой функции надо перенести из private методов в public

birdie ★★★★★ ()

Re: Startdict и gcc-4.2

По делу не скажу,

но я собрал без проблем, нафаршировал словарями, оч доволен, отлично работает и оч удобно%)

papay ★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.