CUPS Printer Driver for Windows v6.0 -- Did I screw something up?

Phil Krochmal pk000075545 at ltu.edu
Sun Oct 1 22:44:41 PDT 2006


Hello all,

I have up to this point been able to get the printers for my Mac OS X 10.4.8 Server to show and share the printers for Windows XP computers. Though, when I double click I get the fun message of having the drivers be unavailable. So, I turned to here and learned that I would need to use have the computer use the CUPS Print Drivers for them to have the print queue tell them to job-hold-until feature.

I did as anyone would do and downloaded the v6.0 driver and extracted them on a Windows XP box. I also installed the Microsoft Windows Driver Developent Kit which is the latest Windows 2k3 SP1 version. Once I had it downloaded, I proceeded to install it and followed the install.html file found after you initally setup the program. I thus performed the Windows 2k3 checked enviroment steps in that HTML. Once that was completed, I proceed to perform the seemingly vague steps found in the Windows v6.0 drivers download README file.

I extracted the files to my C: which thus made, what I assume would be, the source directory. Thus, following the README instructions, I went into the Windows 2k3 Free Build Enviroment. I changed the directory to the Windows Driver directory which was C:\cups-windows-6.0 and performed the command "build /c". When this completed, I was left with the following which I found posted in the LOG file


------------- Log File Begins Below --------------


BUILD: Computing Include file dependencies:
BUILD: Examining c:\cups-windows-6.0 directory tree for files to compile.
Compiling (NoSync) c:\cups-windows-6.0\cupsps6 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
    rc -l 409 -DSXS_ASSEMBLY_NAME=""""""  -DSXS_ASSEMBLY_LANGUAGE=""""""  -DSXS_PROCESSOR_ARCHITECTURE="""x86"""  -DSXS_TARGET="""cupsps6.dll"""   -DSYSTEM_COMPATIBLE_ASSEMBLY_NAME="""Microsoft.Windows.SystemCompatible"""  -DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"""Microsoft.Windows.SystemCompatible"""   -DSXS_ASSEMBLY_VERSION="""""" -z "MS Sans Serif,Helv/MS Shell Dlg"  -r -fo objfre_wnet_x86\i386\cupsps.res -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1 -D_MT=1  -DUSERMODE_DRIVER -DKERNEL_MODE -D_UNICODE -DUNICODE -DOEMCOM   -IC:\WINDDK\3790~1.183\inc\mfc42 -I. -IC:\WINDDK\3790~1.183\inc\wnet\MFC42 -Iobjfre_wnet_x86\i386 -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\crt .\cupsps.rc
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -I. -IC:\WINDDK\3790~1.183\inc\wnet\MFC42 -Iobjfre_wnet_x86\i386 -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\crt -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1 -D_MT=1  -DUSERMODE_DRIVER -DKERNEL_MODE -D_UNICODE -DUNICODE -DOEMCOM     /c /Zl /Zp8 /Gy /Gm-  /W3 /WX /Gz  /GX-  /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs  /Oy-   -FIC:\WINDDK\3790~1.183\inc\wnet\warning.h     .\cupsps.cpp
cupsps.cpp
c:\cups-windows-6.0\cupsps6\cupsps.cpp(508) : error C2220: warning treated as error - no object file generated
c:\cups-windows-6.0\cupsps6\cupsps.cpp(508) : warning C4242: '=' : conversion from 'unsigned int' to 'char', possible loss of data
c:\cups-windows-6.0\cupsps6\cupsps.cpp(515) : warning C4242: '=' : conversion from 'unsigned int' to 'char', possible loss of data
	lib -out:..\i386\cupsps6.lib @C:\DOCUME~1\PKROCH~1\LOCALS~1\Temp\nm3F16.tmp
Microsoft (R) Library Manager Version 7.10.4035
Copyright (C) Microsoft Corporation.  All rights reserved.

-IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221
/WX
-nodefaultlib
-machine:ix86
-def:cupsps6.def
objfre_wnet_x86\i386\cupsps.res
objfre_wnet_x86\i386\cupsps.obj
LIB : fatal error LNK1181: cannot open input file 'objfre_wnet_x86\i386\cupsps.obj'

Stop.
Compiling (NoSync) c:\cups-windows-6.0\cupsui6 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
    rc -l 409 -DSXS_ASSEMBLY_NAME=""""""  -DSXS_ASSEMBLY_LANGUAGE=""""""  -DSXS_PROCESSOR_ARCHITECTURE="""x86"""  -DSXS_TARGET="""cupsui6.dll"""   -DSYSTEM_COMPATIBLE_ASSEMBLY_NAME="""Microsoft.Windows.SystemCompatible"""  -DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"""Microsoft.Windows.SystemCompatible"""   -DSXS_ASSEMBLY_VERSION="""""" -z "MS Sans Serif,Helv/MS Shell Dlg"  -r -fo objfre_wnet_x86\i386\cupsui.res -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1 -D_MT=1  -DUSERMODE_DRIVER -D_UNICODE -DUNICODE   -IC:\WINDDK\3790~1.183\inc\mfc42 -I. -IC:\WINDDK\3790~1.183\inc\wnet\MFC42 -Iobjfre_wnet_x86\i386 -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\crt .\cupsui.rc
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -I. -IC:\WINDDK\3790~1.183\inc\wnet\MFC42 -Iobjfre_wnet_x86\i386 -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\wnet -IC:\WINDDK\3790~1.183\inc\crt -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1 -D_MT=1  -DUSERMODE_DRIVER -D_UNICODE -DUNICODE     /c /Zl /Zp8 /Gy /Gm-  /W3 /WX /Gz  /GX-  /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs  /Oy-   -FIC:\WINDDK\3790~1.183\inc\wnet\warning.h     .\cupsui.cpp
cupsui.cpp
	lib -out:..\i386\cupsui6.lib @C:\DOCUME~1\PKROCH~1\LOCALS~1\Temp\nm3F18.tmp
Microsoft (R) Library Manager Version 7.10.4035
Copyright (C) Microsoft Corporation.  All rights reserved.

-IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221
/WX
-nodefaultlib
-machine:ix86
-def:cupsui6.def
objfre_wnet_x86\i386\cupsui.res
objfre_wnet_x86\i386\cupsui.obj
   Creating library ..\i386\cupsui6.lib and object ..\i386\cupsui6.exp

Stop.
Linking c:\cups-windows-6.0 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= clean 386=1'
NMAKE : fatal error U1073: don't know how to make 'clean'
Stop.
BUILD: nmake.exe failed - rc = 2
Compile errors: not linking c:\cups-windows-6.0\cupsps6 directory ********************
Linking c:\cups-windows-6.0\cupsui6 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= MAKEDLL=1 386=1'
	link -out:..\i386\cupsui6.dll -machine:ix86 @C:\DOCUME~1\PKROCH~1\LOCALS~1\Temp\nm3F1A.tmp
Microsoft (R) Incremental Linker Version 7.10.4035
Copyright (C) Microsoft Corporation.  All rights reserved.

-MERGE:_PAGE=PAGE
-MERGE:_TEXT=.text
-SECTION:INIT,d
-OPT:REF
-OPT:ICF
-IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221
-INCREMENTAL:NO
-FULLBUILD
/release
-NODEFAULTLIB
/WX
-debug
-debugtype:cv
-version:5.2
-osversion:5.2
/functionpadmin:5
/safeseh
/opt:nowin98
-merge:.rdata=.text
/pdbcompress
-STACK:0x40000,0x1000
-dll
-base:0x50000000
-subsystem:console,4.10
-entry:_DllMainCRTStartup at 12
..\i386\cupsui6.exp
objfre_wnet_x86\i386\cupsui.res
objfre_wnet_x86\i386\cupsui.obj
C:\WINDDK\3790~1.183\lib\wnet\i386\BufferOverflowU.lib
C:\WINDDK\3790~1.183\lib\crt\i386\msvcrt.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\ntdll.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\kernel32.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\user32.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\winspool.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\ole32.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\advapi32.lib
C:\WINDDK\3790~1.183\lib\wnet\i386\uuid.lib
	echo Skip Binplace:
Skip Binplace:

Stop.


------------ End of Log File -------------



So, is this thing setup correctly, as the command prompt also mention it had a total of 5 errors? If I messed up somewhere, then please give me some very detail instructions. Any and all help would be most appreciated.

Also, what do I do following this? Am I suppose to proceed with using the cupsaddsmb command on the Mac Server? I would assume this would be after I copy the files created on the Win XP box to Mac Server. When I get all done I will make a detailed instruction list for myself and may post a copy here to assist anyone else. Thanks for your time.



Sincerely,
Phil Krochmal
ACRC Lab Technician




More information about the cups mailing list