Re: Problems building gnome-vfs with current jhbuild on a FC10 (to be) machine



sø., 23.11.2008 kl. 17.06 +0100, skrev Kjartan Maraas:
> Hi.
> 
> I tried doing a jhbuild run off 2.25.x today and was rewarded with the
> following:
> 
> gcc -std=gnu99 -g -O0 -march=core2 -Wformat -Wformat-security
> -o .libs/gnome-vfs-daemon dbus-utils.o vfs-daemon.o daemon-connection.o
> -pthread  -L/opt/gnome2/lib -L/lib
> -L/usr/kerberos/lib ../libgnomevfs/.libs/libgnomevfsdaemon-2.a
> -lhal-storage
> -lhal /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so ../libgnomevfs/.libs/libgnomevfs-2.so /opt/gnome2/lib/libgconf-2.so /opt/gnome2/lib/libORBit-2.so /opt/gnome2/lib/libgmodule-2.0.so /opt/gnome2/lib/libgthread-2.0.so -lpthread /opt/gnome2/lib/libxml2.so -lm -ldbus-glib-1 -ldbus-1 /opt/gnome2/lib/libgobject-2.0.so -lssl -lcrypto -ldl -lz -lavahi-glib /opt/gnome2/lib/libglib-2.0.so -lavahi-common -lavahi-client -lresolv -lselinux -lutil -lrt  -Wl,--rpath -Wl,/opt/gnome2/lib
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_get_fd'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_connect'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_free'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_CTX_new'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_read'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_set_fd'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSLv23_client_method'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_library_init'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_new'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_write'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_shutdown'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_get_error'
> /home/kmaraas/cvs/gnome/gnome-vfs/libgnomevfs/.libs/libgnomevfs-2.so:
> undefined reference to `SSL_CTX_free'
> collect2: ld returned 1 exit status
> make[2]: *** [gnome-vfs-daemon] Error 1
> make[2]: Leaving directory `/home/kmaraas/cvs/gnome/gnome-vfs/daemon'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/kmaraas/cvs/gnome/gnome-vfs'
> make: *** [all] Error 2
> *** error during stage build of gnome-vfs: ########## Error running make
> *** [25/184]
> 
>   [1] rerun stage build
>   [2] ignore error and continue to install
>   [3] give up on module
>   [4] start shell
>   [5] go to stage force_checkout
>   [6] go to stage configure
>   [7] go to stage force_clean
>   [8] go to stage force_distclean
> choice: 
> 
> Clearly it's adding -lssl and friends and the correct files are included
> in the only file using SSL_* so I just don't see why this is failing.
> 
> Anyone?
> 

And of course two minutes after sending the mail it dawns on me. nss
installs libssl.a in $prefix/lib in jhbuild for some reason. Why go to
the trouble of naming the shared lib libssl3.so just to install a static
one that conflicts with openssl name space?

Cheers
Kjartan




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