Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 05:00:06 +0400 (MSD)
From:      Nguyen Tam Chinh <chinhngt@sectorb.msk.ru>
To:        ld@FreeBSD.org.cn, ports@FreeBSD.org
Subject:   stardict2 build fail (newest cvsup ports)
Message-ID:  <20040418045358.P85614@chinhngt.b.gz.ru>

next in thread | raw e-mail | index | archive | help
ports cvsup 17-04. Build textproc/stardict2 fail on a 4.9-STABLE.

[..........]
c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -DORBIT2=1 -D_THREAD_SAFE
-I/usr/local/i
nclude/libart-2.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/includ
e -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local
/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include
/libxml2 -I/usr/local/include -I/usr/X11R6/include/libgnomeui-2.0
-I/usr/X11R6/i
nclude/libgnome-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0
-I/usr/X11R6/include
/gtk-2.0 -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/us
r/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include
-I/usr/X11R
6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X
11R6/lib/gtk-2.0/include   -DDATADIR=\""/usr/X11R6/share/gnome"\"
-DGNOME_ICONDI
R=\""/usr/X11R6/share/gnome/pixmaps"\"
-DSTARDICT_LOCALEDIR=\""/usr/X11R6/share/
locale"\" -DSTARDICT_DATA_DIR=\""/usr/X11R6/share/gnome/stardict"\"
-DG_DISABLE_
DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABL
E_DEPRECATED -DGNOME_DISABLE_DEPRECATED  -I/usr/local/include
-I/usr/X11R6/incl
ude  -O2 -pipe -ffast-math -funroll-loops -march=pentiumpro -c -o
stardict.o `te
st -f 'stardict.cpp' || echo './'`stardict.cpp
In file included from stardict.h:27,
                 from stardict.cpp:35:
prefsdlg.h:42: `GtkOptionMenu' was not declared in this scope
prefsdlg.h:42: `option_menu' was not declared in this scope
prefsdlg.h:42: syntax error before `*'
prefsdlg.h:42: variable or field
`on_setup_dictionary_scan_optionmenu_changed' d
eclared void
prefsdlg.h:42: ANSI C++ forbids in-class initialization of non-const
static memb
er `on_setup_dictionary_scan_optionmenu_changed'
stardict.cpp: In function `static gboolean
AppCore::on_window_state_event(GtkWid
get *, GdkEventWindowState *, AppCore *)':
stardict.cpp:255: implicit declaration of function `int GTK_COMBO(...)'
stardict.cpp:255: base operand of `->' is not a pointer
stardict.cpp:261: base operand of `->' is not a pointer
stardict.cpp: In function `static gboolean
AppCore::vKeyPressReleaseCallback(Gtk
Widget *, GdkEventKey *, AppCore *)':
stardict.cpp:334: base operand of `->' is not a pointer
stardict.cpp:340: base operand of `->' is not a pointer
stardict.cpp:342: base operand of `->' is not a pointer
stardict.cpp:344: base operand of `->' is not a pointer
stardict.cpp:359: base operand of `->' is not a pointer
stardict.cpp:360: base operand of `->' is not a pointer
stardict.cpp:363: base operand of `->' is not a pointer
stardict.cpp:364: base operand of `->' is not a pointer
stardict.cpp:371: base operand of `->' is not a pointer
stardict.cpp:375: base operand of `->' is not a pointer
stardict.cpp:378: base operand of `->' is not a pointer
stardict.cpp:382: base operand of `->' is not a pointer
stardict.cpp: In method `void AppCore::TopWinEnterWord(const gchar *)':
stardict.cpp:1065: base operand of `->' is not a pointer
stardict.cpp: In method `void AppCore::ListClick(const gchar *)':
stardict.cpp:1148: base operand of `->' is not a pointer
stardict.cpp: In function `gint client_die_cb(GnomeClient *, void *)':
stardict.cpp:1434: warning: control reaches end of non-void function
`client_die
_cb(GnomeClient *, void *)'
stardict.cpp: In function `gint save_yourself_cb(GnomeClient *, int,
GnomeRestar
tStyle, int, GnomeInteractStyle, int, void *)':
stardict.cpp:1457: base operand of `->' is not a pointer
stardict.cpp:1456: warning: `const gchar * text' might be used
uninitialized in
this function
gmake[3]: *** [stardict.o] Error 1
gmake[3]: Leaving directory
`/mnt/os/ports/textproc/stardict2/work/stardict-2.4.
2/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/mnt/os/ports/textproc/stardict2/work/stardict-2.4.
2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/mnt/os/ports/textproc/stardict2/work/stardict-2.4.
2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /mnt/os/ports/textproc/stardict2.
%

[End of message]
-----
With best regards,		|		The Power to Serve
Nguyen Tam Chinh		|     	      	http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040418045358.P85614>