problems compiling on solaris 2.6

K. Prasad mvkp at yahoo.com
Mon Apr 28 15:11:50 CEST 2003


Hi All,

Has anybody compiled xfce4 on solaris 2.6. I have got
some issues here doing it. If these are already fixed
in CVS please point to me the URL where i can get the
latest snapshot. I downloaded mine 2 days ago from
Jasper's site. The problems:

1../xfce-utils/xfce4-about/info.c
Had to include locale.h for the macro LC_MESSAGES

2.variable hfilename in fn add_page in info.c
  It is defined in the flag HAVE_LIBGTKHTML but is 
  used out of it also

3.ld warning while compiling libxfceutil 
ld: warning: symbol `names' has differing sizes:
        (file
.libs/libxfce4settings_la-xfce_settings_dialog.o
value=0x4; file
/user/kmallampalli/localgtk2/lib/libxfcegui4.so
value=0x20);

4. error compiling xfce4-iconbox. Noticed using nm
that the undefined symbols are present in
libxfcegui4.so

/bin/ksh ../libtool --mode=link gcc -g
-L/user/kmallampalli/localgtk2/lib -lxfcegui4  -g -O2
-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS   -o
xfce4-iconbox -L/user/kmallampalli/localgtk2/lib
-lxfcegui4 xfce4_iconbox-ls_iconbox.o
xfce4_iconbox-ls_icon.o xfce4_iconbox-ls_iconboxwin.o
xfce4_iconbox-main.o -L/usr/openwin/lib
-L/user/kmallampalli/localgtk2/lib -lxfce4mcs-client
-lxfce4util -lglib-2.0
-L/user/kmallampalli/localgtk2/lib -lxfce4util
-lglib-2.0 -L/usr/openwin/lib
-L/user/kmallampalli/localgtk2/lib -lxfcegui4
-lgtk-x11-2.0 -lxfce4util -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   
gcc -g -g -O2 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -o
xfce4-iconbox xfce4_iconbox-ls_iconbox.o
xfce4_iconbox-ls_icon.o xfce4_iconbox-ls_iconboxwin.o
xfce4_iconbox-main.o 
-L/user/kmallampalli/localgtk2/lib -L/usr/openwin/lib
/user/kmallampalli/localgtk2/lib/libxfce4mcs-client.so
/user/kmallampalli/localgtk2/lib/libxfcegui4.so
-L/user/kmallampalli/local/lib -lSM -lICE -lsocket
-lnsl -lX11
/user/kmallampalli/localgtk2/lib/libgtk-x11-2.0.so
/user/kmallampalli/localgtk2/lib/libxfce4util.so
/user/kmallampalli/localgtk2/lib/libgdk-x11-2.0.so
/user/kmallampalli/localgtk2/lib/libatk-1.0.so
/user/kmallampalli/localgtk2/lib/libgdk_pixbuf-2.0.so
-lm /user/kmallampalli/localgtk2/lib/libpangox-1.0.so
/user/kmallampalli/localgtk2/lib/libpango-1.0.so
/user/kmallampalli/localgtk2/lib/libgobject-2.0.so
/user/kmallampalli/localgtk2/lib/libgmodule-2.0.so
-ldl /user/kmallampalli/localgtk2/lib/libglib-2.0.so
-R/user/kmallampalli/localgtk2/lib
-R/user/kmallampalli/localgtk2/lib -R/usr/openwin/lib
Undefined                       first referenced
 symbol                             in file
_netk_xid_equal                    
xfce4_iconbox-ls_iconbox.o
_netk_xid_hash                     
xfce4_iconbox-ls_iconbox.o
ld: fatal: Symbol referencing errors. No output
written to xfce4-iconbox
collect2: ld returned 1 exit status

5:scandir function and struct dirent are mixed in
xfdeskmenu. On solaris(SYSV), struct dirent is in
dirent.h and scandir is in BSD compatibility library.
If i try to mix these two, redefinition errors result.
Is it possible to replace scandir with some other fn
calls?

6.statfs fn call in fstat.c,xffm. The prototypes of
these fns are probably different from the BSD
versions.
statfs on solaris has two extra parameters. probably
the fn statvfs has to be used?

7.The XShape* fns are not available on my system.
There is a header called shapestr.h that has some
structures with the names starting with xShape e.g.
xShapeCombineReq etc. Any clues about this.

For any solaris specific info please see
http://docs.sun.com

thanks in advance

kameshwar


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the Xfce4-dev mailing list