Build problem (Windows, b24)

Kelly O'Hair Kelly.Ohair at Sun.COM
Mon Dec 17 22:17:06 UTC 2007


linker_md.c is part of the jdk build not hotspot, in the jdk/make 'hpi' area.

-kto


Ted Neward wrote:
> Ah, sorry; no, I just did "make fastdebug_build" and cut&paste from the
> console output. (Suggestion: capturing that as part of the make process,
> like the sanityCheck files, would be helpful!)
> 
> I did it again, though, and I can't spot where linker_md.c is ever
> built--something seems fishy. I'm trying a build in hotspot by itself to see
> if that generates the same error, or something different.
> 
> Ted Neward
> Java, .NET, XML Services
> Consulting, Teaching, Speaking, Writing
> http://www.tedneward.com
>  
> 
>> -----Original Message-----
>> From: Kelly.Ohair at Sun.COM [mailto:Kelly.Ohair at Sun.COM]
>> Sent: Monday, December 17, 2007 8:58 AM
>> To: Ted Neward
>> Cc: 'build-dev'
>> Subject: Re: Build problem (Windows, b24)
>>
>> When I said log file, I meant your log file, I assumed that you had
>> done something like
>>     make |& tee build.log        or make >& build.log
>>
>>
>> -kto
>>
>> Ted Neward wrote:
>>> Good question--where is said log file, again? :-)
>>>
>>> Ted Neward
>>> Java, .NET, XML Services
>>> Consulting, Teaching, Speaking, Writing
>>> http://www.tedneward.com
>>>
>>>
>>>> -----Original Message-----
>>>> From: Kelly.Ohair at Sun.COM [mailto:Kelly.Ohair at Sun.COM]
>>>> Sent: Sunday, December 16, 2007 12:38 PM
>>>> To: Ted Neward
>>>> Cc: 'build-dev'
>>>> Subject: Re: Build problem (Windows, b24)
>>>>
>>>> Some guesses...  Try setting COMPANY_NAME to something other than
>>>> empty,
>>>> although that makes little sense because anyone building with
>>>> OPENJDK=true
>>>> would have an empty company name (jdk/make/common/shared/Defs.gmk).
>>>> Humm... but that warning about STR is just a warning...
>>>>
>>>> That fatal error is about missing the file linker_md.obj...
>>>>
>>>> Was there an earlier problem in the log file around where
>> linker_md.c
>>>> was compiled?
>>>>
>>>> -kto
>>>>
>>>> Ted Neward wrote:
>>>>> Build fails with the following:
>>>>>
>>>>>
>>>>>
>>>>>  >>>Recursively making windows all @ Sat Dec 15 08:27:29 PST 2007
>> ...
>>>>> make[6]: Entering directory
>>>>> `/cygdrive/c/Prg/OpenJDK.HG/jdk7/jdk/make/java/hpi/w
>>>>>
>>>>> indows'
>>>>>
>>>>> /usr/bin/mkdir -p c:/Prg/OpenJDK.HG/jdk7/build/WINDOW~2/lib
>>>>>
>>>>> /usr/bin/mkdir -p c:/Prg/OpenJDK.HG/jdk7/build/WINDOW~2/bin
>>>>>
>>>>> /usr/bin/mkdir -p c:/Prg/OpenJDK.HG/jdk7/build/WINDOW~2/lib/ext
>>>>>
>>>>> C:/Prg/MSVS2003/Common7/Tools/../../Vc7/Bin/rc /l 0x409 /r  -d
>>>>> "J2SE_BUILD_ID=1.
>>>>>
>>>>> 7.0-internal-fastdebug-Ted_15_dec_2007_07_40-b00" -d
>> "J2SE_COMPANY="
>>>> -d
>>>>> "J2SE_CO
>>>>>
>>>>> MPONENT=OpenJDK Platform SE binary" -d "J2SE_VER=7.0.0.0" -d
>>>>> "J2SE_COPYRIGHT=Cop
>>>>>
>>>>> yright \xA9 2007" -d "J2SE_NAME=OpenJDK Platform SE 7 " -d
>>>>> "J2SE_FVER=7,0,0,0" /
>>>>>
>>>>> D "J2SE_FNAME=hpi.dll" /D "J2SE_INTERNAL_NAME=hpi" /D
>>>> "J2SE_FTYPE=0x2L"
>>>>> -Foc:/Pr
>>>>>
>>>>>
>> g/OpenJDK.HG/jdk7/build/WINDOW~2/tmp/java/hpi/windows_threads/obj_gO/hp
>>>> i.res
>>>>> c:/
>>>>>
>>>>> Prg/OpenJDK.HG/jdk7/jdk/src/windows/resource/version.rc
>>>>>
>>>>> c:/Prg/OpenJDK.HG/jdk7/jdk/src/windows/resource/version.rc(58) :
>>>> warning
>>>>> RC4003:
>>>>>
>>>>>  not enough actual parameters for macro 'STR'
>>>>>
>>>>> make[6]: *** No rule to make target
>>>>> `c:/Prg/OpenJDK.HG/jdk7/build/WINDOW~2/tmp/j
>>>>>
>>>>> ava/hpi/windows_threads/obj_gO/linker_md.obj', needed by
>>>>> `c:/Prg/OpenJDK.HG/jdk7
>>>>>
>>>>>
>> /build/WINDOW~2/tmp/java/hpi/windows_threads/obj_gO/.files_compiled'.
>>>> Stop.
>>>>> make[6]: Leaving directory
>>>>> `/cygdrive/c/Prg/OpenJDK.HG/jdk7/jdk/make/java/hpi/wi
>>>>>
>>>>> ndows'
>>>>>
>>>>> make[5]: *** [all] Error 1
>>>>>
>>>>> make[5]: Leaving directory
>>>>> `/cygdrive/c/Prg/OpenJDK.HG/jdk7/jdk/make/java/hpi'
>>>>>
>>>>> make[4]: *** [all] Error 1
>>>>>
>>>>> make[4]: Leaving directory
>>>> `/cygdrive/c/Prg/OpenJDK.HG/jdk7/jdk/make/java'
>>>>> make[3]: *** [all] Error 1
>>>>>
>>>>> make[3]: Leaving directory
>> `/cygdrive/c/Prg/OpenJDK.HG/jdk7/jdk/make'
>>>>> make[2]: *** [jdk-build] Error 2
>>>>>
>>>>> make[2]: Leaving directory `/cygdrive/c/Prg/OpenJDK.HG/jdk7'
>>>>>
>>>>> make[1]: *** [generic_debug_build] Error 2
>>>>>
>>>>> make[1]: Leaving directory `/cygdrive/c/Prg/OpenJDK.HG/jdk7'
>>>>>
>>>>> make: *** [fastdebug_build] Error 2
>>>>>
>>>>>
>>>>>
>>>>> (Right there in the middle: make[6].) Looks like a missing .obj
>>>> somehow…?
>>>>>
>>>>> Is this a local-environment thing, a build bug, or…?
>>>>>
>>>>>
>>>>>
>>>>> Ted Neward
>>>>>
>>>>> Java, .NET, XML Services
>>>>>
>>>>> Consulting, Teaching, Speaking, Writing
>>>>>
>>>>> http://www.tedneward.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> No virus found in this outgoing message.
>>>>> Checked by AVG Free Edition.
>>>>> Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date:
>>>>> 12/15/2007 12:00 PM
>>>>>
>>>> No virus found in this incoming message.
>>>> Checked by AVG Free Edition.
>>>> Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date:
>>>> 12/15/2007 12:00 PM
>>>>
>>> No virus found in this outgoing message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date:
>> 12/15/2007
>>> 12:00 PM
>>>
>>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date:
>> 12/15/2007 12:00 PM
>>
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date: 12/15/2007
> 12:00 PM
>  
> 



More information about the build-dev mailing list