Bug 36024

Summary: Failed to compile uim 1.6.1 on OSX
Product: UIM Reporter: Miroslav Rajcic <rajcic>
Component: OtherAssignee: uim-bugs
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Miroslav Rajcic 2011-04-06 05:15:10 UTC
I've tried compiling uim 1.6.1 on OSX, where I already compiled GTK using jhbuild. GTK compile in question is built to use quartz, not X11 backend.

The errors listed:

'eggtrayicon.c' || echo './'`eggtrayicon.c
eggtrayicon.c:29:22: error: gdk/gdkx.h: No such file or directory
eggtrayicon.c: In function 'egg_tray_icon_constructed':
eggtrayicon.c:164: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:164: error: (Each undeclared identifier is reported only once
eggtrayicon.c:164: error: for each function it appears in.)
eggtrayicon.c:164: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:164: warning: implicit declaration of function 'gdk_x11_display_get_xdisplay'
eggtrayicon.c:164: warning: nested extern declaration of 'gdk_x11_display_get_xdisplay'
eggtrayicon.c:165: warning: ISO C90 forbids mixed declarations and code
eggtrayicon.c:171: error: 'EggTrayIcon' has no member named 'selection_atom'
eggtrayicon.c:171: warning: implicit declaration of function 'XInternAtom'
eggtrayicon.c:171: warning: nested extern declaration of 'XInternAtom'
eggtrayicon.c:171: error: 'False' undeclared (first use in this function)
eggtrayicon.c:173: error: 'EggTrayIcon' has no member named 'manager_atom'
eggtrayicon.c:175: error: 'EggTrayIcon' has no member named 'system_tray_opcode_atom'
eggtrayicon.c:179: error: 'EggTrayIcon' has no member named 'orientation_atom'
eggtrayicon.c:183: error: 'EggTrayIcon' has no member named 'visual_atom'
eggtrayicon.c: In function 'egg_tray_icon_clear_manager_window':
eggtrayicon.c:199: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:199: error: 'None' undeclared (first use in this function)
eggtrayicon.c:204: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:208: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:209: error: 'EggTrayIcon' has no member named 'manager_visual'
eggtrayicon.c: In function 'egg_tray_icon_expose':
eggtrayicon.c:254: error: 'EggTrayIcon' has no member named 'manager_visual_rgba'
eggtrayicon.c: In function 'egg_tray_icon_get_orientation_property':
eggtrayicon.c:299: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:299: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:299: warning: implicit declaration of function 'GDK_DISPLAY_XDISPLAY'
eggtrayicon.c:299: warning: nested extern declaration of 'GDK_DISPLAY_XDISPLAY'
eggtrayicon.c:301: error: 'Atom' undeclared (first use in this function)
eggtrayicon.c:301: error: expected ';' before 'type'
eggtrayicon.c:302: warning: ISO C90 forbids mixed declarations and code
eggtrayicon.c:311: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:311: error: 'None' undeclared (first use in this function)
eggtrayicon.c:314: error: 'type' undeclared (first use in this function)
eggtrayicon.c:315: warning: implicit declaration of function 'XGetWindowProperty'
eggtrayicon.c:315: warning: nested extern declaration of 'XGetWindowProperty'
eggtrayicon.c:316: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:317: error: 'EggTrayIcon' has no member named 'orientation_atom'
eggtrayicon.c:319: error: expected ')' before numeric constant
eggtrayicon.c:324: error: 'Success' undeclared (first use in this function)
eggtrayicon.c:327: error: expected ')' before numeric constant
eggtrayicon.c:344: warning: implicit declaration of function 'XFree'
eggtrayicon.c:344: warning: nested extern declaration of 'XFree'
eggtrayicon.c: In function 'egg_tray_icon_get_visual_property':
eggtrayicon.c:352: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:352: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:354: error: 'Atom' undeclared (first use in this function)
eggtrayicon.c:354: error: expected ';' before 'type'
eggtrayicon.c:355: warning: ISO C90 forbids mixed declarations and code
eggtrayicon.c:365: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:365: error: 'None' undeclared (first use in this function)
eggtrayicon.c:368: error: 'type' undeclared (first use in this function)
eggtrayicon.c:370: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:371: error: 'EggTrayIcon' has no member named 'visual_atom'
eggtrayicon.c:373: error: expected ')' before numeric constant
eggtrayicon.c:380: error: 'Success' undeclared (first use in this function)
eggtrayicon.c:381: error: expected ')' before numeric constant
eggtrayicon.c:383: error: 'VisualID' undeclared (first use in this function)
eggtrayicon.c:383: error: expected ';' before 'visual_id'
eggtrayicon.c:384: warning: implicit declaration of function 'gdk_x11_screen_lookup_visual'
eggtrayicon.c:384: warning: nested extern declaration of 'gdk_x11_screen_lookup_visual'
eggtrayicon.c:384: error: 'visual_id' undeclared (first use in this function)
eggtrayicon.c:384: warning: assignment makes pointer from integer without a cast
eggtrayicon.c:387: error: 'EggTrayIcon' has no member named 'manager_visual'
eggtrayicon.c:388: error: 'EggTrayIcon' has no member named 'manager_visual_rgba'
eggtrayicon.c:393: error: 'EggTrayIcon' has no member named 'manager_visual_rgba'
eggtrayicon.c: In function 'egg_tray_icon_manager_filter':
eggtrayicon.c:403: error: 'XEvent' undeclared (first use in this function)
eggtrayicon.c:403: error: 'xev' undeclared (first use in this function)
eggtrayicon.c:403: error: expected expression before ')' token
eggtrayicon.c:405: error: 'ClientMessage' undeclared (first use in this function)
eggtrayicon.c:406: error: 'EggTrayIcon' has no member named 'manager_atom'
eggtrayicon.c:407: error: 'EggTrayIcon' has no member named 'selection_atom'
eggtrayicon.c:411: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:413: error: 'PropertyNotify' undeclared (first use in this function)
eggtrayicon.c:414: error: 'EggTrayIcon' has no member named 'orientation_atom'
eggtrayicon.c:418: error: 'DestroyNotify' undeclared (first use in this function)
eggtrayicon.c: At top level:
eggtrayicon.c:430: error: expected declaration specifiers or '...' before 'Window'
eggtrayicon.c: In function 'egg_tray_icon_send_manager_message':
eggtrayicon.c:435: error: 'XClientMessageEvent' undeclared (first use in this function)
eggtrayicon.c:435: error: expected ';' before 'ev'
eggtrayicon.c:436: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:436: error: 'display' undeclared (first use in this function)
eggtrayicon.c:438: error: 'ev' undeclared (first use in this function)
eggtrayicon.c:439: error: 'ClientMessage' undeclared (first use in this function)
eggtrayicon.c:440: error: 'window' undeclared (first use in this function)
eggtrayicon.c:441: error: 'EggTrayIcon' has no member named 'system_tray_opcode_atom'
eggtrayicon.c:443: warning: implicit declaration of function 'gdk_x11_get_server_time'
eggtrayicon.c:443: warning: nested extern declaration of 'gdk_x11_get_server_time'
eggtrayicon.c:452: warning: implicit declaration of function 'XSendEvent'
eggtrayicon.c:452: warning: nested extern declaration of 'XSendEvent'
eggtrayicon.c:453: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:453: error: 'False' undeclared (first use in this function)
eggtrayicon.c:453: error: 'NoEventMask' undeclared (first use in this function)
eggtrayicon.c:453: error: 'XEvent' undeclared (first use in this function)
eggtrayicon.c:453: error: expected expression before ')' token
eggtrayicon.c: In function 'egg_tray_icon_send_dock_request':
eggtrayicon.c:463: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:465: error: too many arguments to function 'egg_tray_icon_send_manager_message'
eggtrayicon.c: In function 'egg_tray_icon_update_manager_window':
eggtrayicon.c:474: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:474: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:476: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:476: error: 'None' undeclared (first use in this function)
eggtrayicon.c:480: warning: implicit declaration of function 'XGrabServer'
eggtrayicon.c:480: warning: nested extern declaration of 'XGrabServer'
eggtrayicon.c:482: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:482: warning: implicit declaration of function 'XGetSelectionOwner'
eggtrayicon.c:482: warning: nested extern declaration of 'XGetSelectionOwner'
eggtrayicon.c:483: error: 'EggTrayIcon' has no member named 'selection_atom'
eggtrayicon.c:485: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:486: warning: implicit declaration of function 'XSelectInput'
eggtrayicon.c:486: warning: nested extern declaration of 'XSelectInput'
eggtrayicon.c:487: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:487: error: 'StructureNotifyMask' undeclared (first use in this function)
eggtrayicon.c:487: error: 'PropertyChangeMask' undeclared (first use in this function)
eggtrayicon.c:489: warning: implicit declaration of function 'XUngrabServer'
eggtrayicon.c:489: warning: nested extern declaration of 'XUngrabServer'
eggtrayicon.c:490: warning: implicit declaration of function 'XFlush'
eggtrayicon.c:490: warning: nested extern declaration of 'XFlush'
eggtrayicon.c:492: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:497: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:506: error: 'EggTrayIcon' has no member named 'manager_visual'
eggtrayicon.c:508: error: 'EggTrayIcon' has no member named 'manager_visual'
eggtrayicon.c: In function 'egg_tray_icon_manager_window_destroyed':
eggtrayicon.c:529: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:529: error: 'None' undeclared (first use in this function)
eggtrayicon.c: In function 'egg_tray_icon_set_colormap':
eggtrayicon.c:556: error: 'EggTrayIcon' has no member named 'manager_visual'
eggtrayicon.c: In function 'egg_tray_icon_realize':
eggtrayicon.c:598: error: 'EggTrayIcon' has no member named 'manager_visual_rgba'
eggtrayicon.c:610: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:610: error: 'None' undeclared (first use in this function)
eggtrayicon.c: In function 'egg_tray_icon_send_message':
eggtrayicon.c:632: error: 'Display' undeclared (first use in this function)
eggtrayicon.c:632: error: 'xdisplay' undeclared (first use in this function)
eggtrayicon.c:638: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:638: error: 'None' undeclared (first use in this function)
eggtrayicon.c:648: error: 'Window' undeclared (first use in this function)
eggtrayicon.c:648: error: expected ')' before 'gtk_plug_get_id'
eggtrayicon.c:649: error: too few arguments to function 'egg_tray_icon_send_manager_message'
eggtrayicon.c:656: error: 'XClientMessageEvent' undeclared (first use in this function)
eggtrayicon.c:656: error: expected ';' before 'ev'
eggtrayicon.c:658: error: 'ev' undeclared (first use in this function)
eggtrayicon.c:659: error: 'ClientMessage' undeclared (first use in this function)
eggtrayicon.c:660: error: expected ';' before 'gtk_plug_get_id'
eggtrayicon.c:663: error: 'False' undeclared (first use in this function)
eggtrayicon.c:677: error: 'EggTrayIcon' has no member named 'manager_window'
eggtrayicon.c:677: error: 'StructureNotifyMask' undeclared (first use in this function)
eggtrayicon.c:677: error: 'XEvent' undeclared (first use in this function)
eggtrayicon.c:677: error: expected expression before ')' token
eggtrayicon.c: In function 'egg_tray_icon_cancel_message':
eggtrayicon.c:692: error: 'Window' undeclared (first use in this function)
eggtrayicon.c:692: error: expected ')' before 'gtk_plug_get_id'
eggtrayicon.c:693: error: too few arguments to function 'egg_tray_icon_send_manager_message'
{standard input}:130:non-relocatable subtraction expression, "_egg_tray_icon_expose" minus "L00000000002$pb"
{standard input}:130:symbol: "_egg_tray_icon_expose" can't be undefined in a subtraction expression
{standard input}:127:non-relocatable subtraction expression, "_egg_tray_icon_delete" minus "L00000000002$pb"
{standard input}:127:symbol: "_egg_tray_icon_delete" can't be undefined in a subtraction expression
{standard input}:124:non-relocatable subtraction expression, "_egg_tray_icon_style_set" minus "L00000000002$pb"
{standard input}:124:symbol: "_egg_tray_icon_style_set" can't be undefined in a subtraction expression
{standard input}:121:non-relocatable subtraction expression, "_egg_tray_icon_realize" minus "L00000000002$pb"
{standard input}:121:symbol: "_egg_tray_icon_realize" can't be undefined in a subtraction expression
{standard input}:118:non-relocatable subtraction expression, "_egg_tray_icon_dispose" minus "L00000000002$pb"
{standard input}:118:symbol: "_egg_tray_icon_dispose" can't be undefined in a subtraction expression
{standard input}:115:non-relocatable subtraction expression, "_egg_tray_icon_constructed" minus "L00000000002$pb"
{standard input}:115:symbol: "_egg_tray_icon_constructed" can't be undefined in a subtraction expression
{standard input}:112:non-relocatable subtraction expression, "_egg_tray_icon_get_property" minus "L00000000002$pb"
{standard input}:112:symbol: "_egg_tray_icon_get_property" can't be undefined in a subtraction expression
make[1]: *** [uim_toolbar_gtk_systray-eggtrayicon.o] Error 1
make: *** [all-recursive] Error 1
*** Error during phase build of uim: ########## Error running make   *** [1/1]
Comment 1 Etsushi Kato 2011-04-07 20:58:23 UTC
uim-toolbar-gtk-systray is completely depending on GTK+ with X11.  I'll modify Makefile.am to disable compiling uim-toolbar-gtk-systray on system without X11 later.  Anyway, thanks for your report!
Comment 2 Muneyuki Noguchi 2012-02-26 06:47:58 UTC
This bug should be fixed in revision 8af738ef89d6.

http://code.google.com/p/uim/source/detail?r=8af738ef89d64223cd36a1247a564cd29ba59319

If not, please reopen this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.