SVN trunk: build error error (undefined reference to gnc_html_new)

Derek Atkins warlord at MIT.EDU
Tue Jun 9 13:32:32 EDT 2009


Hi,

It looks like you have an older version already installed.  Try
removing the existing built copies:

  rm -rf /usr/local

and try again

(note:  this is another reason we recommend using an opt-style install)

-derek

Quoting Alan Jenkins <sourcejedi.lkml at googlemail.com>:

> Hi, I'm trying to build GnuCash from SVN (via git).  I get a build error
> which was introduced in the webkit merge (revision 18041); the previous
> revision 18037 builds ok.
>
> I am building on Ubuntu 8.04.  I didn't enable webkit, cos I don't have
> it installed.
>
> Is this expected?
>
> Thanks in advance
> Alan
>
> $ make distclean && ./autogen.sh
> $ ./configure && make -j4
> ...
> /home/alan/bin/cc -Werror -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
> .libs/gnucash-bin gnucash-bin.o -pthread -Wl,--export-dynamic -pthread
> ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib/libguile.so
> /usr/lib/libguile-ltdl.so -lcrypt /usr/lib/libgnomeui-2.so -lSM -lICE
> /usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so
> /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so
> /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so
> /usr/lib/libORBit-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libgconf-2.so
> /usr/lib/libgthread-2.0.so -lrt /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/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so
> /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
> ../../src/engine/.libs/libgncmod-engine.so
> ../../src/gnome/.libs/libgnc-gnome.so
> ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> ../../src/app-utils/.libs/libgncmod-app-utils.so
> ../../src/core-utils/.libs/libgnc-core-utils.so
> ../../src/gnc-module/.libs/libgnc-module.so /usr/lib/libpopt.so
> -lpthread -lm  -Wl,--rpath -Wl,/usr/local/lib/gnucash
> /usr/local/lib/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_export'
> /usr/local/lib/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_copy'
> /usr/local/lib/gnucash/libgncmod-report-gnome.so: undefined reference to
> `gnc_html_new'
> collect2: ld returned 1 exit status
>
> _______________________________________________
> 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



More information about the gnucash-devel mailing list