[6319] in java-interest

home help back first fref pref prev next nref lref last post

Problems compiling JDK 1.0 Sources under NT

daemon@ATHENA.MIT.EDU (Antony Courtney)
Thu Mar 28 20:06:26 1996

Date:         Mon, 18 Mar 1996 16:20:51 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Antony Courtney <antony@APOCALYPSE.ORG>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

I recently obtained tha Java sources and encountered a problem trying
to build the sources under Windows NT.  I am using the latest versions
of both NT and MSVC (3.51 and 4.0, respectively).

The build goes fine at the beginning, but I run into trouble linking
the DLL.  For some inexplicable reason, the linker thinks that the DLL
output file is also one of its input files.

Here is an edited transcript which illustrates the problem:

D:\javasrc\build\win32> nmake

Microsoft (R) Program Maintenance Utility   Version 1.60.5270
Copyright (c) Microsoft Corp 1988-1995.  All rights reserved.

        cd java
        nmake -nologo   RELEASE=internal_build
        cd java
        nmake -nologo   RELEASE=internal_build
        link -dll -out:javai.dll -nologo -map   @javai.lcf  @..\..\..\..\build\win32\java\java\exports.lcf advapi32.lib
LINK : fatal error LNK1149: output filename matches input filename "D:\javasrc\build\win32\java\java\javai.dll"
NMAKE : fatal error U1077: 'link' : return code '0x2d'
NMAKE : fatal error U1077: 'C:\MSDEV\BIN\NMAKE.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\MSDEV\BIN\NMAKE.EXE' : return code '0x2'
Stop.
- ----end of transcript.

Any help or suggestions would be greatly appreciated.

        -Antony Courtney
        Eclipse Technical Group, Inc.
        <antony@apocalypse.org>

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post