more info on G_INLINE_FUNC problem on OS X

Derek Atkins warlord at MIT.EDU
Sun Nov 11 14:36:19 EST 2007


What happens if you just remove the declaration from SplitP.h?
The problem appears to be that it's used in both Split.c and
Transaction.c, so it probably shouldn't be inline or static.

-derek

David Reiser <dbreiser at earthlink.net> writes:

> The line is
> G_INLINE_FUNC void mark_split (Split *s);
>
> in SplitP.h in the engine directory. The problem is that the Mac OS X  
> 10.5 devel tools are handling this differently than previous versions,  
> in concert with glib (the source of G_INLINE_FUNC). The solution,  
> suggested on irc was to delete G_INLINE_FUNC and see what happened. It  
> works for me and two other people who reported the problem. So unless  
> there's a compelling reason to want the inline function be inline, I'm  
> happy to leave it patched out.
>
> Thanks for the help.
>
> Dave
> On Nov 11, 2007, at 1:22 AM, Jeshua Lacock wrote:
>
>>
>> On Nov 10, 2007, at 5:39 PM, David Reiser wrote:
>>
>>>> dyld: lazy symbol binding failed: Symbol not found: _mark_split
>>>>  Referenced from: /sw/lib/gnucash/libgncmod-engine.dylib
>>>>  Expected in: dynamic lookup
>>
>>
>> Do you have _mark_split somewhere? Eg grep for it in your libraries:
>>
>>    grep -r _mark_split /path/to/lib
>>
>> (if split is installed somewhere else grep there)
>>
>> Once you find a candidate run nm on it to see if it is defined:
>>
>>    nm /path/to/lib/lib.dylib | grep _mark_split
>>
>> If you have a 'U' (and no address) then the symbol is not actually
>> defined...
>>
>>
>> Regards,
>>
>> Jeshua Lacock, Owner
>> <http://OpenOSX.com>
>> phone: 877.240.1364
>>
>>
>>
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
> --
> David Reiser
> dbreiser at earthlink.net
>
>
>
>
> _______________________________________________
> 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