• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Petr

Compiling drivers for Windows98

7 posts in this topic

Does anybody have experience with the build environment for 98DDK?

I just took fresh Windows 98 SE + IE6.0SP1 + SESP21A, installed Visual Studio 6.0 (complte), installed Service Pack 6 for Visual studio 6.0, installed DDK for Windows 98 completely - and if I open the "Free build environment", after some time I receive the following result:

60 files compiled - 15 Errors -	 0 LPS
35 executables built - 9 Warnings - 23 Errors

(I tried to install everything on Windows XP SP2 too - and the result was exactly the same)

There are also many errors like

NMAKE :  U1081: '\bin\cl' : program not found
NMAKE : U1081: '\bin\cl' : program not found

- but it is here: "c:\Program Files\Microsoft Visual Studio\VC98\Bin\CL.EXE"

I never did any anything with Visual Studio so it must be some beginner mistake, is anybody able to give me a hint?

How to compile the umss sample?

Regards,

Petr

And finally:

2939 files compiled - 28 Warnings - 37 Errors -   959 LPS
18 libraries built - 5 Warnings
91 executables built - 17 Warnings - 3 Errors

And umss:

C:\98DDK\src\umss>build
BUILD: Compile and Link for i386
BUILD: Computing Include file dependencies:
BUILD: c:\progra~1\micros~1\vc98\include\exdisp.odl(31): c:\progra~1\micros~1\vc98\include\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: c:\progra~1\micros~1\vc98\include\vidsvr.odl(16): c:\progra~1\micros~1\vc98\include\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: Unable to save the dependency database: \nt\build.dat
BUILD: Done

Too late I read:

Note that Visual C++ 6.0 is not supported for any of the samples.
Edited by Petr
0

Share this post


Link to post
Share on other sites
Too late I read:
Note that Visual C++ 6.0 is not supported for any of the samples.
It should still work... I mean, C++ is C++... what they probably meant was that you can't use their automated build scripts.
0

Share this post


Link to post
Share on other sites

I'll suggest:

1) Install VC into directory with short name. (ms build tools still have problems with them)

2) Add executable file directories to PATH.

0

Share this post


Link to post
Share on other sites
I'll suggest:

1) Install VC into directory with short name. (ms build tools still have problems with them)

2) Add executable file directories to PATH.

It was installed there by the VS6 installler, I don't remember if there was the possibility to place them to different directory but probably not.

It seems I have to locate Visual Studio 97 (VC++ 5.0) somewhere, I have chcecked all my MSDN CD-ROMs an downloads but I have not found it, maybe it is hidden somewhere like version 1.52 in 16-bit DDK or it has to be requested separately?

Anyway I'd like to know if anybody was able to compile the UMSS driver successfuly - and how.

Regards,

0

Share this post


Link to post
Share on other sites

I've noticed that there is still VC++ 4.2 on MSDN download (but not VC++ 5.0 or Visual Studio 97), did again clean install, called setenv.bat from autoexec.bat - and again the same result:

2954 files compiled - 45 Warnings - 139 Errors -  1259 LPS
19 libraries built
92 executables built - 17 Warnings - 3 Errors

No luck.

Petr

0

Share this post


Link to post
Share on other sites

what driver do you want to compile? A Sample from the ddk?

0

Share this post


Link to post
Share on other sites
what driver do you want to compile? A Sample from the ddk?

I tried compile all DDK samples and umss driver as well, and no success.

Petr

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.