Trouble compiling xfce-mcs-manager on Solaris

Craig A. Betts craig.betts at dfrc.nasa.gov
Tue Jun 10 22:14:06 CEST 2003


Benedikt Meurer wrote:
> On Mon, 09, Jun 2003, Craig A. Betts wrote:
> 
> 
>><<==--  SNIP  --==>>
>>gcc -g -O2 -o xfce-setting-show xfce_setting_show-xfce-setting-show.o 
>>-L/usr/openwin/lib -L/usr/local/lib /usr/local/lib/libxfce4mcs-client.so 
>>-lSM -lICE -lsocket -lnsl -lX11 -lSM -lICE -lSM -lICE -lsocket -lnsl 
>>-lX11 -lglib-2.0 -lglib-2.0 -lglib-2.0 /usr/local/lib/libxfcegui4.so 
>>-lglib-2.0 -lSM -lICE -lsocket -lnsl -lX11 -lSM -lICE -lSM -lICE 
>>-lsocket -lnsl -lX11 -lglib-2.0 -lglib-2.0 -lgtk-x11-2.0 
>>/usr/local/lib/libxfce4util.so -lglib-2.0 -lgdk-x11-2.0 -latk-1.0 
>>-lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 
>>-lgmodule-2.0 -ldl -lglib-2.0 -R/usr/local/lib -R/usr/local/lib 
>>-R/usr/openwin/lib
>>Undefined                       first referenced
>> symbol                             in file
>>bind_textdomain_codeset             /usr/lib/libglib-2.0.so
> 
> 				      ^^^^^^^^^^^^^^^^^^^^^^^
> Thats weird. Looks like your glib requires some other lib to be linked in,
> but does not mention the lib in the .pc file.
> Are you able to build any other Gtk/Glib2 app, that uses gettext?
> The problem might be, that this libglib was linked with GNU gettext lib,
> but now finds Solaris gettext lib instead (I don't know how Sun builds
> their packages). Please check this first.
> 
> Benedikt
> 

Tried it again after a comiled GTK2.2 with gcc, and got the following...

<<==--  SNIP  --==>>
gcc -g -O2 -o xfce-mcs-manager xfce_mcs_manager-xfce-mcs-dialog.o 
xfce_mcs_manager-xfce-mcs-manager.o  -L/usr/openwin/lib -L/usr/local/lib 
/usr/local/lib/libxfce4mcs-manager.so -lSM -lICE -lsocket -lnsl -lX11 
-lSM -lICE -lSM -lICE -lsocket -lnsl -lX11 /usr/local/lib/libxfcegui4.so 
-lSM -lICE -lsocket -lnsl -lX11 -lSM -lICE -lSM -lICE -lsocket -lnsl 
-lX11 /usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libxfce4util.so 
/usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so 
/usr/local/lib/libgdk_pixbuf-2.0.so -lm /usr/local/lib/libpangox-1.0.so 
/usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so 
-R/usr/local/lib -R/usr/local/lib -R/usr/openwin/lib
Undefined                       first referenced
  symbol                             in file
bind_textdomain_codeset             xfce_mcs_manager-xfce-mcs-manager.o
ld: fatal: Symbol referencing errors. No output written to xfce-mcs-manager
collect2: ld returned 1 exit status
make[2]: *** [xfce-mcs-manager] Error 1
make[2]: Leaving directory 
`/home/cbetts/xfce-beta1/xfce-mcs-manager-3.90.0/xfce-mcs-manager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cbetts/xfce-beta1/xfce-mcs-manager-3.90.0'
make: *** [all] Error 2
<<==-- UNSNIP --==>>

Any ideas?  (BTW - I am not a developer, so please bear with my 
ignorance)  TIA

-- 
Craig A. Betts
IT Security Design Engineer
Arcata Associates, Inc. - Dryden Flight Research Center - NASA
Voice: (661) 276-2085     Pager: (661) 276-3038 #4010




More information about the Xfce4-dev mailing list