JDK-6594000 : jkernel.dll build error on windows when VARIANT=DBG FASTDEBUG=true
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-08-16
  • Updated: 2010-09-08
  • Resolved: 2008-02-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10 b02Fixed
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
SUGGESTED FIX http://web-east.east/deployment/www/webrevs/ngthomas/kernel/fastdebug/webrev/
16-08-2007

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.
16-08-2007