Hi Ludovic/Volker, Thanks a lot for your help . I have build the openJDK successfully now.
Regards, Pooja On Tue, Apr 8, 2014 at 12:27 PM, Volker Simonis <volker.simo...@gmail.com>wrote: > This is a known problem with VS2010 after installing VS2012 or .NET > 4.5.1. There exist various workarounds - just google for "LINK : fatal > error LNK1123: failure during conversion to COFF: file invalid". > > The easiest and fastes solution is to remove the bad version of > "cvtres.exe" which is causing the problem as explained in the second answer > at the stackowerflow question > http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval > > Regards, > Volker > > > On Monday, April 7, 2014, pooja chopra <poojachopra....@gmail.com> wrote: > >> Hi Magnus, >> >> After doing " make clean " and then doing " make " I am getting same >> error:- >> >> jvm.obj : warning LNK4197: export 'JVM_GetThreadStateNames' specified >> multiple times; using first specification >> Creating library jvm.lib and object jvm.exp >> LINK : fatal error LNK1123: failure during conversion to COFF: file >> invalid >> or corrupt >> NMAKE : fatal error U1077: 'C:\progra~2\micros~2.0\vc\bin\amd64\link.exe' >> : >> return code '0x463' >> Stop. >> NMAKE : fatal error U1077: 'cd' : return code '0x2' >> Stop. >> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual >> Studio >> 10.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2' >> Stop. >> Makefile:228: recipe for target 'generic_build2' failed >> make[3]: *** [generic_build2] Error 2 >> Makefile:175: recipe for target 'product' failed >> make[2]: *** [product] Error 2 >> HotspotWrapper.gmk:44: recipe for target >> >> '/cygdrive/e/MyOpenJDK/dev/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp' >> failed >> make[1]: *** >> >> [/cygdrive/e/MyOpenJDK/dev/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp] >> Error 2 >> /cygdrive/e/MyOpenJDK/dev//make/Main.gmk:109: recipe for target >> 'hotspot-only' failed >> make: *** [hotspot-only] Error 2 >> >> >> Please help me to resolve it . >> >> Regards, >> Pooja >> >> >> On Mon, Apr 7, 2014 at 2:09 PM, Magnus Ihse Bursie < >> magnus.ihse.bur...@oracle.com> wrote: >> >> > I recommend you try "make clean" first. >> > >> > /Magnus >> > >> > > On 7 apr 2014, at 07:44, pooja chopra <poojachopra....@gmail.com> >> wrote: >> > > >> > > Hi Ludovic , >> > > >> > > Thanks for your help . I followed your steps mentioned in the blog and >> > was >> > > able to configure. After giving make command I am getting this error >> as >> > > below :- >> > > >> > > jvm.obj : warning LNK4197: export 'JVM_GetThreadStateNames' specified >> > > multiple times; using first specification >> > > Creating library jvm.lib and object jvm.exp >> > > LINK : fatal error LNK1123: failure during conversion to COFF: file >> > invalid >> > > or corrupt >> > > NMAKE : fatal error U1077: >> > 'C:\progra~2\micros~2.0\vc\bin\amd64\link.exe' : >> > > return code '0x463' >> > > Stop. >> > > NMAKE : fatal error U1077: 'cd' : return code '0x2' >> > > Stop. >> > > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual >> > Studio >> > > 10.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2' >> > > Stop. >> > > Makefile:228: recipe for target 'generic_build2' failed >> > > make[3]: *** [generic_build2] Error 2 >> > > Makefile:175: recipe for target 'product' failed >> > > make[2]: *** [product] Error 2 >> > > HotspotWrapper.gmk:44: recipe for target >> > > >> > >> '/cygdrive/e/MyOpenJDK/dev/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp' >> > > failed >> > > make[1]: *** >> > > >> > >> [/cygdrive/e/MyOpenJDK/dev/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp] >> > > Error 2 >> > > /cygdrive/e/MyOpenJDK/dev//make/Main.gmk:109: recipe for target >> > > 'hotspot-only' failed >> > > >> > > Please help me to resolve this . >> > > >> > > Regards, >> > > Pooja >> > > >> > > >> > >> On Fri, Apr 4, 2014 at 1:47 AM, Ludovic HOCHET <lhoc...@gmail.com> >> > wrote: >> > >> >> > >> Hello Pooja, >> > >> Have you tried with just: >> > >> --with-freetype=/cygdrive/e/PoojaJDK8/freetype-2.4.7/freetype-2.4.7 >> > >> (additionally I think my trial and error got me to put the dll in >> > >> /cygdrive/e/PoojaJDK8/freetype-2.4.7/freetype-2.4.7/lib) >> > >> ? >> > >> >> > >> For ref, here are the steps I follow when building own: >> > >> http://lhochet.blogspot.fr/2013/01/building-java-8-on-windows.html >> > >> >> > >> HTH, >> > >> Ludovic >> > >> >> > >> >> > >> On Thu, Apr 3, 2014 at 9:02 PM, pooja chopra < >> poojachopra....@gmail.com >> > > >> > >> wrote: >> > >>> Hi Tim, >> > >>> Yeah I have cygwin and I tried with the cygwin command you told as >> > below >> > >>> but again I got same error :- >> > >>> >> > >>> $ ./configure >> > >>> --with-freetype-lib=/cygdrive/e/PoojaJDK8/freetype-2.4.7/freetype >> > >>> -2.4.7/objs/win64/vc2010 >> > >>> --with-freetype-include=/cygdrive/e/PoojaJDK8/freetype >> > >>> -2.4.7/freetype-2.4.7/include/freetype >> > >>> >> > >>> Error:- >> > >>> checking what is not needed on Windows?... alsa cups pulse x11 >> > >>> checking for Mac OS X Java Framework... no >> > >>> checking for X... no >> > >>> checking for X11/extensions/shape.h... no >> > >>> configure: error: Can not find or use freetype at location given by >> > >>> --with-freet >> > >>> ype >> > >>> configure exiting with result code 1 >> > >>> >> > >>> Regards, >> > >>> Pooja >> > >>> >> > >>> On Fri, Apr 4, 2014 at 12:30 AM, pooja chopra < >> > > >