Re: [Gtkwave-users] Windows Compile Error
Brought to you by:
gtkwave,
joel1234567
From: Fox M. <Qua...@gm...> - 2012-11-24 19:44:37
|
Thanks for the hint with the old mingw version. I updated it and now it compiles without any errors. But i think your change to be compatible with older versions of mingw is a good thing. :) Ciao, Rainer Am 22.11.2012 15:37, schrieb by...@nc...: > It compiles fine on my MinGW box so I removed those. However, given that it doesn't work on older versions of MinGW, I just updated fstapi.c in SVN (#698) to this: > > /***********************/ > /*** ***/ > /*** common function ***/ > /*** ***/ > /***********************/ > > #ifdef __MINGW32__ > #include <io.h> > #ifndef HAVE_FSEEKO > #define ftello ftell > #define fseeko fseek > #endif > #endif > > ...this is probably what should I have done in the first place. > > Thanks, > -Tony > > ---- Fox Mulder <Qua...@gm...> wrote: >> Hi, >> >> since svn version 658 i can't compile gtkwave with mingw for windows >> anymore. The error message says >> >> undefined reference to fseeko >> undefined reference to ftello >> >> and i found out that in commit 658 exactly these two definitions were >> commented out in fstapi.c. After i commented them back in i can compile >> it again. Strange is that i can compile the code without any >> modification on my linux machine. >> >> Is there something i missed or why does this commit break the >> compilation instead of fixing some warnings with mingw? >> >> Ciao, >> Rainer >> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Gtkwave-users mailing list >> Gtk...@li... >> https://lists.sourceforge.net/lists/listinfo/gtkwave-users > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Gtkwave-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtkwave-users > |