I suspect the issue is that those functions, acc_free, commit_err,
on_done, noop, and on_err are being defined "static inline" and your
particular compiler is complaining about them. FWIW I can build
r13513 on FC4 without any issue.
Can you go into those files in src/engine, remove the 'inline' part
from those function definitions, and then see if that fixes your problem?
-derek
Quoting [EMAIL PROTECTED]:
I am unable to compile r13513 on an updataed Fedora development. I
am getting the following error:
gcc -I../../.. -I../../../src -I../../../src/gnc-module
-I../../../src/test-core -I../../../src/engine
-I../../../src/engine/test-core -I../../../lib/libqof/qof
-I../../../lib/libqof/qof -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wno-uninitialized -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
-o .libs/test-link test-link.o ../.libs/libgncmod-engine.so
/home/michael.wise/workspace/gnucash/trunk/src/engine/.libs/libgw-engine.so
-L/usr/src/build/702552-i386/BUILD/guile-1.6.7/libguile/.libs
-L/usr/src/build/715450-i386/BUILD/guile-1.6.7/libguile/.libs
/home/michael.wise/workspace/gnucash/trunk/src/engine/.libs/libgw-kvp.so
/home/michael.wise/workspace/gnucash/trunk/lib/libqof/qof/.libs/libqof.so
/home/michael.wise/workspace/gnucash/trunk/src/gnc-module/.libs/libgncmodule.so /usr/lib/libgwrap-guile-runtime.so /usr/lib/libgwrap-core-runtime.so /usr/lib/libguile.so
/usr/lib/libguile!
-ltdl.so /usr/lib/libqthreads.so -lpthread -lcrypt
/usr/lib/libltdl.so
/home/michael.wise/workspace/gnucash/trunk/src/core-utils/.libs/libcore-utils.so -lgconf-2 -lORBit-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo ../../../lib/libqof/qof/.libs/libqof.so -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpopt -lm -Wl,--rpath -Wl,/home/michael.wise/usr/local/gnucash//lib/gnucash -Wl,--rpath
-Wl,/home/michael.wise/usr/local/gnucash//lib
../.libs/libgncmod-engine.so: undefined reference to `acc_free'
../.libs/libgncmod-engine.so: undefined reference to `commit_err'
../.libs/libgncmod-engine.so: undefined reference to `on_done'
../.libs/libgncmod-engine.so: undefined reference to `noop'
../.libs/libgncmod-engine.so: undefined reference to `on_err'
collect2: ld returned 1 exit status
make[5]: *** [test-link] Error 1
make[5]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/src/engine/test'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/src/engine'
make[3]: *** [install] Error 2
make[3]: Leaving directory
`/home/michael.wise/workspace/gnucash/trunk/src/engine'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/michael.wise/workspace/gnucash/trunk/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/michael.wise/workspace/gnucash/trunk'
make: *** [install] Error 2
MIchael
_______________________________________________
gnucash-devel mailing list
[email protected]
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
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel