Prev: Error Code 52 On Signed 64-Bit Kernel Driver - More Signing Needed
Next: IPrintOemUni2 And IPrintOemUi2
From: Tim Roberts on 20 Mar 2010 21:32 RamenWarrior <RamenWarrior(a)nospam.nospam> wrote: >> >> I dropped a character when I typed that error message. The line number is 453. >> >> The sources file is about 300 lines and I don't know if it is appropriate to >> upload all of it here. > >I took a closer look at the error and noticed that the path is relative to >the root directory and not the directory of the files being built. The >sources file is built from other component files and I tried examining the >one where the error is first reported. Here is some of the basic information >it uses to create the path for building components: > >TARGETNAME=lldriver >TARGETTYPE=LIBRARY >TARGETPATH=obj > >ROOT_BASE=..\.. >MAKE_BASE=$(ROOT_BASE)\myDriver\drivers\windows\stor\makespc >!INCLUDE $(MAKE_BASE)\common.inc > >C_DEFINES= $(C_DEF_PLATFORM) $(C_DEFINES_1) $(C_DEFINES_2) $(C_DEFINES_3) >$(AG_BUILD_SETTING) $(TRACE_ENABLE) $(DRIVER_REVB_MSGU) > >!Message TargetPath=$(TARGETPATH) >!Message TargetLibs=$(TARGETLIBS) >!Message Building Target Name = $(TARGETNAME) >!Message Platform Option = $(C_DEF_PLATFORM) > >SOURCES= file1.c \ > file2.c \ > file3.c \ > file4.c \ > file5.c So you have an extensive framework surrounding the standard "build" system. Are you actually calling the "setenv.bat" file in the DDK? Line 453 of makefile.new is this: ! include $(OBJ_PATH)\$O\_objects.mac OBJ_PATH is the directory containing the "sources" file, unless you have unusual settings. O comes from BUILD_ALT_DIR, and is something like obkchk_wxp_x86\i386. OBJ_PATH and O are both constructed in makefile.plt and used in makefile.new. You should be able to find the setting that's causing the problem. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc. |