[Ace-users] [ace-users] ACE-5.6.2 can't be compiled (use gcc-4.2.1) inmingw in Windows XP

haibin zhang dragzhb at yahoo.com.cn
Thu Jan 24 01:12:04 CST 2008


Hi, 

I don't know how to ask the bugzilla administrator for
permissions? 


Regards

Zhang Haibin


--- Johnny Willemsen <jwillemsen at remedy.nl>写道:

> Hi,
> 
> Check the email you got from bugzilla, you have to
> ask the bugzilla
> administrator for permissions.
> 
> Johnny
> 
> > -----Original Message-----
> > From: haibin zhang [mailto:dragzhb at yahoo.com.cn]
> > Sent: Thursday, January 24, 2008 7:23 AM
> > To: Johnny Willemsen
> > Cc: ace-users at cs.wustl.edu
> > Subject: Re: [ace-users] ACE-5.6.2 can't be
> compiled (use gcc-4.2.1)
> > inmingw in Windows XP
> > 
> > Hi,
> > 
> > I have account in
> > http://deuce.doc.wustl.edu/bugzilla/index.cgi
> > 
> > but I can't create a new bug, the following is
> tips:
> > ==================================================
> > No Products
> > Either no products have been defined to enter bugs
> > against or you have not been given access to any.
> > 
> > Please press Back and try again.
> > ==================================================
> > 
> > Regards
> > 
> > Zhang HaiBin
> > 
> > --- Johnny Willemsen <jwillemsen at remedy.nl>写道:
> > 
> > > Hi,
> > >
> > > Just create an account for bugzilla and create
> > > patches that resolve the
> > > problem.
> > >
> > > Johnny
> > >
> > > "haibin zhang" <dragzhb at yahoo.com.cn> wrote in
> > > message
> > >
> >
>
news:<mailman.3453.1201138281.5286.ace-users at mail.cse.wustl.edu>...
> > > > Hi,
> > > >
> > > > Sorry , I can't upload the pactches, Because
> of
> > > that I
> > > > don't know how to fix the following bugs:
> > > >
> > > > 1. I don't know how to define MICRO of gcc-4.2
> > > info.
> > > > 2. I don't know how to fix this bug(important)
> > > >
> > > > d:/cdev/ACE_wrappers/ace/OS_NS_stdio.inl: In
> > > function
> > > > 'int
> ACE_OS::flock_unlock(ACE_OS::ace_flock_t*,
> > > short
> > > > int, ACE_OFF_T, A
> > > > CE_OFF_T)':
> > > > d:/cdev/ACE_wrappers/ace/OS_NS_stdio.inl:137:
> > > warning:
> > > > operation on 'ace_result_' may be undefined
> > > >
> > > >  ACE_WIN32CALL_RETURN (
> > > >    ACE_ADAPT_RETVAL (::UnlockFile
> (lock->handle_,
> > > >
> > > > lock->overlapped_.Offset,
> > > >
> > > > lock->overlapped_.OffsetHigh,
> > > >                                    low_len,
> > > >                                    high_len),
> > > >                      ace_result_), int, -1);
> > > >
> > > > Regards
> > > >
> > > > Zhang HaiBin
> > > >
> > > >
> > > > --- Johnny Willemsen <jwillemsen at remedy.nl>??:
> > > >
> > > > > Hi,
> > > > >
> > > > > Can you make unified diffs of the changes
> (diff
> > > -u).
> > > > > Also note that mingw
> > > > > with gcc 3.4 should stay supported. We have
> a
> > > MinGW
> > > > > build on the scoreboard
> > > > > at http://scoreboard.theaceorb.nl. Can you
> then
> > > > > store the patches in
> > > > > bugzilla (see
> > > > >
> http://deuce.doc.wustl.edu/bugzilla/index.cgi)
> > > for
> > > > > integration?
> > > > >
> > > > > Regards,
> > > > >
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: ace-users-bounces at cse.wustl.edu
> > > > > [mailto:ace-users-
> > > > > > bounces at cse.wustl.edu] On Behalf Of haibin
> > > zhang
> > > > > > Sent: Wednesday, January 23, 2008 4:24 AM
> > > > > > To: Douglas C. Schmidt;
> > > ace-users at cse.wustl.edu
> > > > > > Subject: Re: [ace-users] ACE-5.6.2 can't
> be
> > > > > compiled (use gcc-4.2.1) in
> > > > > > mingw in Windows XP
> > > > > >
> > > > > > The following is patches to fix the bug:
> > > > > >
> > > > > > 1. vi platform_gnuwin32_common.GNU in
> > > > > > include/makeinclude
> > > > > >
> > > > > > ifeq (3.4,$(findstring
> > > > > 3.4,$(GNUWIN32_CXX_VERSION)))
> > > > > >   MODEL_FLAGS += -mtune=$(TCPU)
> > > > > > else
> > > > > >   MODEL_FLAGS += -mcpu=$(TCPU)
> > > > > > endif
> > > > > >
> > > > > > add ifeq (4.2,$(findstring
> > > > > > 4.2,$(GNUWIN32_CXX_VERSION)))
> > > > > >
> > > > > > find -lnetapi32 , then add -lgdi32 // <--
> fix
> > > ssl
> > > > > > build bug
> > > > > >
> > > > > > 2. modify ace/config-win32.h to comment
> the
> > > > > following
> > > > > > lines
> > > > > >
> > > > > > // comment the following lines
> > > > > > //#define ACE_Proper_Export_Flag
> __declspec
> > > > > > (dllexport)
> > > > > > //#define ACE_Proper_Import_Flag
> __declspec
> > > > > > (dllimport)
> > > > > > //#define
> ACE_EXPORT_SINGLETON_DECLARATION(T)
> > > > > template
> > > > > > class __declspec (dllexport) T
> > > > > > //#define
> > > > > ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE,
> > > > > > CLASS, LOCK) template class __declspec
> > > (dllexport)
> > > > > > SINGLETON_TYPE<CLAS
> > > > > > S, LOCK>;
> > > > > > //#define
> ACE_IMPORT_SINGLETON_DECLARATION(T)
> > > > > extern
> > > > > > template class T
> > > > > > //#define
> > > > > ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE,
> > > > > > CLASS, LOCK) extern template class
> > > SINGLETON_TYPE
> > > > > > <CLASS, LOCK>;
> > > > > >
> > > > > > 3. vi ace/OS_NS_stdio.inl to fix these
> bugs:
> > > > > > d:/cdev/ACE_wrappers/ace/OS_NS_stdio.inl:
> In
> > > > > function
> > > > > > 'int
> > > ACE_OS::flock_unlock(ACE_OS::ace_flock_t*,
> > > > > short
> > > > > > int, ACE_OFF_T, A
> > > > > > CE_OFF_T)':
> > > > > >
> d:/cdev/ACE_wrappers/ace/OS_NS_stdio.inl:137:
> > > > > warning:
> > > > > > operation on 'ace_result_' may be
> undefined
> > > > > > d:/cdev/ACE_wrappers/ace/OS_NS_stdio.inl:
> In
> > > > > function
> > > > > > 'int
> > > ACE_OS::flock_rdlock(ACE_OS::ace_flock_t*,
> > > > > short
> > > > > > int, ACE_OFF_T, A
> 
=== message truncated ===



      ___________________________________________________________ 
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 
http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline



More information about the Ace-users mailing list