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.lahti...@gmail.com>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 > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user