[ace-users] Wince compilation error for ACE 5.5.6

Steve Huston shuston at riverace.com
Fri Jun 22 17:05:25 CDT 2007


A fix for this issue will go into ACE 5.6 (will be committed after the
5.5.9 beta).

Thanks,
-Steve

--
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
See http://www.riverace.com/sponsor.htm


> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu 
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Tor Brekke
> Sent: Wednesday, March 21, 2007 10:15 AM
> To: ace-users at cse.wustl.edu
> Subject: Re: [ace-users] Wince compilation error for ACE 5.5.6
> 
> 
> Hi, 
> 
> As it turned out I did not have time to do much more on this, and
will
> not be able to either. I therefore send the file I updated to the
list
> in case somebody wants to merge the semaphore blocking problem for
> windows CE in. 
> The pathch is in os_ns_thread.inl/ACE_OS::sema_wait(ACE_sema_t *,
> ACE_Time_Value) when the Time value is ACE_Time_Value::zero. 
> The problem
> was that the zero value was being used as an absolute time, 
> resulting in
> rather large timeouts. I have fixed this by initialising the actual
> timeout to current time if required. As mentioned earlier 
> this seemed to
> work fine. The patch is on 5.5. Since i do not have time to 
> follow this
> up myself, the patch is of course provided as is. 
> 
> Regards
> Tor Brekke
> 
> 
> 
> -----Original Message-----
> From: Johnny Willemsen [mailto:jwillemsen at remedy.nl] 
> Sent: 21.02.2007 19:40
> To: Tor Brekke; ariele at elbit.co.il
> Cc: ace-users at cse.wustl.edu
> Subject: RE: [ace-users] Wince compilation error for ACE 5.5.6
> 
> Hi,
> 
> We are looking forward to see the patches. Until the moment 
> arrives that
> somebody is real funding active WinCE maintenance (building 
> and testing)
> probably each ACE release will need some tweaks to get it 
> compiling and
> running fine again, the OS has to many specific issues that are not
> found until somebody really tests it.
> 
> Regards,
> 
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC  Berkel en Rodenrijs
> The Netherlands
> www.theaceorb.nl / www.remedy.nl  
> 
> 
> > We have been running the CE port for a while 
> (5.5.something). It seems
> 
> > to mostly work fine. There are a few major issues though 
> (and probably
> 
> > a bunch of others we haven't encoutered yet):
> > - On some (maybe all?) CE implementations gettimeofday() will not 
> > return a millisecond value. This has serous impact on timer 
> accuracy. 
> > We have replaced this with a derivative of GetTickCount() in timer

> > scheduling.
> > - The WINCE semaphore simulation does not handle polling
correctly.
> > Basically timeout=(0,0) is treated as an absolute time 
> rather than a 
> > poll, for all practical purposes resulting in blocking 
> instead. I am 
> > testing a fix for this as I am writing this. When it works 
> properly I 
> > will be happy to provide the update.
> > 
> > Regards,
> > Tor Brekke
> > Paradial AS
> > 
> > -----Original Message-----
> > From: ace-users-bounces at cse.wustl.edu
> > [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of 
> Johnny Willemsen
> > Sent: 12.02.2007 16:25
> > To: ariele at elbit.co.il
> > Cc: ace-users at cse.wustl.edu
> > Subject: Re: [ace-users] Wince compilation error for ACE 5.5.6
> > 
> > Hi,
> > 
> > Thanks for using the PRF form. There are no WinCE builds in the 
> > regular part of the scoreboard, so it is not tested at all. Steve 
> > Huston seems to have some non release builds but they are 
> not checked 
> > when determining whether a beta is stable or not.
> > 
> > We as Remedy IT also don't host WinCE builds, we will only do that

> > when someone is sponsoring the port, it takes time to 
> setup, fix and 
> > maintain these builds.
> > 
> > Regards,
> > 
> > Johnny Willemsen
> > Remedy IT
> > Postbus 101
> > 2650 AC  Berkel en Rodenrijs
> > The Netherlands
> > www.theaceorb.nl / www.remedy.nl
> > 
> > 
> > "Ehrnberg Ariel" <ariele at elbit.co.il> wrote in message 
> >
news:<mailman.1969.1171292794.25808.ace-users at mail.cse.wustl.edu>...
> > ACE VERSION: 5.5.6
> > HOST MACHINE and OPERATING SYSTEM:x86 Win2K TARGET MACHINE and 
> > OPERATING SYSTEM, if different from HOST: PPC 2003
> > (armv4) wince 4.2
> > COMPILER NAME AND VERSION (AND PATCHLEVEL): MSVC 8
> > 
> > CONTENTS OF $ACE_ROOT/ace/config.h: 
> > #include "ace/config-win32.h"
> > 
> > AREA/CLASS/EXAMPLE AFFECTED: compilation (os_ns*) DOES THE PROBLEM
> > AFFECT:
> > COMPILATION? yes
> > LINKING? no
> > EXECUTION? no
> > OTHER (please specify)? N/A
> > SYNOPSIS:
> > Some "#if defined WINNT..." were removed or replaced with
different 
> > #ifdef's. because of that ACE cannot be compiled for wince
> > DESCRIPTION:
> > Some types or functions are missing in wince. The usage of 
> those types
> 
> > or functions was #ifdef's (sometimes) under WINNT. When 
> those #ifdefs 
> > were removed the compilation fails. E.g. GetProcessTimes() 
> function in
> 
> > os_ns_sys_recource.inl line 43 is under #if defined 
> ACE_HAS_GETRUSAGE 
> > which used to be defined in config_win32_common.h under #if
defined 
> > WINNT.
> > 
> > By the way, how can I know which beta has been tested for wince?
> > (question for Steve Huston I guess)
> > REPEAT BY:
> > n/a
> > SAMPLE FIX/WORKAROUND:
> > n/a
> > 
> > Thanks,
> > 
> > Ariel
> > 
> > 
> > This e-mail message has been sent by Elbit Systems Ltd.
> > and is for the use of the intended recipients only.
> > The message may contain privileged or commercially sensitive 
> > information .
> > If you are not the intended recipient you are hereby 
> notified that any
> 
> > use, distribution or copying of this communication is strictly 
> > prohibited, and you are requested to delete the e-mail and any 
> > attachments and notify the sender immediately.
> > 
> > ----------
> > 
> > _______________________________________________
> > ace-users mailing list
> > ace-users at mail.cse.wustl.edu
> > http://mail.cse.wustl.edu/mailman/listinfo/ace-users
> > 
> 
> 




More information about the Ace-users mailing list