Re: [Gtkwave-users] Windows Compile Error
Brought to you by:
gtkwave,
joel1234567
From: <by...@nc...> - 2012-11-22 14:37:29
|
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 |