build problems in Mac OS X 10.5
David Reiser
dbreiser at earthlink.net
Sat Nov 10 19:22:28 EST 2007
If I --disable-error-on-warning building gnucash against glib 2.12.12
(slightly modified, grr) in Mac OS X 10.5, gnucash will crash. The
errors in terminal are:
dyld: lazy symbol binding failed: Symbol not found: _mark_split
Referenced from: /sw/lib/gnucash/libgncmod-engine.dylib
Expected in: dynamic lookup
dyld: Symbol not found: _mark_split
Referenced from: /sw/lib/gnucash/libgncmod-engine.dylib
Expected in: dynamic lookup
Trace/BPT trap
The entire crash log is:
Process: gnucash-bin [324]
Path: /sw/bin/gnucash-bin
Identifier: gnucash-bin
Version: ??? (???)
Code Type: PPC (Native)
Parent Process: bash [147]
Date/Time: 2007-11-10 13:32:52.837 -0500
OS Version: Mac OS X 10.5 (9A581)
Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000008fe0105c
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _mark_split
Referenced from: /sw/lib/gnucash/libgncmod-engine.dylib
Expected in: dynamic lookup
The problem is coming from SplitP.h around line 150:
------------------------
void xaccFreeSplit (Split *split); /* frees memory */
Split * xaccSplitClone (const Split *s);
Split *xaccDupeSplit (const Split *s);
G_INLINE_FUNC void mark_split (Split *s);
void xaccSplitVoid(Split *split);
void xaccSplitUnvoid(Split *split);
void xaccSplitCommitEdit(Split *s);
void xaccSplitRollbackEdit(Split *s);
-----------------------
Mac OSX 10.5 build tools are having a problem with glib's G_INLINE_FUNC.
Is there any way to avoid using that function here without endangering
the rest of gnucash's code?
There are 14 other instances of G_INLINE_FUNC, but this is the only
one I know at the moment to be causing a problem.
Dave
--
David Reiser
dbreiser at earthlink.net
More information about the gnucash-devel
mailing list