[Juser] compiling 0.8.7

Peter Saint-Andre stpeter at jabber.org
Thu Aug 15 10:45:12 CDT 2002


Hi David, you'll probably have better luck on the dedicated Gabber list:

http://sourceforge.net/mail/?group_id=1934

I haven't compiled Gabber since I switched to Debian, so I guess I'm
spoiled. :)

Peter

--
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.html

On Wed, 7 Aug 2002, David wrote:

> I am trying to get gabber 0.8.7 installed on my linux box.  I am using
> Slackware 8.0, and i have downloaded and compiled libgisc++ 1.0.4 and
> gtkmm 1.2.10.  When I run make to compile gabber, I get the following
> error.  Anyone know what I can do to fix this?
> 
> Making all in src
> make[2]: Entering directory `/home/dsfranks/sources/gabber-0.8.7/src'
> source='BaseGabberWindow.cc' object='BaseGabberWindow.o' libtool=no \
> depfile='.deps/BaseGabberWindow.Po'
> tmpdepfile='.deps/BaseGabberWindow.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../jabberoo/libjudo/src/expat
> -I../jabberoo/libjudo/src -I../jabberoo/include -I/opt/gnome/include
> -I/opt/gnome/include/gnome-xml -DNEED_GNOMESUPPORT_H
> -I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/X11R6/include -I/opt/gnome/lib/gtkmm/include
> -I/opt/gnome/lib/gnomemm/include -I/opt/gnome/lib/sigc++/include
> -I/opt/gnome/include -I/opt/gnome/include/xmms
> -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2
> -I/opt/gnome/lib/glib/include -I/usr/X11R6/include -DWITH_SSL
> -DG_LOG_DOMAIN=\"Gabber\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
> -DDATADIR=\"/usr/local/share\" -I../intl  -I/opt/gnome/include/gtk-1.2
> -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
> -I/usr/X11R6/include  -g -O2 -Wall -Wno-unused  -s -c -o
> BaseGabberWindow.o `test -f BaseGabberWindow.cc || echo
> './'`BaseGabberWindow.cc
> In file included from /opt/gnome/include/gnome--/dialog.h:31,
>                  from BaseGabberWindow.hh:43,
>                  from BaseGabberWindow.cc:22:
> /opt/gnome/include/gnome--/types.h:32: `string' was not declared in this
> scope
> /opt/gnome/include/gnome--/types.h:32: template argument 2 is invalid
> /opt/gnome/include/gnome--/types.h:32: ISO C++ forbids declaration of
>    `StringCallback' with no type
> In file included from /opt/gnome/include/gnome--/pixmap.h:33,
>                  from BaseGabberWindow.hh:45,
>                  from BaseGabberWindow.cc:22:
> /opt/gnome/include/gnome--/imlib.h:62: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In member function `gint
>    Gdk_Imlib::load_colors(...)':
> /opt/gnome/include/gnome--/imlib.h:64: `file' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h:64: (Each undeclared identifier is
> reported
>    only once for each function it appears in.)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:197: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In copy constructor
>    `Gdk_Imlib::Image::Image(const Gdk_Imlib::Image&)':
> /opt/gnome/include/gnome--/imlib.h:194: `clone' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:204: ISO C++ forbids defining types
> within
>    return type
> /opt/gnome/include/gnome--/imlib.h:204: semicolon missing after
> declaration of
>    `class Gdk_Imlib::Image'
> /opt/gnome/include/gnome--/imlib.h: In function `int Image(const gchar*
>    const*)':
> /opt/gnome/include/gnome--/imlib.h:204: base initializers not allowed for
>    non-member functions
> /opt/gnome/include/gnome--/imlib.h:206: `create_from_xpm_data' undeclared
>    (first use this function)
> /opt/gnome/include/gnome--/imlib.h:207: warning: control reaches end of
>    non-void function
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:210: destructors must be member
> functions
> /opt/gnome/include/gnome--/imlib.h: In function `void Image()':
> /opt/gnome/include/gnome--/imlib.h:211: `unref' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:214: syntax error before `&' token
> /opt/gnome/include/gnome--/imlib.h:220: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In function `void load(...)':
> /opt/gnome/include/gnome--/imlib.h:223: `obj_' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h:224: `ref' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:237: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In function `void clone(...)':
> /opt/gnome/include/gnome--/imlib.h:238: `void clone(...)' used prior to
>    declaration
> /opt/gnome/include/gnome--/imlib.h:240: `im' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:244: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In function `void clone_scaled(...)':
> /opt/gnome/include/gnome--/imlib.h:247: `w' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h:247: `h' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: In function `void
>    create_from_xpm_data(const gchar* const*)':
> /opt/gnome/include/gnome--/imlib.h:253: `void create_from_xpm_data(const
> gchar*
>    const*)' used prior to declaration
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:259: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h: In function `void
> crop_and_clone(...)':
> /opt/gnome/include/gnome--/imlib.h:262: `x' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h:262: `y' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: In function `gint render(int, int)':
> /opt/gnome/include/gnome--/imlib.h:284: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `Gdk_Pixmap copy_image()':
> /opt/gnome/include/gnome--/imlib.h:289: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `Gdk_Bitmap copy_mask()':
> /opt/gnome/include/gnome--/imlib.h:294: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `Gdk_Pixmap move_image()':
> /opt/gnome/include/gnome--/imlib.h:299: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `Gdk_Bitmap move_mask()':
> /opt/gnome/include/gnome--/imlib.h:304: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:307: `Border' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:307: `border' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:308: variable or field `get_border'
> declared
>    void
> /opt/gnome/include/gnome--/imlib.h:308: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:312: `Border' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:312: `border' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:313: variable or field `set_border'
> declared
>    void
> /opt/gnome/include/gnome--/imlib.h:313: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:317: `Color' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:317: `color' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:318: variable or field `get_shape'
> declared
>    void
> /opt/gnome/include/gnome--/imlib.h:318: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:322: `Color' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:322: `color' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:323: variable or field `set_shape'
> declared
>    void
> /opt/gnome/include/gnome--/imlib.h:323: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:327: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h:328: non-member function `gint
>    save_to_eim(...)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h: In function `gint save_to_eim(...)':
> /opt/gnome/include/gnome--/imlib.h:329: `gdkobj' undeclared (first use
> this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:333: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h:334: non-member function `gint
>    add_to_eim(...)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:339: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h:340: non-member function `gint
> save(...)'
>    cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h: In function `gint save(...)':
> /opt/gnome/include/gnome--/imlib.h:342: `info' undeclared (first use this
>    function)
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:345: parse error before `&' token
> /opt/gnome/include/gnome--/imlib.h:346: non-member function `gint
>    save_to_ppm(...)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:353: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:353: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:354: variable or field `set_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:354: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:358: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:358: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:359: variable or field
> `set_red_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:359: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:363: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:363: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:364: variable or field
> `set_green_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:364: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:368: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:368: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:369: variable or field
> `set_blue_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:369: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:373: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:373: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:374: variable or field `get_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:374: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:378: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:378: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:379: variable or field
> `get_red_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:379: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:383: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:383: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:384: variable or field
> `get_green_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:384: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h:388: `Color_Modifier' was not declared
> in
>    this scope
> /opt/gnome/include/gnome--/imlib.h:388: `mod' was not declared in this
> scope
> /opt/gnome/include/gnome--/imlib.h:389: variable or field
> `get_blue_modifier'
>    declared void
> /opt/gnome/include/gnome--/imlib.h:389: syntax error before `{' token
> /opt/gnome/include/gnome--/imlib.h: In function `void
> set_red_curve(unsigned
>    char*)':
> /opt/gnome/include/gnome--/imlib.h:396: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void
> set_green_curve(unsigned
>    char*)':
> /opt/gnome/include/gnome--/imlib.h:401: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void
> set_blue_curve(unsigned
>    char*)':
> /opt/gnome/include/gnome--/imlib.h:406: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:410: non-member function `void
>    get_red_curve(unsigned char*)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:415: non-member function `void
>    get_green_curve(unsigned char*)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:420: non-member function `void
>    get_blue_curve(unsigned char*)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h: In function `void
>    apply_modifiers_to_rgb()':
> /opt/gnome/include/gnome--/imlib.h:426: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void changed()':
> /opt/gnome/include/gnome--/imlib.h:432: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:438: non-member function `void
>    apply(Gdk_Window&)' cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:443: non-member function `void
>    paste(Gdk_Drawable&, int, int, int, int)' cannot have `const' method
>    qualifier
> /opt/gnome/include/gnome--/imlib.h:448: non-member function `void
>    paste_border(Gdk_Drawable&, int, int, int, int)' cannot have `const'
> method
>    qualifier
> /opt/gnome/include/gnome--/imlib.h: In function `void flip_horizontal()':
> /opt/gnome/include/gnome--/imlib.h:454: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void flip_vertical()':
> /opt/gnome/include/gnome--/imlib.h:459: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void rotate(int)':
> /opt/gnome/include/gnome--/imlib.h:464: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: In function `void crop(int, int, int,
>    int)':
> /opt/gnome/include/gnome--/imlib.h:469: invalid use of `this' in
> non-member
>    function
> /opt/gnome/include/gnome--/imlib.h: At global scope:
> /opt/gnome/include/gnome--/imlib.h:473: non-member function `gint
> rgb_width()'
>    cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:478: non-member function `gint
> rgb_height()'
>    cannot have `const' method qualifier
> /opt/gnome/include/gnome--/imlib.h:482: parse error before `}' token
> make[2]: *** [BaseGabberWindow.o] Error 1
> make[2]: Leaving directory `/home/dsfranks/sources/gabber-0.8.7/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dsfranks/sources/gabber-0.8.7'
> make: *** [all] Error 2
> dsfranks at erwin:~/sources/gabber-0.8.7$
> 
> Any help will be appreciated!
> 
> -- 
> David
> dsfranks at erwin dot largegeek dot com
> ICQ#: 118347772
> 
> 
>              (  )            (  )
>           ( / \/ \          / \/ \ )
>        ( / \\_/\_/ )      ( \_/\_// \ )
>       / \\_/----- / \    / \ -----\_// \
>       \_/--'     \_ /    \ _/     `--\_/
>        \           /      \           /
>         `-----.___/        \___.-----'
> 
> 12:18pm up 19 days, 15:01, 4 users, load average: 4.38, 4.27, 4.50
> 
> _______________________________________________
> Juser mailing list
> Juser at jabber.org
> http://jabber.org/cgi-bin/mailman/listinfo/juser
> 




More information about the JUser mailing list