United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6644659 : Error in default target of make/javax/crypto in OpenJDK build

Details
Type:
Bug
Submit Date:
2007-12-21
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
security-libs
OS:
generic
Sub-Component:
javax.crypto
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
When building with OPENJDK=true, running 'gnumake' in make/javax/crypto causes an error:

===
>gnumake
>>>Making images @ Thu Dec 20 18:32:47 PST 2007 ...
gnumake: *** No rule to make target `sanity-images', needed by `images'.  Stop.
===

That seems to be because in some of the #ifdef branches the default target is not defined correctly.

This problem does not affect the ability to do a full build of the JDK in OpenJDK mode because when the make/javax Makefile enters the crypto subdirectory it executes the 'all' and 'build' targets and does not rely on the default target.

                                    

Comments
WORK AROUND

Run 'gnumake all' instead.
                                     
2007-12-21
EVALUATION

Shouldn't be including Release.gmk until after the first rule.  This is pulled in from Defs-jce.gmk, so move the "include Defs-jce.gmk" to after the "all" target, and things work fine.
                                     
2008-01-05



Hardware and Software, Engineered to Work Together