United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6594000 jkernel.dll build error on windows when VARIANT=DBG FASTDEBUG=true
JDK-6594000 : jkernel.dll build error on windows when VARIANT=DBG FASTDEBUG=true

Details
Type:
Bug
Submit Date:
2007-08-16
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-02-12
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u4
Fixed Versions:
6u10 (b02)

Related Reports

Sub Tasks

Description
on windows, when doing fast debug build:

   Creating library f:/kernel/tmp/sun/sun.jkernel/jkernel/obj_gO/jkernel.lib and
 object f:/kernel/tmp/sun/sun.jkernel/jkernel/obj_gO/jkernel.exp
jkernel.exp : warning LNK4070: /OUT:kernel.dll directive in .EXP differs from ou
tput filename 'f:/kernel/tmp/sun/sun.jkernel/jkernel/obj_gO/jkernel.dll'; ignori
ng directive
kernel.obj : error LNK2001: unresolved external symbol "class ATL::CComModule _M
odule" (?_Module@@3VCComModule@ATL@@A)
DownloadDialog.obj : error LNK2001: unresolved external symbol "class ATL::CComM
odule _Module" (?_Module@@3VCComModule@ATL@@A)
DownloadHelper.obj : error LNK2001: unresolved external symbol "class ATL::CComM
odule _Module" (?_Module@@3VCComModule@ATL@@A)
f:/kernel/tmp/sun/sun.jkernel/jkernel/obj_gO/jkernel.dll : fatal error LNK1120:
1 unresolved externals
gnumake: *** [f:/kernel/bin/jkernel.dll] Error 1120

                                    

Comments
EVALUATION

problem is on all jkernel.dll related cpp files, they all have:

extern CComModule _Module; 

At least one should not be extern, but a real declaration.
                                     
2007-08-16
SUGGESTED FIX

http://web-east.east/deployment/www/webrevs/ngthomas/kernel/fastdebug/webrev/
                                     
2007-08-16



Hardware and Software, Engineered to Work Together