Re: [gnome-db] mergeant amd64 build problem (head)



2005/10/27, Gour <gour mail inet hr>:
> Hi!
>
> In order to produce better bug reports for the crashes I'm experiencing
> in running mergeant on my Gentoo box, I tried to emerge 0.62 with
> 'debug' flag, but it fails.
>
> I fetched head (0.63), and tried to compile from the tarball via:
>
> ./configure --enable-debug-signal --enable-debug
> make
>
> I get the following:
>
> [...]
> mkdir .libs
> gcc -Wall -g -O2 -o mergeant main.o marshal.o object-detail.o
> query-druid.o query-editor.o query-fields-editor.o query-fields-menu.o
> query-params-editor.o session.o workspace.o workspace-window.o
> workspace-page.o ws-datatypes.o ws-dbrels.o ws-queries.o ws-tables.o
> -pthread -Wl,--export-dynamic  -L/usr/lib /usr/lib64/libgnomedb-3.so
> -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../x86_64-pc-linux-gnu/lib
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib64
> /usr/lib64/libgtksourceview-1.0.so -L/usr/lib64
> /usr/lib64/libgnomeprint-2-2.so /usr/lib64/libgnomedb_graph-3.so
> /usr/lib64/libgnomedb_handlers-3.so /usr/lib64/libgnomedb_parser-3.so
> /usr/lib64/libgda-3.so /usr/lib64/libfam.so -lrpcsvc
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so
> /usr/lib64/libgdasql.so /usr/lib64/libxslt.so /usr/lib64/libgnomeui-2.so
> /usr/lib64/libjpeg.so /usr/lib64/libbonoboui-2.so -lSM -lICE
> /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so
> /usr/lib64/libgnome-2.so /usr/lib64/libesd.so /usr/lib/libasound.so
> /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so
> /usr/lib64/libgnomevfs-2.so -lssl -lcrypto -lresolv -lrt
> /usr/lib64/libbonobo-2.so /usr/lib64/libgconf-2.so
> /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so
> /usr/lib64/libORBit-2.so /usr/lib64/libpopt.so
> /usr/lib64/libgthread-2.0.so /usr/lib64/libglade-2.0.so -lpthread
> /usr/lib64/libpangoxft-1.0.so /usr/lib64/libpangox-1.0.so
> /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libxml2.so
> /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so
> /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so
> /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so
> /usr/lib64/libcairo.so -lXrender -lX11 -lXext -lpng12
> /usr/lib64/libglitz.so /usr/lib64/libfontconfig.so
> /usr/lib64/libexpat.so /usr/lib64/libfreetype.so -lz -lm
> /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl
> /usr/lib64/libglib-2.0.so -Wl,--rpath
> -Wl,/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -Wl,--rpath -Wl,/usr/lib
> -Wl,--rpath -Wl,/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -Wl,--rpath
> -Wl,/usr/lib
> query-druid.o: In function `select_targets_add_table':
> /home/gour/repos/mergeant/src/query-druid.c:669: undefined reference to `gnome_db_base_dump'
> query-druid.o: In function `select_targets_del_target':
> /home/gour/repos/mergeant/src/query-druid.c:694: undefined reference to `gnome_db_base_dump'
> query-druid.o: In function `select_fields_add_field':
> /home/gour/repos/mergeant/src/query-druid.c:953: undefined reference to `gnome_db_base_dump'
> query-druid.o: In function `select_fields_up_field':
> /home/gour/repos/mergeant/src/query-druid.c:1007: undefined reference to `gnome_db_base_dump'
> query-druid.o: In function `select_fields_dn_field':
> /home/gour/repos/mergeant/src/query-druid.c:1026: undefined reference to `gnome_db_base_dump'
> query-druid.o:/home/gour/repos/mergeant/src/query-druid.c:1040: more undefined references to `gnome_db_base_dump' follow
> collect2: ld returned 1 exit status
> make[1]: *** [mergeant] Error 1
> make[1]: Leaving directory `/home/gour/repos/mergeant/src'
> make: *** [all-recursive] Error 1

If you use the --enable-debug for mergeant, then also use it to build
libgnomedb (the `gnome_db_base_dump' symbol is added when libgnomedb
is built using that flag).

Cheers,

Vivien



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