[Gambas-user] Missing symbols

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Feb 8 17:45:50 CET 2012


Can someone confirm this problem, does it exist only on my system?

Gambas 3 r4445 @ Xubuntu 11.10 64bit

Jussi



On Mon, Feb 6, 2012 at 18:00, Jussi Lahtinen <jussi.lahtinen at ...626...>wrote:

> One of these days... maybe I have missed something, but any clue why
> Gambas programs cannot find some symbols from libc?
> Specifically I'm talking about fmod, my libraries (written with C) can
> find this without problem.
> And even more strange, Gambas programs can find some symbols from libc.
>
>
> Library "libc:6"
> Private Extern modf(param As Float, pp As Pointer) As Float
> Private Extern fmod(param1 As Float, param2 As Float) As Float
>
> Public Sub Main()
> Dim pp As Pointer = Alloc(SizeOf(gb.Float))
>
>   Print modf(Pi, pp)
>   Print fmod(Pi, 2) '<-- only this raises "cannot find symbol..."
>
> End
>
>
> Demonstration project attached.
>
> Jussi
>



More information about the User mailing list