LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2004, 01:02 AM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
gaim error


i followed the intruction, everything went well until the 'make' step. when i type in make, a HUGE list of error comes up:
make all-recursive
make[1]: Entering directory `/home/mark/gaim'
Making all in sounds
make[2]: Entering directory `/home/mark/gaim/sounds'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mark/gaim/sounds'
Making all in plugins
make[2]: Entering directory `/home/mark/gaim/plugins'
Making all in docklet
make[3]: Entering directory `/home/mark/gaim/plugins/docklet'
if /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/usr/local/share\" -DVERSION=\"0.76cvs\" -I../../src -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -O2 -Wall -g3 -MT eggtrayicon.lo -MD -MP -MF ".deps/eggtrayicon.Tpo" \
-c -o eggtrayicon.lo `test -f 'eggtrayicon.c' || echo './'`eggtrayicon.c; \
then mv -f ".deps/eggtrayicon.Tpo" ".deps/eggtrayicon.Plo"; \
else rm -f ".deps/eggtrayicon.Tpo"; exit 1; \
fi
In file included from eggtrayicon.c:22:
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:33:22: X11/Xlib.h: No such file or directory
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:34:23: X11/Xutil.h: No such file or directory
In file included from eggtrayicon.c:22:
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: warning: type defaults to `int' in declaration of `gdk_display'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: warning: type defaults to `int' in declaration of `gdk_x11_drawable_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: error: parse error before "gdk_x11_drawable_get_xid"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: warning: type defaults to `int' in declaration of `gdk_x11_drawable_get_xid'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: warning: type defaults to `int' in declaration of `gdk_x11_image_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:45: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:45: warning: type defaults to `int' in declaration of `gdk_x11_image_get_ximage'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:45: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:46: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:46: warning: type defaults to `int' in declaration of `gdk_x11_colormap_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:46: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:47: error: parse error before "gdk_x11_colormap_get_xcolormap"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:47: warning: type defaults to `int' in declaration of `gdk_x11_colormap_get_xcolormap'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:47: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:48: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:48: warning: type defaults to `int' in declaration of `gdk_x11_cursor_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:48: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:49: error: parse error before "gdk_x11_cursor_get_xcursor"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:49: warning: type defaults to `int' in declaration of `gdk_x11_cursor_get_xcursor'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:49: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:50: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:50: warning: type defaults to `int' in declaration of `gdk_x11_display_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:50: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:51: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:51: warning: type defaults to `int' in declaration of `gdk_x11_visual_get_xvisual'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:51: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:52: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:52: warning: type defaults to `int' in declaration of `gdk_x11_gc_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:52: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:53: error: parse error before "gdk_x11_gc_get_xgc"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:53: warning: type defaults to `int' in declaration of `gdk_x11_gc_get_xgc'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:53: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:54: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:54: warning: type defaults to `int' in declaration of `gdk_x11_screen_get_xscreen'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:54: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:60: error: parse error before "gdk_x11_get_default_root_xwindow"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:60: warning: type defaults to `int' in declaration of `gdk_x11_get_default_root_xwindow'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:60: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:61: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:61: warning: type defaults to `int' in declaration of `gdk_x11_get_default_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:61: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:123: error: parse error before "VisualID"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:125: error: parse error before "xvisualid"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:134: error: parse error before "Colormap"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:138: error: parse error before "XID"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:146: error: parse error before "xid"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:153: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:157: error: parse error before "gdk_x11_atom_to_xatom_for_display"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:158: warning: type defaults to `int' in declaration of `gdk_x11_atom_to_xatom_for_display'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:158: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:160: error: parse error before "Atom"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:161: error: parse error before "gdk_x11_get_xatom_by_name_for_display"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:162: warning: type defaults to `int' in declaration of `gdk_x11_get_xatom_by_name_for_display'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:162: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:164: error: parse error before "Atom"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:166: error: parse error before "gdk_x11_atom_to_xatom"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:166: warning: type defaults to `int' in declaration of `gdk_x11_atom_to_xatom'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:166: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:167: error: parse error before "xatom"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:168: error: parse error before "gdk_x11_get_xatom_by_name"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:168: warning: type defaults to `int' in declaration of `gdk_x11_get_xatom_by_name'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:168: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:169: error: parse error before "xatom"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:186: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:186: warning: type defaults to `int' in declaration of `gdk_x11_font_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:186: warning: data definition has no type or storage class
In file included from eggtrayicon.c:23:
eggtrayicon.h:45: error: parse error before "Atom"
eggtrayicon.h:45: warning: no semicolon at end of struct or union
eggtrayicon.h:46: warning: type defaults to `int' in declaration of `manager_atom'
eggtrayicon.h:46: warning: data definition has no type or storage class
eggtrayicon.h:47: error: parse error before "system_tray_opcode_atom"
eggtrayicon.h:47: warning: type defaults to `int' in declaration of `system_tray_opcode_atom'
eggtrayicon.h:47: warning: data definition has no type or storage class
eggtrayicon.h:48: error: parse error before "manager_window"
eggtrayicon.h:48: warning: type defaults to `int' in declaration of `manager_window'
eggtrayicon.h:48: warning: data definition has no type or storage class
eggtrayicon.c: In function `egg_tray_icon_get_type':
eggtrayicon.c:55: error: invalid application of `sizeof' to an incomplete type
eggtrayicon.c: In function `egg_tray_icon_init':
eggtrayicon.c:73: error: dereferencing pointer to incomplete type
eggtrayicon.c: In function `egg_tray_icon_manager_filter':
eggtrayicon.c:92: error: `XEvent' undeclared (first use in this function)
eggtrayicon.c:92: error: (Each undeclared identifier is reported only once
eggtrayicon.c:92: error: for each function it appears in.)
eggtrayicon.c:92: error: `xev' undeclared (first use in this function)
eggtrayicon.c:92: error: parse error before ')' token
eggtrayicon.c:94: error: `ClientMessage' undeclared (first use in this function)
eggtrayicon.c:95: error: dereferencing pointer to incomplete type
eggtrayicon.c:96: error: dereferencing pointer to incomplete type
eggtrayicon.c:100: error: dereferencing pointer to incomplete type
eggtrayicon.c:102: error: `DestroyNotify' undeclared (first use in this function)
eggtrayicon.c: In function `egg_tray_icon_unrealize':
eggtrayicon.c:117: error: dereferencing pointer to incomplete type
eggtrayicon.c:117: error: `None' undeclared (first use in this function)
eggtrayicon.c:125: error: dereferencing pointer to incomplete type
eggtrayicon.c: At top level:
eggtrayicon.c:146: error: parse error before "Window"
eggtrayicon.c: In function `egg_tray_icon_send_manager_message':
eggtrayicon.c:151: error: `XClientMessageEvent' undeclared (first use in this function)
eggtrayicon.c:151: error: parse error before "ev"
eggtrayicon.c:152: error: `Display' undeclared (first use in this function)
eggtrayicon.c:152: error: `display' undeclared (first use in this function)
eggtrayicon.c:154: error: `ev' undeclared (first use in this function)
eggtrayicon.c:154: error: `ClientMessage' undeclared (first use in this function)
eggtrayicon.c:155: error: `window' undeclared (first use in this function)
eggtrayicon.c:156: error: `icon' undeclared (first use in this function)
eggtrayicon.c:159: error: `message' undeclared (first use in this function)
eggtrayicon.c:160: error: `data1' undeclared (first use in this function)
eggtrayicon.c:161: error: `data2' undeclared (first use in this function)
eggtrayicon.c:162: error: `data3' undeclared (first use in this function)
eggtrayicon.c:171: warning: implicit declaration of function `XSendEvent'
eggtrayicon.c:172: error: `False' undeclared (first use in this function)
eggtrayicon.c:172: error: `NoEventMask' undeclared (first use in this function)
eggtrayicon.c:172: error: `XEvent' undeclared (first use in this function)
eggtrayicon.c:172: error: parse error before ')' token
eggtrayicon.c:173: warning: implicit declaration of function `XSync'
eggtrayicon.c: In function `egg_tray_icon_send_dock_request':
eggtrayicon.c:182: error: dereferencing pointer to incomplete type
eggtrayicon.c: In function `egg_tray_icon_update_manager_window':
eggtrayicon.c:190: error: `Display' undeclared (first use in this function)
eggtrayicon.c:190: error: `xdisplay' undeclared (first use in this function)
eggtrayicon.c:198: error: dereferencing pointer to incomplete type
eggtrayicon.c:198: error: `None' undeclared (first use in this function)
eggtrayicon.c:206: error: dereferencing pointer to incomplete type
eggtrayicon.c:212: warning: implicit declaration of function `XGrabServer'
eggtrayicon.c:214: error: dereferencing pointer to incomplete type
eggtrayicon.c:214: warning: implicit declaration of function `XGetSelectionOwner'
eggtrayicon.c:215: error: dereferencing pointer to incomplete type
eggtrayicon.c:217: error: dereferencing pointer to incomplete type
eggtrayicon.c:218: warning: implicit declaration of function `XSelectInput'
eggtrayicon.c:219: error: dereferencing pointer to incomplete type
eggtrayicon.c:219: error: `StructureNotifyMask' undeclared (first use in this function)
eggtrayicon.c:221: warning: implicit declaration of function `XUngrabServer'
eggtrayicon.c:222: warning: implicit declaration of function `XFlush'
eggtrayicon.c:224: error: dereferencing pointer to incomplete type
eggtrayicon.c:232: error: dereferencing pointer to incomplete type
eggtrayicon.c: At top level:
eggtrayicon.c:243: error: parse error before '*' token
eggtrayicon.c: In function `egg_tray_icon_new_for_xscreen':
eggtrayicon.c:249: error: `xscreen' undeclared (first use in this function)
eggtrayicon.c:252: error: `name' undeclared (first use in this function)
eggtrayicon.c:270: warning: implicit declaration of function `XScreenNumberOfScreen'
eggtrayicon.c:272: error: dereferencing pointer to incomplete type
eggtrayicon.c:272: warning: implicit declaration of function `XInternAtom'
eggtrayicon.c:272: warning: implicit declaration of function `DisplayOfScreen'
eggtrayicon.c:273: error: `False' undeclared (first use in this function)
eggtrayicon.c:275: error: dereferencing pointer to incomplete type
eggtrayicon.c:278: error: dereferencing pointer to incomplete type
eggtrayicon.c: In function `egg_tray_icon_new':
eggtrayicon.c:312: warning: implicit declaration of function `DefaultScreenOfDisplay'
eggtrayicon.c: In function `egg_tray_icon_send_message':
eggtrayicon.c:327: error: dereferencing pointer to incomplete type
eggtrayicon.c:327: error: `None' undeclared (first use in this function)
eggtrayicon.c:333: error: dereferencing pointer to incomplete type
eggtrayicon.c:337: error: `Window' undeclared (first use in this function)
eggtrayicon.c:337: error: parse error before "gtk_plug_get_id"
eggtrayicon.c:344: error: `XClientMessageEvent' undeclared (first use in this function)
eggtrayicon.c:344: error: parse error before "ev"
eggtrayicon.c:345: error: `Display' undeclared (first use in this function)
eggtrayicon.c:345: error: `xdisplay' undeclared (first use in this function)
eggtrayicon.c:353: error: `ev' undeclared (first use in this function)
eggtrayicon.c:353: error: `ClientMessage' undeclared (first use in this function)
eggtrayicon.c:354: error: parse error before "gtk_plug_get_id"
eggtrayicon.c:357: error: `False' undeclared (first use in this function)
eggtrayicon.c:371: error: dereferencing pointer to incomplete type
eggtrayicon.c:371: error: `StructureNotifyMask' undeclared (first use in this function)
eggtrayicon.c:371: error: `XEvent' undeclared (first use in this function)
eggtrayicon.c:371: error: parse error before ')' token
eggtrayicon.c: In function `egg_tray_icon_cancel_message':
eggtrayicon.c:387: error: `Window' undeclared (first use in this function)
eggtrayicon.c:387: error: parse error before "gtk_plug_get_id"
make[3]: *** [eggtrayicon.lo] Error 1
make[3]: Leaving directory `/home/mark/gaim/plugins/docklet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mark/gaim/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mark/gaim'
make: *** [all] Error 2












whats going on? help is appreciated
 
Old 02-22-2004, 02:59 AM   #2
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
any ideas guyz? i tried everything (the make package is installed and all) how come i get this message when i type make for gaim?
 
Old 12-18-2004, 02:29 AM   #3
pampa
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
hi santaz, it could happen that there is a file missing called eggtrayicon.h. This file should be inside the src/gtk.

This is the content of the file.

Hope that helps, as it works form me.

Bye


/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* eggtrayicon.h
* Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/

#ifndef __EGG_TRAY_ICON_H__
#define __EGG_TRAY_ICON_H__

#include <gtk/gtkplug.h>
#include <gdk/gdkx.h>

G_BEGIN_DECLS

#define EGG_TYPE_TRAY_ICON (egg_tray_icon_get_type ())
#define EGG_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_ICON, EggTrayIcon))
#define EGG_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_ICON, EggTrayIconClass))
#define EGG_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_ICON))
#define EGG_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON))
#define EGG_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass))

typedef struct _EggTrayIcon EggTrayIcon;
typedef struct _EggTrayIconClass EggTrayIconClass;

struct _EggTrayIcon
{
GtkPlug parent_instance;

guint stamp;

Atom selection_atom;
Atom manager_atom;
Atom system_tray_opcode_atom;
Window manager_window;
};

struct _EggTrayIconClass
{
GtkPlugClass parent_class;
};

GType egg_tray_icon_get_type (void);

EggTrayIcon *egg_tray_icon_new_for_xscreen (Screen *xscreen, const char *name);
#if EGG_TRAY_ENABLE_MULTIHEAD
EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen,
const gchar *name);
#endif

EggTrayIcon *egg_tray_icon_new (const gchar *name);

guint egg_tray_icon_send_message (EggTrayIcon *icon,
gint timeout,
const char *message,
gint len);
void egg_tray_icon_cancel_message (EggTrayIcon *icon,
guint id);



G_END_DECLS

#endif /* __EGG_TRAY_ICON_H__ */
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GAIM Error- SuSe 9.1 sxa Linux - Software 5 07-07-2005 06:19 AM
GAIM Error gobi_dgm Linux - Newbie 2 05-13-2005 03:33 AM
GAIM error ajbrouwe Linux - Newbie 3 08-16-2004 11:15 AM
Gaim error Godboo Linux - Newbie 5 06-02-2004 01:58 PM
getting error in gaim slack_baby Linux - Software 3 02-26-2004 02:26 PM


All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration