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

Re: Someone is working on scigraphica 2.1.0 ?



Am Montag, den 14.05.2007, 16:39 +0200 schrieb picca:

> Everything in the title :)
>
> I am trying to build a package for scigraphica, but the compilation
> fail with a :
> 
> sg_layer_polar.lo: In function `layer_polar_init':
> /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:64:
> undefined reference to
> `sg_plugin_layer_get_type' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:64:
> undefined reference to
> `g_type_check_instance_cast' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:69:
> undefined reference to
> `gdk_colormap_get_system' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:73:
> undefined reference to
> `gdk_pixmap_colormap_create_from_xpm_d' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:74:
> undefined reference to
> `gtk_pixmap_get_type' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:74:
> undefined reference to
> `gtk_pixmap_new' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:74:
> undefined reference to
> `g_type_check_instance_cast' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:75:
> undefined reference to
> `gdk_drawable_unref' /home/picca/Debian/libscigraphica/libscigraphica-2.1.1/plugins/layers/sg_layer_polar.c:76:
> undefined reference to `gdk_drawable_unref' collect2: ld returned 1
> exit status
> 
> So it seems that the -l flags are wrong.
> But in the other way if I do a
> ./configure
> ./make
> directly from the scigraphica-2.1.1 everything fine.
> 
> So the difference is from the parameter of ./configure from the package.
> ./configure --host=$(DEB_HOST_GNU_TYPE)
> --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
> --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
> CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"

Can you use debuild/pbuilder or script or tee and attach the build log?

Regards, Daniel



Reply to: