[Gtk-sharp-list] Not able to compile windowmanager.c

Ramya ramya_krishnan@sifycorp.com
Tue, 12 Apr 2005 12:19:42 +0530


I have mono installed in the path
/usr/local/beagle/mono
I am trying to install gtk in the same path. So i did the following things

declare -x PKG_CONFIG_PATH="/usr/local/beagle/mono/lib/pkgconfig"

./configure --prefix=/usr/local/beagle/mono
art-sharp.dll: yes
gnome-sharp.dll: no
glade-sharp.dll: yes
gda-sharp.dll: no
gnomedb-sharp.dll: no
svg-sharp.dll: yes
gtkhtml-sharp.dll: no
vte-sharp.dll: no

make
Make threw lots of warnings such as
warning: declaration of `index' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
Finally make failed with:
windowmanager.c: In function `gtksharp_get_gdk_net_supported':
windowmanager.c:49: warning: implicit declaration of function 
`gdk_screen_get_root_window'
windowmanager.c:49: warning: implicit declaration of function 
`gdk_screen_get_default'
windowmanager.c:58: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
windowmanager.c: In function `gtksharp_get_gdk_net_client_list':
windowmanager.c:98: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
windowmanager.c: In function `gtksharp_get_gdk_net_number_of_desktops':
windowmanager.c:140: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
windowmanager.c: In function `gtksharp_get_gdk_net_current_desktop':
windowmanager.c:177: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
windowmanager.c: In function `gtksharp_get_gdk_net_active_window':
windowmanager.c:213: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
windowmanager.c: In function `gtksharp_get_gdk_net_workarea':
windowmanager.c:250: warning: passing arg 1 of `gdk_property_get' makes 
pointer from integer without a cast
make[3]: *** [windowmanager.lo] Error 1
make[3]: Leaving directory `/usr/local/src/gtk-sharp-1.0.8/gdk/glue'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gtk-sharp-1.0.8/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gtk-sharp-1.0.8'
make: *** [all] Error 2


I am clueless as to how to solve this. Any help in this regard would be 
appreciated.

-- 
Thanks and regards
Ramya Krishnan

DISCLAIMER:
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@sifycorp.com