Re: LNK1218 error
- From: Ale <Ale@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Oct 2005 03:19:02 -0700
Ok David, you'r right!!
I'm using Windows Server 2003 SP1 DDK, I'm compiling driver for Windows XP
using appropriate enviroment. I bought IFS a month ago from Micorosft...
Sources follow...
Thnaks
Ale
[sources] ---------------------------------------------------
!include sources.inc
!IF $(MONOLITHIC_MINIRDR)
TARGETLIBS= $(TARGETLIBS) \
$(DDK_LIB_PATH)\rxce.lib \
$(DDK_LIB_PATH)\copysup.lib
!ENDIF
SOURCES= $(MOST_SOURCES) \
bwbmrx.rc
[sources.inc] ------------------------------------------------
!INCLUDE .\master.src
TARGETNAME=bwbmrx
TARGETPATH=obj
TARGETTYPE=EXPORT_DRIVER
SYNCHRONIZE_DRAIN=1
INCLUDES=$(INCLUDES); \
$(IFSKIT_INC_PATH);
TARGETLIBS=$(DDK_LIB_PATH)\ksecdd.lib \
$(DDK_LIB_PATH)\rdbsslib.lib
#NTLAYGO=1
MSC_WARNING_LEVEL=/W3 /WX
C_DEFINES= $(C_DEFINES) -DEXPLODE_POOLTAGS
!IF $(MONOLITHIC_MINIRDR)
C_DEFINES=$(C_DEFINES) -DMONOLITHIC_MINIRDR
!ENDIF
MOST_SOURCES= \
devfcb.c \
fileinfo.c \
init.c \
locks.c \
netroot.c \
ea.c \
devctrl.c \
notimpl.c \
openclos.c \
read.c \
rename.c \
srvcall.c \
write.c \
downlvli.c \
string.c \
global.c \
queue.c
PRECOMPILED_INCLUDE=precomp.h
PRECOMPILED_PCH=precomp.pch
PRECOMPILED_OBJ=precomp.obj
DLLDEF=$(_OBJ_DIR)\*\bwbmrx.def
[makefile] ----------------------------------------------------
!INCLUDE $(NTMAKEENV)\makefile.def
[master.src] --------------------------------------------------
MONOLITHIC_MINIRDR=1
-----------------------------------------------------------------
Thanks
"David J. Craig" wrote:
> Use the current version. It is Server 2003 SP1. Also post your sources,
> makefile, and makefile.inc if you want help.
>
> "Ale" <Ale@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:E6FA2512-F745-4DB4-B482-CB152D11CF45@xxxxxxxxxxxxxxxx
> > While linking my IFS driver the linker reports this error:
> >
> > Building Library - objchk_wxp_x86\i386\bwbmrx.lib for i386
> > errors in directory d:\bwbnt\bwbmrx
> > LIB : error LNK1218: warning treated as error; no output file generated
> > BUILD: Linking d:\bwbnt\bwbmrx directory
> > Building Library - objchk_wxp_x86\i386\bwbmrx.lib for i386
> > LIB : error LNK1218: warning treated as error; no output file generated
> > Linking Executable - objchk_wxp_x86\i386\bwbmrx.sys for i386
> > LINK : error LNK1181: cannot open input file
> > 'objchk_wxp_x86\i386\bwbmrx.exp'
> > BUILD: Done
> >
> > 21 files compiled
> > 2 libraries built - 2 Warnings - 2 Errors
> > 1 executable built - 1 Error
> >
> > I'm compiling my driver using IFS KIT for XP, it didn't hppen on older IFS
> > KIT for Windows 2000
> >
> > Thanks
> > Ale
> >
>
>
>
.
- Follow-Ups:
- Re: LNK1218 error
- From: Radu Cosoveanu
- Re: LNK1218 error
- References:
- Re: LNK1218 error
- From: David J. Craig
- Re: LNK1218 error
- Prev by Date: EDID Data
- Next by Date: RE: LNK1218 error
- Previous by thread: Re: LNK1218 error
- Next by thread: Re: LNK1218 error
- Index(es):
Relevant Pages
|