---------- Forwarded message ----------
From: Shawn Fratis <[email protected]>
Date: Wed, Jul 20, 2016 at 7:15 AM
Subject: Re: [Unicon-group] Compiling Unicon 12.3 on Windows
To: Sergey Logichev <[email protected]>






Thank you for your work! I am curious to hear from people how Unicon is
working with Win 10. I've become kinda dependent on it, and my employer is
getting ready to get everyone switched from Win 7, which I'm a tad nervous
about. :(

On Wed, Jul 20, 2016 at 5:00 AM, Sergey Logichev <[email protected]>
wrote:

> Hello all!
>
> Sorry for disturbance, but nobody reacted on my question (-:
> Actually, I have quickly found the solution myself. The problem was not in
> Windows version, but in gcc version. Current minGW release includes gcc
> version 4.9.3. This gcc during compilation fails with the error described
> by me.
> When I have tried other gcc versions (4.8.3 and 5.0.3) all were OK! I have
> tested it both on Win7 and Win10.
> The one unconvinient thing with minGW that you can't change gcc (upgrade
> or downgrade). The ideal solution for Windows is install minGW with MSYS
> (make stuff) and minGW-w64 for which you can select any needed version of
> gcc (even 6.0.3).
> As for Unicon itself builded from sources - it produces really more
> compact and fast code. By my raw assessments the performance is rised on
> ~30% at least. The great thing!
>
> Thank you very much!
> Sergey
>
> 09.07.2016, 09:29, "Sergey Logichev" <[email protected]>:
>
> Hello, friends!
>
> Unfortunately I didn't managed to compile Unicon on Windows by default. I
> used the last version 4.9.3 of mingw32 on Windows 10. The process crashed
> on compiling xfsys.c file (which was produced by rtt from
> src/runtime/rsys.r). The gcc error is following:
>
> fsys.r: In function 'Zreads':
> fsys.r:1384:16: error: storage size of 'statbuf' isn't known
> struct stat statbuf;
>             ^
> As I computed the problem is originated from the following lines of rsys.r
>
> #if defined(NTGCC) && (WordBits==32)
> #passthru #if (__GNUC__==4) && (__GNUC_MINOR__>7)
> #passthru #define stat _stat64i32
> #passthru #endif
> #endif /* NTGCC && WordBits==32*/
>
> It means that any attempts to redefine structure stat to something else
> fail. If I comment statement "#define stat _stat64i32" the compilation is
> successfull. The same problem is occured while compilation of rsys.r and
> rposix.r files.
>
> I think, Jafar shall remove these redefinitions or fix them in some
> manner. By the way, the builded Unicon (afrer my own corrections in files
> mentioned above) was completly functional and fine working!
>
> Thank you!
>
> Best regards,
>
> Sergey
> ,
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ,
>
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to