Re: gnome-vfs 2.5.2 build fails on solaris 2.8 because internal libgnomevfs symbols accessed externally by daemons



This is fixed in CVS. See bug #127212 on bugzilla.gnome.org

Christophe

Le mar 02/12/2003 à 13:20, Timothy Murphy a écrit :
> Hi,
> 
> I am having trouble compiling gnome-vfs 2.5.2 on Solaris
> 2.8 (gcc 3.3.2).  The problem is that the various vfs
> daemons are trying to use functions that are marked as
> "LOCL" to the gnome-vfs library.  These functions have a
> "_" character on the front which causes the libgnomevfs
> makefile to mark them as not exportable when libgnomevfs is
> created.
> 
> The symptom when compiling is this:
> Undefined            first referenced
>  symbol                  in file
> _gnome_vfs_drive_to_corba           gnome-vfs-daemon.o
> _gnome_vfs_daemon_convert_to_corba_file_info
> gnome-vfs-async-daemon.o
> _gnome_vfs_daemon_convert_from_corba_file_info
> gnome-vfs-async-daemon.o
> _gnome_vfs_volume_monitor_emit_pre_unmount
> gnome-vfs-daemon.o
> _gnome_vfs_daemon_set_current_daemon_client_call
> gnome-vfs-async-daemon.o
> _gnome_vfs_volume_to_corba          gnome-vfs-daemon.o
> gnome_vfs_drive_to_corba            gnome-vfs-daemon.o
> ld: fatal: Symbol referencing errors. No output written to
> .libs/vfs-daemon
> 
> 
> My own quick hack will be to rename these functions so that
> they do get exported but you may wish to do something else.
> 
> Sorry, I am not subscribed so please cc me if I can provide
> more information.
> 
> The output of the compilation of the daemon directory
> follows together with the output of nm, that shows how some
> of the relevant functions are marked "LOCL".
> 
> Regards,
> 
> Tim
> 
>  
> 
> nyanga:/space/nyanga-share/package/build/solaris28/xgnome/build/gnome-vfs/gnome-vfs-2.5.2/daemon>
> gmake
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -threads -DORBIT2=1
> -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include
> -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/orbit-2.0
> -I/opt/gnome/include/bonobo-activation-2.0
> -I/opt/gnome/include/libbonobo-2.0
> -I/opt/gnome/include/libxml2      -DORBIT2=1
> -I/opt/gnome/include/libbonobo-2.0
> -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include
> -I/opt/gnome/include/orbit-2.0
> -I/opt/gnome/include/bonobo-activation-2.0
>   -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT -DG_DISABLE_DEPRECATED
> -DDATADIR=\"/opt/gnome/share\" -DLIBDIR=\"/opt/gnome/lib\"
> -DPREFIX=\"/opt/gnome\"
> -DGNOMEVFS_LOCALEDIR=\"/opt/gnome/share/locale\"
> -DSYSCONFDIR=\"/opt/gnome/etc\"
> -DG_LOG_DOMAIN=\"libgnomevfs\" -I.. -I.. -I../libgnomevfs
> -I../libgnomevfs   -I/opt/gnome/include
>  -I/opt/gnome/include -I/opt/sm_tools/include -MT
> gnome-vfs-daemon.o -MD -MP -MF ".deps/gnome-vfs-daemon.Tpo"
> \
>   -c -o gnome-vfs-daemon.o `test -f 'gnome-vfs-daemon.c' ||
> echo './'`gnome-vfs-daemon.c; \
> then mv ".deps/gnome-vfs-daemon.Tpo"
> ".deps/gnome-vfs-daemon.Po"; \
> else rm -f ".deps/gnome-vfs-daemon.Tpo"; exit 1; \
> fi
> /bin/bash ../libtool --mode=link gcc  -I/opt/gnome/include
> -I/opt/sm_tools/include  -L/opt/gnome/lib
> -L/opt/sm_tools/lib -o vfs-daemon  gnome-vfs-daemon.o
> gnome-vfs-async-daemon.o gnome-vfs-daemon-dir-handle.o
> gnome-vfs-daemon-handle.o GNOME_VFS_Daemon-common.o
> GNOME_VFS_Daemon-stubs.o GNOME_VFS_Daemon-skels.o -threads
> -L/opt/gnome/lib -lbonobo-2 -lbonobo-activation -lORBit-2
> -lgobject-2.0 -lgthread-2.0 -lresolv -lnsl -lsocket -lm
> -lgmodule-2.0 -ldl -lglib-2.0
>   ../libgnomevfs/libgnomevfs-2.la -lsocket -lnsl -lrt
> gcc -I/opt/gnome/include -I/opt/sm_tools/include -o
> .libs/vfs-daemon gnome-vfs-daemon.o
> gnome-vfs-async-daemon.o gnome-vfs-daemon-dir-handle.o
> gnome-vfs-daemon-handle.o GNOME_VFS_Daemon-common.o
> GNOME_VFS_Daemon-stubs.o GNOME_VFS_Daemon-skels.o -threads
>  -L/opt/gnome/lib -L/opt/sm_tools/lib -L/usr/ucblib
> ../libgnomevfs/.libs/libgnomevfs-2.so
> /opt/gnome/lib/libgconf-2.so /opt/gnome/lib/libbonobo-2.so
> /opt/gnome/lib/libbonobo-activation.so
> /opt/gnome/lib/libORBitCosNaming-2.so
> /opt/gnome/lib/libORBit-2.so /opt/gnome/lib/libpopt.so
> /opt/gnome/lib/libgobject-2.0.so
> /opt/gnome/lib/libgthread-2.0.so -lresolv
> /opt/gnome/lib/libgmodule-2.0.so -ldl
> /opt/gnome/lib/libglib-2.0.so /opt/gnome/lib/libxml2.so
> -lpthread -lz -lm -lssl -lcrypto
> /opt/sm_tools/lib/libintl.so -lc
> /opt/sm_tools/lib/libiconv.so -lgcc_s -lsocket -lnsl -lrt
> -R/opt/gnome/lib -R/opt/sm_tools/lib -R/usr/ucblib
> Undefined            first referenced
>  symbol                  in file
> _gnome_vfs_drive_to_corba           gnome-vfs-daemon.o
> _gnome_vfs_daemon_convert_to_corba_file_info
> gnome-vfs-async-daemon.o
> _gnome_vfs_daemon_convert_from_corba_file_info
> gnome-vfs-async-daemon.o
> _gnome_vfs_volume_monitor_emit_pre_unmount
> gnome-vfs-daemon.o
> _gnome_vfs_daemon_set_current_daemon_client_call
> gnome-vfs-async-daemon.o
> _gnome_vfs_volume_to_corba          gnome-vfs-daemon.o
> gnome_vfs_drive_to_corba            gnome-vfs-daemon.o
> ld: fatal: Symbol referencing errors. No output written to
> .libs/vfs-daemon
> collect2: ld returned 1 exit status
> gmake: *** [vfs-daemon] Error 1
> nyanga:/space/nyanga-share/package/build/solaris28/xgnome/build/gnome-vfs/gnome-vfs-2.5.2/daemon>
> nm -A ../libgnomevfs/.libs/libgnomevfs-2.so | egrep
> "(_gnome_vfs_drive_to_corba)|(_gnome_vfs_daemon_convert_to_corba_file_info)"
> ../libgnomevfs/.libs/libgnomevfs-2.so: [85]    |    170116|
>     488|FUNC |LOCL |2    |13
>     |_gnome_vfs_daemon_convert_to_corba_file_info
> ../libgnomevfs/.libs/libgnomevfs-2.so: [42]    |    191688|
>     296|FUNC |LOCL |2    |13     |_gnome_vfs_drive_to_corba
> ___________________________________________
>  Look Good, Feel Good www.healthiest.co.za
> 
> _______________________________________________
> gnome-vfs-list mailing list
> gnome-vfs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]