Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Compiling drivers for Windows98

- - - - -

  • Please log in to reply
6 replies to this topic

#1
Petr

Petr

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 981 posts
  • OS:98SE
  • Country: Country Flag
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, 14 November 2006 - 05:53 PM.



How to remove advertisement from MSFN

#2
LLXX

LLXX

    MSFN Junkie

  • Banned
  • PipPipPipPipPipPipPipPipPip
  • 3,399 posts

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.

#3
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,931 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.

#4
Petr

Petr

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 981 posts
  • OS:98SE
  • Country: Country Flag

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,

#5
Petr

Petr

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 981 posts
  • OS:98SE
  • Country: Country Flag
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

#6
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,994 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#7
Petr

Petr

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 981 posts
  • OS:98SE
  • Country: Country Flag

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 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN