Problem using introspection
Building babl from git on an ubuntu box with introspection turned on
(but otherwise default configuration), I get an error, although it
builds fine without it. Of course then gegl from git doesn't want to build
with introspection on either. Does anyone know what this error is
trying to tell me?
CCLD libbabl-0.1.la
/usr/bin/g-ir-scanner -v --namespace Babl --nsversion=0.1 \
--add-include-path=. --add-include-path=. \
--library=babl-0.1 \
--libtool="/bin/bash ../libtool" \
--output Babl-0.1.gir \
-DBABL_IS_BEING_COMPILED \
-I.. \
-I.. \
./babl-macros.h ./babl-types.h ./babl.h \
./babl-version.h \
./babl.c ./babl-component.c ./babl-conversion.c ./babl-core.c ./babl-db.c ./babl-extension.c ./babl-fish-path.c ./babl-fish-reference.c ./babl-fish-simple.c ./babl-fish-stats.c ./babl-fish.c ./babl-format.c ./babl-hash-table.c ./babl-image.c ./babl-internal.c ./babl-introspect.c ./babl-list.c ./babl-memory.c ./babl-model.c ./babl-mutex.c ./babl-sampling.c ./babl-sanity.c ./babl-type.c ./babl-util.c ./babl-cpuaccel.c ./babl-version.c
Must specify package names on the command line
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I.. -I.. -c -o /usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.o /usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.c
/usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.c: In function ‘main’:
/usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.c:577:3: warning: ‘g_thread_init’ is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
g-ir-scanner: link: /bin/bash ../libtool --mode=link --tag=CC gcc -o /usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1 -export-dynamic -L. -lbabl-0.1 -pthread -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 /usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.o
libtool: link: gcc -o /usr/local/babl/babl/tmp-introspectb_aby8/.libs/Babl-0.1 -pthread /usr/local/babl/babl/tmp-introspectb_aby8/Babl-0.1.o -Wl,--export-dynamic -L. /usr/local/babl/babl/.libs/libbabl-0.1.so -L/usr/local/lib /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -lrt /usr/local/lib/libglib-2.0.so -pthread
ERROR: can't resolve libraries to shared libraries: babl-0.1
make[3]: *** [Babl-0.1.gir] Error 1
make[3]: Leaving directory `/usr/local/babl/babl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/babl/babl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/babl'
make: *** [all] Error 2