You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Estelle Liu <ly...@gmail.com> on 2007/03/28 09:11:28 UTC

[build]trouble in building classlib

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

Re: [build]trouble in building classlib

Posted by Tony Wu <wu...@gmail.com>.
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 <ly...@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 <al...@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 <ly...@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

Re: [build]trouble in building classlib

Posted by Estelle Liu <ly...@gmail.com>.
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 <al...@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 <ly...@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

Re: [build]trouble in building classlib

Posted by Alexei Zakharov <al...@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 <ly...@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

Re: [build]trouble in building classlib

Posted by Tim Ellison <t....@gmail.com>.
Isn't that checked from the build scripts (i.e. when copied during
dependency fetching)?

Regards,
Tim

Alexey Petrenko wrote:
> ok, great! :)
> 
> SY, Alexey
> 
> 2007/3/29, Estelle Liu <ly...@gmail.com>:
>> Hi,Alexey,
>> I have fixed the error that may be caused by missing copying
>> msvcr71.dllfrom .NET2003 :-(
>> Thank you very much for your attention  ^_^
>>
>>
>> 2007/3/29, Alexey Petrenko <al...@gmail.com>:
>> >
>> > 2007/3/28, Estelle Liu <ly...@gmail.com>:
>> > > Hi,Tony,Xiao-Feng,
>> > > I used to build old version last year in the same environment and
>> that
>> > works
>> > > without error!
>> > As far as I remeber AWT module was contributed less then year ago... :)
>> >
>> > Could you please run ant from the Visual Studio .NET 2003 Command
>> Prompt.
>> > and attach the full error log?
>> >
>> > SY, Alexey
>> >
>> > > Now I also build the latest in command lines.
>> > > I search for setGdiClip function, and four fit. Except one in
>> > > comments,they are in GDIBlitter.cpp,  WinThemeGraphics.cpp  and
>> > gl_GDIPlus.h
>> > > respectively. And it is defined in  WinThemeGraphics.cpp.
>> > > I wonder why it can not be analyzed.
>> > >
>> > >
>> > > 2007/3/28, Xiao-Feng Li <xi...@gmail.com>:
>> > > >
>> > > > can you find this setGdiClip function somewhere?
>> > > >
>> > > > On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
>> > > > > 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
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Estelle
>> > >
>> >
>>
>>
>>
>> -- 
>> Estelle
>>

Re: [build]trouble in building classlib

Posted by Alexey Petrenko <al...@gmail.com>.
ok, great! :)

SY, Alexey

2007/3/29, Estelle Liu <ly...@gmail.com>:
> Hi,Alexey,
> I have fixed the error that may be caused by missing copying
> msvcr71.dllfrom .NET2003 :-(
> Thank you very much for your attention  ^_^
>
>
> 2007/3/29, Alexey Petrenko <al...@gmail.com>:
> >
> > 2007/3/28, Estelle Liu <ly...@gmail.com>:
> > > Hi,Tony,Xiao-Feng,
> > > I used to build old version last year in the same environment and that
> > works
> > > without error!
> > As far as I remeber AWT module was contributed less then year ago... :)
> >
> > Could you please run ant from the Visual Studio .NET 2003 Command Prompt.
> > and attach the full error log?
> >
> > SY, Alexey
> >
> > > Now I also build the latest in command lines.
> > > I search for setGdiClip function, and four fit. Except one in
> > > comments,they are in GDIBlitter.cpp,  WinThemeGraphics.cpp  and
> > gl_GDIPlus.h
> > > respectively. And it is defined in  WinThemeGraphics.cpp.
> > > I wonder why it can not be analyzed.
> > >
> > >
> > > 2007/3/28, Xiao-Feng Li <xi...@gmail.com>:
> > > >
> > > > can you find this setGdiClip function somewhere?
> > > >
> > > > On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
> > > > > 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
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Estelle
> > >
> >
>
>
>
> --
> Estelle
>

Re: [build]trouble in building classlib

Posted by Estelle Liu <ly...@gmail.com>.
Hi,Alexey,
I have fixed the error that may be caused by missing copying
msvcr71.dllfrom .NET2003 :-(
Thank you very much for your attention  ^_^


2007/3/29, Alexey Petrenko <al...@gmail.com>:
>
> 2007/3/28, Estelle Liu <ly...@gmail.com>:
> > Hi,Tony,Xiao-Feng,
> > I used to build old version last year in the same environment and that
> works
> > without error!
> As far as I remeber AWT module was contributed less then year ago... :)
>
> Could you please run ant from the Visual Studio .NET 2003 Command Prompt.
> and attach the full error log?
>
> SY, Alexey
>
> > Now I also build the latest in command lines.
> > I search for setGdiClip function, and four fit. Except one in
> > comments,they are in GDIBlitter.cpp,  WinThemeGraphics.cpp  and
> gl_GDIPlus.h
> > respectively. And it is defined in  WinThemeGraphics.cpp.
> > I wonder why it can not be analyzed.
> >
> >
> > 2007/3/28, Xiao-Feng Li <xi...@gmail.com>:
> > >
> > > can you find this setGdiClip function somewhere?
> > >
> > > On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
> > > > 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
> > > >
> > >
> >
> >
> >
> > --
> > Estelle
> >
>



-- 
Estelle

Re: [build]trouble in building classlib

Posted by Alexey Petrenko <al...@gmail.com>.
2007/3/28, Estelle Liu <ly...@gmail.com>:
> Hi,Tony,Xiao-Feng,
> I used to build old version last year in the same environment and that works
> without error!
As far as I remeber AWT module was contributed less then year ago... :)

Could you please run ant from the Visual Studio .NET 2003 Command Prompt.
and attach the full error log?

SY, Alexey

> Now I also build the latest in command lines.
> I search for setGdiClip function, and four fit. Except one in
> comments,they are in GDIBlitter.cpp,  WinThemeGraphics.cpp  and gl_GDIPlus.h
> respectively. And it is defined in  WinThemeGraphics.cpp.
> I wonder why it can not be analyzed.
>
>
> 2007/3/28, Xiao-Feng Li <xi...@gmail.com>:
> >
> > can you find this setGdiClip function somewhere?
> >
> > On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
> > > 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
> > >
> >
>
>
>
> --
> Estelle
>

Re: [build]trouble in building classlib

Posted by Estelle Liu <ly...@gmail.com>.
Hi,Tony,Xiao-Feng,
I used to build old version last year in the same environment and that works
without error! Now I also build the latest in command lines.
I search for setGdiClip function, and four fit. Except one in
comments,they are in GDIBlitter.cpp,  WinThemeGraphics.cpp  and gl_GDIPlus.h
respectively. And it is defined in  WinThemeGraphics.cpp.
I wonder why it can not be analyzed.


2007/3/28, Xiao-Feng Li <xi...@gmail.com>:
>
> can you find this setGdiClip function somewhere?
>
> On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
> > 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
> >
>



-- 
Estelle

Re: [build]trouble in building classlib

Posted by Xiao-Feng Li <xi...@gmail.com>.
can you find this setGdiClip function somewhere?

On 3/28/07, Estelle Liu <ly...@gmail.com> wrote:
> 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
>