[pso] intrebare nmake/makefile

Liviu Esanu liviu_esanu at yahoo.com
Sat Aug 6 22:25:48 EEST 2011


Salut,

Incerc sa compilez un modul de kernel si nmake imi da urmatoarea eroare:


C:\cygwin\home\Administrator\so2>nmake

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

        del C:\WinDDK\7600.16385.0\build.dat
Could Not Find C:\WinDDK\7600.16385.0\build.dat
        pushd . & C:\WinDDK\7600.16385.0\bin\setenv.bat C:\WinDDK\7600.16385.0 chk wnet & @echo on & popd & build -cZ
OACR monitor running already
path contains nonexistant c:\cygwin\usr\bin, removing
BUILD: Compile and Link for x86
BUILD: Start time: Sat Aug 06 22:10:42 2011
BUILD: Examining c:\cygwin\home\administrator\so2 directory for files to compile.
    c:\cygwin\home\administrator\so2 Invalidating OACR warning log for 'root:x86chk'
BUILD: Compiling and Linking c:\cygwin\home\administrator\so2 directory
Configuring OACR for 'root:x86chk' - <OACR on>
1>errors in directory c:\cygwin\home\administrator\so2
1>c:\winddk\7600.16385.0\bin\makefile.new(912) : error U1080: operator and/or operand usage illegal
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKE
DIR_RELATIVE_TO_BASEDIR= failed - rc = 2

BUILD: Finish time: Sat Aug 06 22:10:42 2011
BUILD: Done

    0 files compiled - 1 Warning - 2 Errors
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.


Masina virtuala e cea de pe site (proaspat downloadata , nu am modificat nimic pe ea) si makefile - ul e tot de pe site (laborator 2):

!ifdef NTMAKEENV
!include $(NTMAKEENV)\makefile.def
!else

DDK=C:\WinDDK\7600.16385.0
kbuild: 
    -del $(DDK)\build.dat  
    pushd . & $(DDK)\bin\setenv.bat $(DDK) chk wnet & @echo on & popd & build -cZ

!endif

clean:
    -rd /s /q objchk_wnet_x86
    -del /s /q buildchk_wnet_x86.log buildchk_wnet_x86.err


Am incercat nmake pe mai multe module , la toate da aceeasi eroare , deci e ceva ce tine de masina virtuala/makefile/sources(tot din laborator 2).

Vreo idee de ce se intampla asa ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20110806/56707efd/attachment.htm>


More information about the pso mailing list