Link failure in src/import-export/test/test-link.o
Derek Atkins
warlord at MIT.EDU
Mon May 15 17:58:48 EDT 2006
What happens if you add:
${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
to LDADD in src/import-export/test/Makefile.am? Does that make the
error go away for you? (Obviously, please test with current SVN,
not with your backed-out changeset)
-derek
Quoting Daniel Vetter <daniel at ffwll.ch>:
> On Sun, May 14, 2006 at 07:16:29PM -0400, Derek Atkins wrote:
>> Hmm, I can't reproduce this with r14062.
>>
>> -derek
>
> Tracked it down with binary search on the commits. Breakage was introduced by
> the following change:
>
> $ svn log -r 14036:14037
> ------------------------------------------------------------------------
> r14037 | chris | 2006-05-14 04:07:52 +0200 (Son, 14 Mai 2006) | 15 lines
>
> Change the method for specifying and recording the default visibility of
> tree-view columns. There is now a per-column setting, "DEFAULT_VISIBLE",
> similar to "ALWAYS_VISIBLE", that controls the visibility of a column
> in
> the absence of, or prior to, gconf management.
>
> It is no longer necessary for the tree view to store a list of
> column names
> for default visible columns.
>
> To faciliate the adaptation of pre-existing tree-views, the
> view_column_find_by_name() has been publicized as
> gnc_tree_view_find_column_by_name().
>
> All callers of gnc_tree_view_configure_columns()
> have been converted to use
> the DEFAULT_VISIBLE column property.
>
> ------------------------------------------------------------------------
>
> -daniel
>
>>
>> Daniel Vetter <daniel at ffwll.ch> writes:
>>
>> > Hi all
>> >
>> > while investigating my issues with file-opening I upgraded to rev
>> 14038, and got
>> > the follwing compile-error while linking
>> src/import-export/test/test-link.o
>> >
>> >
>> > make[4]: Entering directory
>> `/home/daniel/src/gnucash/src/import-export/test'
>> > /bin/sh ../../../libtool --tag=CC --mode=link gcc -I../../../src
>> -I../../../src/gnc-module -I../../../src/test-core
>> -I../../../src/engine -I../../../src/app-utils
>> -I../../../src/import-export -I../../../lib/libqof/qof
>> -I../../../lib/libqof/qof -pthread -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -g -O2 -Wall -Wunused
>> -Wmissing-prototypes -Wmissing-declarations -Werror
>> -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
>> -o test-link test-link.o ../../../src/gnc-module/libgncmodule.la
>> ../../../src/test-core/libgncmod-test.la
>> ../libgncmod-generic-import.la -pthread -Wl,--export-dynamic
>> -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>> ../../../lib/libqof/qof/libgncqof.la -lpopt -lm -lm
>> > gcc -I../../../src -I../../../src/gnc-module
>> -I../../../src/test-core -I../../../src/engine
>> -I../../../src/app-utils -I../../../src/import-export
>> -I../../../lib/libqof/qof -I../../../lib/libqof/qof -pthread
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall
>> -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror
>> -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
>> -o .libs/test-link test-link.o -pthread -Wl,--export-dynamic
>> ../../../src/gnc-module/.libs/libgncmodule.so
>> ../../../src/test-core/.libs/libgncmod-test.a
>> /home/daniel/src/gnucash/src/gnc-module/.libs/libgncmodule.so
>> /home/daniel/src/gnucash/src/core-utils/.libs/libcore-utils.so
>> /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so
>> /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so
>> /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so
>> /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so -lXext
>> -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.so
>> /usr/lib/libcairo.so
>> -!
>> > lXrender -lpng12 -lfontconfig /usr/lib/libfreetype.so -lz -lX11
>> /usr/lib/libgwrap-guile-runtime.so /usr/lib/libgwrap-core-runtime.so
>> /usr/lib/libguile.so /usr/lib/libguile-ltdl.so -lcrypt
>> /usr/lib/libffi.so /usr/lib/libltdl.so -lpthread
>> ../.libs/libgncmod-generic-import.so /usr/lib/libgthread-2.0.so
>> /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
>> /usr/lib/libglib-2.0.so ../../../lib/libqof/qof/.libs/libgncqof.so
>> /usr/lib/libpopt.so -lm -Wl,--rpath -Wl,/home/daniel/testing/lib
>> -Wl,--rpath -Wl,/home/daniel/testing/lib/gnucash
>> > ../.libs/libgncmod-generic-import.so: undefined reference to
>> `gnc_tree_view_find_column_by_name'
>> > collect2: ld returned 1 exit status
>> > make[4]: *** [test-link] Error 1
>> > make[4]: Leaving directory
>> `/home/daniel/src/gnucash/src/import-export/test'
>> > make[3]: *** [all-recursive] Error 1
>> > make[3]: Leaving directory `/home/daniel/src/gnucash/src/import-export'
>> > make[2]: *** [all-recursive] Error 1
>> > make[2]: Leaving directory `/home/daniel/src/gnucash/src'
>> > make[1]: *** [all-recursive] Error 1
>> > make[1]: Leaving directory `/home/daniel/src/gnucash'
>> > make: *** [all] Error 2
>> >
>> > rev 14033 compiled fine
>> >
>> > Yours
>> >
>> > Daniel
>> >
>> > _______________________________________________
>> > gnucash-devel mailing list
>> > gnucash-devel at gnucash.org
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> >
>> >
>>
>> --
>> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>> Member, MIT Student Information Processing Board (SIPB)
>> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
>> warlord at MIT.EDU PGP key available
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list