harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: [build]trouble in building classlib
Date Wed, 28 Mar 2007 08:58:25 GMT
make sure you start with Visual Studio .NET 2003 Command Prompt.
Otherwise the build env may not be set up correctly : )


On 3/28/07, Estelle Liu <lyy1105@gmail.com> wrote:
> Thank you.
> the environment is :
> windows xp professional 2002 Service Pack 2 and Microsoft Visual Studio .NET
> 2003 version7.1.3091, .NET Framework1.1
>
>
>
> 2007/3/28, Alexei Zakharov <alexei.zakharov@gmail.com>:
> >
> > Hi Estelle,
> >
> > Seems MSVC failed to compile AWT natives. Can you tell more about your
> > environment - the version of Windows and MS Visual Studio and etc?
> >
> > Regards,
> >
> > 2007/3/28, Estelle Liu <lyy1105@gmail.com>:
> > > hi,all
> > > I fetch the latest version and build.Error happens when ant classlib.
> > >
> > > A fragment of report was:
> > >
> > > [exec] GDIBlitter.obj : error LNK2019: unkown extern sign "struct HRGN__
> > *
> > > __cdecl setGdiClip(struct JNIEnv_External *,struct HDC__ *,struct
> > _jobject
> > > *,int)" (
> > > ?setGdiClip@@YAPAUHRGN__@@PAUJNIEnv_External@@PAUHDC__@@PAU_jobject@@H@Z
> > )
> > > ´╝îit is referred by "void __stdcall
> > > Java_org_apache_harmony_awt_gl_windows_GDIBlitter_bltBGImage(struct
> > > JNIEnv_External *,struct _jobject *,int,int,__int64,struct _jobject
> > > *,int,int,__int64,int,int,int,int,float,struct _jobject *,struct
> > _jobject
> > > *,int,unsigned char)" (
> > >
> > ?Java_org_apache_harmony_awt_gl_windows_GDIBlitter_bltBGImage@@YGXPAUJNIEnv_External@@PAU_jobject@@
> > HH_J1HH2HHHHM11HE@Z
> > > )
> > >      [exec] ..\gl.dll : fatal error LNK1120: 1 unkown extern command
> > >      [exec] NMAKE : fatal error U1077: "link" : return code"0x460"
> > >      [exec] Stop.
> > > BUILD FAILED
> > > D:\workspace\parallel\harmony\working_classlib\build.xml:146: The
> > following
> > > error occurred while executing this line:
> > > D:\workspace\parallel\harmony\working_classlib\make\build-native.xml:76:
> > The
> > > following error occurred while executing this line:
> > >
> > D:\workspace\parallel\harmony\working_classlib\modules\awt\build.xml:160:
> > > The following error occurred while executing this line:
> > > D:\workspace\parallel\harmony\working_classlib\make\properties.xml:393:
> > exec
> > > returned: 2
> > >
> > > Total time: 3 minutes 28 seconds
> > > Could anyone know the reason? And the same happens when building the
> > version
> > > 521998.
> > > Thanks!
> > > --
> > > Estelle
> >
> >
> > --
> > Alexei Zakharov,
> > Intel ESSD
> >
>
>
>
> --
> Estelle
>


-- 
Tony Wu
China Software Development Lab, IBM

Mime
View raw message