Hi,
Can anyone tell me if I need a file called sbrlist.txt in order for the
*.bsc file to be generated by bscmake.exe when using DDKBUILD and Visual
Studio V6?
I have tried to generate this file using both the ddkbuild.bat batch file
from OSR and Hollistech and neither will create the required *.bsc file. I
am using WinDDK version 6001.18000!
If the file is needed what should it contain?
Regards FarmerJo
Try reading the docs for the WDK. Look at
ms-help://MS.WDK.v10.6001.080104/DevTest_g/hh/DevTest_g/Build_Ref_fb8e3741-6edb-40c8-aed9-5812822eb66d.xml.htm.
Also try adding bscmake to the command line for ddkbuild.bat. I haven’t
done this in a while, but this is a good start with the two suggestions.
“FarmerJo” wrote in message news:xxxxx@ntdev…
> Hi,
>
> Can anyone tell me if I need a file called sbrlist.txt in order for the
> *.bsc file to be generated by bscmake.exe when using DDKBUILD and Visual
> Studio V6?
>
> I have tried to generate this file using both the ddkbuild.bat batch file
> from OSR and Hollistech and neither will create the required *.bsc file. I
> am using WinDDK version 6001.18000!
>
> If the file is needed what should it contain?
>
> Regards FarmerJo
>
>
In the SOURCES file put:
BROWSER_INFO=1
BROWSERFILE=
// Oliver
-------- Original-Nachricht --------
> Datum: Thu, 17 Apr 2008 20:02:14 +0100
> Von: “FarmerJo”
> An: “Windows System Software Devs Interest List”
> Betreff: [ntdev] sbrlist.txt
> Hi,
>
> Can anyone tell me if I need a file called sbrlist.txt in order for the
> *.bsc file to be generated by bscmake.exe when using DDKBUILD and Visual
> Studio V6?
>
> I have tried to generate this file using both the ddkbuild.bat batch file
> from OSR and Hollistech and neither will create the required *.bsc file. I
> am using WinDDK version 6001.18000!
>
> If the file is needed what should it contain?
>
> Regards FarmerJo
Tried this already but get the following error message from VS.
.
.
_NT_TARGET_VERSION SET TO WINXP
errors in directory d:\work\ctl\pcpprj\pcps0000
c:\winddk\6001~1.180\bin\verify.src(69) : error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
errors in directory d:\work\ctl\pcpprj\pcps0000
nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1
MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2
BUILD: Finish time: Fri Apr 18 11:37:01 2008
BUILD: Done
0 files compiled - 2 Errors
=============== build warnings ======================
c:\winddk\6001~1.180\bin\verify.src(69) : fatal error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
c:\winddk\6001~1.180\bin\verify.src(69) : error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
build complete
building browse information files
PCPS0000.exe - 3 error(s), 0 warning(s)
The contents of my SOURCES file is as follows.
TARGETNAME=pcps0000
TARGETTYPE=DRIVER
TARGETPATH=obj
BROWSER_INFO=1
SOURCES=init.c pnp.c resource.rc
I also get similar error message when I build the target using XP checked
build environment and the build.exe method!
Regards FarmerJo
You do not need it. If it exists then ddkbuild (hollistech) does the
following:
“bscmake %bscFlags% @%sbrlist%”
The point is to run a top level global bscmake for a tree of source files as
directed by sbrlist.txt. Individual build components (the ones with Sources
files) have bscmake run for them if they include
BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n in their sources file. All you have to do
to get the individual components to have bscmake run for them is to include
that line in your sources file and have bscmake.exe itself be somewhere in
your path.
On Thu, Apr 17, 2008 at 3:02 PM, FarmerJo wrote:
> Hi,
>
> Can anyone tell me if I need a file called sbrlist.txt in order for the
> *.bsc file to be generated by bscmake.exe when using DDKBUILD and Visual
> Studio V6?
>
> I have tried to generate this file using both the ddkbuild.bat batch file
> from OSR and Hollistech and neither will create the required *.bsc file. I
> am using WinDDK version 6001.18000!
>
> If the file is needed what should it contain?
>
> Regards FarmerJo
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
–
Mark Roddy
Hi,
I tried adding the suggested line into the sources file but still no joy. I am using DDK 6001.18000 and there is no mention of the BSCMAKE_FLAGS macro. I am assuming that I should see a browser file somewhere in my OBJ directory is this correct?
Thisn is what my sources file contains.
TARGETNAME=pcps0000
TARGETPATH=obj
TARGETTYPE=DRIVER
BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n
SOURCES=init.c \
pnp.c \
resource.rc
Any ideas?
Regards FarmerJo
“Mark Roddy” wrote in message news:xxxxx@ntdev…
You do not need it. If it exists then ddkbuild (hollistech) does the following:
“bscmake %bscFlags% @%sbrlist%”
The point is to run a top level global bscmake for a tree of source files as directed by sbrlist.txt. Individual build components (the ones with Sources files) have bscmake run for them if they include BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n in their sources file. All you have to do to get the individual components to have bscmake run for them is to include that line in your sources file and have bscmake.exe itself be somewhere in your path.
On Thu, Apr 17, 2008 at 3:02 PM, FarmerJo wrote:
Hi,
Can anyone tell me if I need a file called sbrlist.txt in order for the
*.bsc file to be generated by bscmake.exe when using DDKBUILD and Visual
Studio V6?
I have tried to generate this file using both the ddkbuild.bat batch file
from OSR and Hollistech and neither will create the required *.bsc file. I
am using WinDDK version 6001.18000!
If the file is needed what should it contain?
Regards FarmerJo
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
–
Mark Roddy
FarmerJo wrote:
I tried adding the suggested line into the sources file but still no
joy. I am using DDK 6001.18000 and there is no mention of the
BSCMAKE_FLAGS macro. I am assuming that I should see a browser file
somewhere in my OBJ directory is this correct?
Only if you asked for one. You can look this stuff up; you have the
full source for the build makefile in bin\makefile.new and in
bin\i386mk.inc in the DDK.
Thisn is what my sources file contains.
TARGETNAME=pcps0000
TARGETPATH=obj
TARGETTYPE=DRIVER
BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n
You can use
BROWSER_INFO=1
to have it create pcps000.bsc, or you can specify your own file with
BROWSERFILE=xxxxx.bsc
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hi,
I have already tried BROWSER_INFO=1 but it does not work and gives the
message.
c:\winddk\6001~1.180\bin\verify.src(69) : fatal error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
c:\winddk\6001~1.180\bin\verify.src(69) : error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
I can only assume that this is because version 6001.18000 of the DDK no
longer supports its. It is NOT in the documentation.
I have also tried BROWSER_FILE=abc.bsc and guess what, no warnings no errors
and no browser file.
Nothing I do appears to get build.exe to generate the browser file!
The DDK that I am using is installed to directory c:\winddk\6001\18000 which
is presumably known as the WLH (Windows Long Horn?) DDK? I am running this
on a Windows XP
professional PC with all service packs and updates etc.
I have an environmental variable setup as follows.
WLHBASE=c:\winddk\6001.18000
I am using Visual Studio V6 and I have tried so far using two different
ddkbuild.bat files.
Has anyone been able to get a browser file using this DDK and OS? If so what
is it that I am doing wrong?
Regards FarmerJo
FarmerJo wrote:
i,
I have already tried BROWSER_INFO=1 but it does not work and gives the
message.
c:\winddk\6001~1.180\bin\verify.src(69) : fatal error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
c:\winddk\6001~1.180\bin\verify.src(69) : error U1050: BLD1007 :
BROWSER_INFO defined in sources file - this is a user environment setting
(d:\work\ctl\pcpprj\pcps0000)
I can only assume that this is because version 6001.18000 of the DDK no
longer supports its. It is NOT in the documentation.
Oh, that’s right, someone mentioned that last year. Take BROWSER_INFO
out of the sources file and add it to your environment:
set BROWSER_INFO=1
build
I have also tried BROWSER_FILE=abc.bsc and guess what, no warnings no errors
and no browser file.
There is no underscore in BROWSERFILE, but it won’t even be checked
unless BROWSER_INFO is set.
I have an environmental variable setup as follows.
WLHBASE=c:\winddk\6001.18000
Just add BROWSER_INFO=1 to the environment.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hi,
I did as you said but initially I did not get any *.sbr files (or a report
from build that an attempt was made to generate them). I remember reading
that for this DDK there is also a NO_BROWSER_FILE variable that must be
unset. So to get it to work I had to do this.
set BROWSER_INFO=1
set NO_BROWSER_FILE=
build
I now have one *.sbr file for each of the source files but no *.bsc file
yet.
Any suggestions?
Regards FarmerJo
ddkbuild adds the bscmake argument to its call to setenv.bat (if appropriate
for the version of the (WD)DK.) That plus having:
- BROWSER_INFO=1 set in your environment
- the appropriate “BSCMAKE_FLAGS=$(BSCMAKE_FLAGS) -n” line in your
Sources file
- bscmake.exe in your PATH
are sufficient to produce a *.bsc file for your driver, which file will be
located somewhere like: <somedriver>\objchk_wnet_amd64\amd64
On Fri, Apr 18, 2008 at 6:55 PM, Tim Roberts wrote:
> FarmerJo wrote:
>
> > i,
> >
> > I have already tried BROWSER_INFO=1 but it does not work and gives the
> > message.
> >
> > c:\winddk\6001~1.180\bin\verify.src(69) : fatal error U1050: BLD1007 :
> > BROWSER_INFO defined in sources file - this is a user environment setting
> > (d:\work\ctl\pcpprj\pcps0000)
> > c:\winddk\6001~1.180\bin\verify.src(69) : error U1050: BLD1007 :
> > BROWSER_INFO defined in sources file - this is a user environment setting
> > (d:\work\ctl\pcpprj\pcps0000)
> >
> > I can only assume that this is because version 6001.18000 of the DDK no
> > longer supports its. It is NOT in the documentation.
> >
> >
>
> Oh, that’s right, someone mentioned that last year. Take BROWSER_INFO out
> of the sources file and add it to your environment:
>
> set BROWSER_INFO=1
> build
>
> I have also tried BROWSER_FILE=abc.bsc and guess what, no warnings no
> > errors and no browser file.
> >
> >
>
> There is no underscore in BROWSERFILE, but it won’t even be checked unless
> BROWSER_INFO is set.
>
> I have an environmental variable setup as follows.
> > WLHBASE=c:\winddk\6001.18000
> >
> >
>
> Just add BROWSER_INFO=1 to the environment.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
–
Mark Roddy
ddkbuild unsets the NO_BROWSER_FILE variable on the way out of the build. If
you have .sbr files and no .bsc file then bscmake.exe is not in your path.
On Fri, Apr 18, 2008 at 7:31 PM, FarmerJo wrote:
> Hi,
>
> I did as you said but initially I did not get any *.sbr files (or a report
> from build that an attempt was made to generate them). I remember reading
> that for this DDK there is also a NO_BROWSER_FILE variable that must be
> unset. So to get it to work I had to do this.
>
> set BROWSER_INFO=1
> set NO_BROWSER_FILE=
> build
>
> I now have one *.sbr file for each of the source files but no *.bsc file
> yet.
>
> Any suggestions?
>
> Regards FarmerJo
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
–
Mark Roddy
This gets me a little further but I still have no *.bsc file.
The log file gives the following error message.
BSCMAKE: error BK1510 : corrupt .SBR file ‘d:\work\ctl\pcpprj\pcps0000\objchk_wxp_x86\i386\init.sbr’
I find that I am not able to rebuild the target (using the -cZ) option as reported previously so I can perform a clean build by manually deleting the obj directory etc. If I do this I get the same error reported in the log file.
Regards FarmerJo
How about using a current version of bscmake.exe. osronline has Visual Studio packages at a discount. Install VS2005 or 2008 and copy bscmake.exe to the bin directory of the WDK you are using. VS6 is long dead, gone, incompatible, and unsupported.
“FarmerJo” wrote in message news:xxxxx@ntdev…
This gets me a little further but I still have no *.bsc file.
The log file gives the following error message.
BSCMAKE: error BK1510 : corrupt .SBR file ‘d:\work\ctl\pcpprj\pcps0000\objchk_wxp_x86\i386\init.sbr’
I find that I am not able to rebuild the target (using the -cZ) option as reported previously so I can perform a clean build by manually deleting the obj directory etc. If I do this I get the same error reported in the log file.
Regards FarmerJo