Wine-20010824 problems with wineinstall and loading windows DLL's

Robin Roevens Robin.Roevens at yucom.be
Fri Sep 21 15:31:27 CDT 2001


gerard patel wrote:

> Please list the complete fstab file and the full output
> of wineconf - you cut the interesting part.


complete fstab:
---
/dev/hda11       swap        swap        defaults   0   0
/dev/hda14       /        ext2        defaults   1   1
/dev/hda13       /boot      ext2        defaults   1   1
/dev/hda15       /usr      ext2        defaults   1   1
/dev/hda16       /home      ext2        defaults   1   1
/dev/hda17       /opt   ext2            defaults   1   1
/dev/hda2      /dos       vfat     uid=1000,gid=100,exec,dev,suid,rw  1    1
/dev/hda5      /windows       vfat     uid=1000,gid=100,exec,dev,suid,rw 
  1    1/dev/hda4       /redhat         ext2    defaults        1       1
/dev/hda8       /redhat/var     ext2    defaults        1       1
/dev/hda9       /redhat/usr     ext2    defaults        1       1
/dev/hda10      /redhat/home    ext2    defaults        1       1
/dev/hda3       /storage/1      ext2    defaults        1       1
/dev/hda6       /storage/2      ext2    defaults        1       1
/dev/hda12      /storage/3      ext2    defaults        1       1
/dev/hda7       /storage/4      ext2    defaults        1       1
none             /dev/pts  devpts     gid=5,mode=620  0   0
none             /proc    proc        defaults   0   0
---

full output of wineconf without any arguments:
---
Name "main::RCS_ID" used only once: possible typo at wineconf line 7.
Name "main::DOS2Device" used only once: possible typo at wineconf line 230.
Name "main::Device2DOS" used only once: possible typo at wineconf line 227.
Name "main::DOSpathdir" used only once: possible typo at wineconf line 294.
WINE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

Argument "v" isn't numeric in numeric ge (>=) at wineconf line 460, 
<FSTAB> line 18.
Argument "v" isn't numeric in numeric ge (>=) at wineconf line 461, 
<FSTAB> line 18.
[Drive C]
"Path" = "/dos"
"Type" = "hd"
"Filesystem" = "vfat"

[Drive D]
"Path" = "/windows"
"Type" = "hd"
"Filesystem" = "vfat"

[Drive E]
"Path" = "/tmp"
"Type" = "hd"
"Filesystem" = "win95"

[Drive F]
"Path" = "${HOME}"
"Type" = "network"
"Filesystem" = "win95"

ERROR: No win.ini found in DOS partitions


> the windows=d: line is wrong: it is the path to the windows
> *directory*, not the windows partition; you should set it to
> "windows"="d:\windows"

well, I didn't change this, this is what wineinstall made of it.
Now I changed it..


> 
> The rest seems correct and Wine should find dlls; to find what
> happens, run with -debugmsg +module,+dosfs,+file - from the
> traces you will be able to figure out where Wine is trying to
> find the application dlls.


I did this with RealPlayer and I get this output concerning the dll wine 
doesn't want to find (pncrt.dll):
---
trace:module:GetModuleFileNameA D:\Program 
Files\Real\RealPlayer\realplay.exe
trace:dosfs:DOSFS_GetFullName D:\Program Files\Real\RealPlayer\PNCRT.dll 
(last=1)
trace:dosfs:DOSFS_FindUnixName /windows,Program 
Files\Real\RealPlayer\PNCRT.dll
trace:dosfs:DOSFS_FindUnixName (/windows,Program 
Files\Real\RealPlayer\PNCRT.dll) -> Program Files (PROGRA~1)
trace:dosfs:DOSFS_FindUnixName /windows/Program 
Files,Real\RealPlayer\PNCRT.dll
trace:dosfs:DOSFS_FindUnixName (/windows/Program 
Files,Real\RealPlayer\PNCRT.dll) -> Real (REAL)
trace:dosfs:DOSFS_FindUnixName /windows/Program 
Files/Real,RealPlayer\PNCRT.dll
trace:dosfs:DOSFS_FindUnixName (/windows/Program 
Files/Real,RealPlayer\PNCRT.dll) -> RealPlayer (REALPL~1)
trace:dosfs:DOSFS_FindUnixName /windows/Program 
Files/Real/RealPlayer,PNCRT.dll
warn:dosfs:DOSFS_FindUnixName 'PNCRT.dll' not found in '/windows/Program 
Files/Real/RealPlayer'
trace:dosfs:DOSFS_GetFullName PNCRT.dll (last=1)
trace:dosfs:DOSFS_FindUnixName /windows/Program 
Files/Real/RealPlayer,PNCRT.dll
warn:dosfs:DOSFS_FindUnixName 'PNCRT.dll' not found in '/windows/Program 
Files/Real/RealPlayer'
trace:dosfs:DOSFS_FindUnixName /windows/windows/system,PNCRT.dll
trace:dosfs:DOSFS_FindUnixName (/windows/windows/system,PNCRT.dll) -> 
pncrt.dll (PNCRT.DLL)
trace:dosfs:SearchPathA Returning 27
trace:module:MODULE_GetLoadOrder looking for D:\windows\system\pncrt.dll
trace:module:GetModuleFileNameA D:\Program 
Files\Real\RealPlayer\realplay.exe
trace:module:get_app_load_order searching 'pncrt' in 
AppDefaults\realplay.exe\DllOverrides
trace:module:MODULE_LoadLibraryExA Trying native dll 
'D:\windows\system\pncrt.dll'
trace:file:CreateFileA D:\windows\system\pncrt.dll GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING
trace:dosfs:DOSFS_GetFullName D:\windows\system\pncrt.dll (last=1)
trace:dosfs:DOSFS_FindUnixName /windows,windows\system\pncrt.dll
trace:dosfs:DOSFS_FindUnixName (/windows,windows\system\pncrt.dll) -> 
windows (WINDOWS)
trace:dosfs:DOSFS_FindUnixName /windows/windows,system\pncrt.dll
trace:dosfs:DOSFS_FindUnixName (/windows/windows,system\pncrt.dll) -> 
system (SYSTEM)
trace:dosfs:DOSFS_FindUnixName /windows/windows/system,pncrt.dll
trace:dosfs:DOSFS_FindUnixName (/windows/windows/system,pncrt.dll) -> 
pncrt.dll (PNCRT.DLL)
trace:dosfs:DOSFS_GetFullName returning 
/windows/windows/system/pncrt.dll = D:\WINDOWS\SYSTEM\PNCRT.DLL
trace:module:PE_LoadImage loading D:\windows\system\pncrt.dll
trace:module:map_image mapped PE file at 0x78000000-0x78048000
trace:module:map_image mapping section .text at 0x78001000 off 600 size 
35000 flags 60000020
err:module:map_image Could not map section .text, file probably truncated
warn:module:MODULE_LoadLibraryExA Failed to load module 
'D:\windows\system\pncrt.dll'; error=0x000000c1,
err:module:PE_fixup_imports Module (file) PNCRT.dll needed by D:\Program 
Files\Real\RealPlayer\realplay.exe not found
---
when I did 'locate pncrt.dll' I get this:
---
/windows/windows/system/pncrt.dll
/windows/windows/temp/~rnsetup/pncrt.dll
---

Then I tried another program, which I knew for sure would work with wine 
since it worked with wine in 1997/98 (don't know what version of wine) 
fine (some visual errors, but the functionality of the program worked)

I get these messages:
---
trace:module:GetModuleFileNameA E:\run\itt.exe
trace:dosfs:DOSFS_GetFullName E:\run\cw3230.DLL (last=1)
trace:dosfs:DOSFS_FindUnixName /cdrom,run\cw3230.DLL
trace:dosfs:DOSFS_FindUnixName (/cdrom,run\cw3230.DLL) -> run (RUN)
trace:dosfs:DOSFS_FindUnixName /cdrom/run,cw3230.DLL
trace:dosfs:DOSFS_FindUnixName (/cdrom/run,cw3230.DLL) -> cw3230.dll 
(CW3230.DLL)
trace:dosfs:DOSFS_GetFullName returning /cdrom/run/cw3230.dll = 
E:\RUN\CW3230.DLL
trace:dosfs:SearchPathA Returning 17
trace:module:MODULE_GetLoadOrder looking for E:\run\cw3230.dll
trace:module:GetModuleFileNameA E:\run\itt.exe
trace:module:get_app_load_order searching 'E:\run\cw3230' in 
AppDefaults\itt.exe\DllOverrides
trace:module:MODULE_LoadLibraryExA Trying native dll 'E:\run\cw3230.dll'
trace:file:CreateFileA E:\run\cw3230.dll GENERIC_READ FILE_SHARE_READ 
OPEN_EXISTING
trace:dosfs:DOSFS_GetFullName E:\run\cw3230.dll (last=1)
trace:dosfs:DOSFS_FindUnixName /cdrom,run\cw3230.dll
trace:dosfs:DOSFS_FindUnixName (/cdrom,run\cw3230.dll) -> run (RUN)
trace:dosfs:DOSFS_FindUnixName /cdrom/run,cw3230.dll
trace:dosfs:DOSFS_FindUnixName (/cdrom/run,cw3230.dll) -> cw3230.dll 
(CW3230.DLL)
trace:dosfs:DOSFS_GetFullName returning /cdrom/run/cw3230.dll = 
E:\RUN\CW3230.DLL
trace:module:PE_LoadImage loading E:\run\cw3230.dll
trace:module:map_image mapped PE file at 0x4cd000-0x51c000
trace:module:map_image mapping section CODE at 0x4ce000 off 600 size 
30800 flags 60000020
trace:module:map_image clearing 0x4fe800 - 0x4ff000
trace:module:map_image mapping section DATA at 0x4ff000 off 30e00 size 
7800 flags c0000040
trace:module:map_image clearing 0x506800 - 0x507000
trace:module:map_image mapping section TLS at 0x508000 off 38600 size 
200 flags c0000040
trace:module:map_image clearing 0x508200 - 0x509000
trace:module:map_image mapping section .idata at 0x509000 off 38800 size 
1000 flags c0000040
err:module:map_image Could not map section .idata, file probably truncated
warn:module:MODULE_LoadLibraryExA Failed to load module 
'E:\run\cw3230.dll'; error=0x000000c1,
err:module:PE_fixup_imports Module (file) cw3230.DLL needed by 
E:\run\itt.exe not found
---

and when I do: 'ls /cdrom/run/cw3230.dll' I get:
---
/cdrom/run/cw3230.dll
---

These error messages don't make any sene to me, I can see Wine starts 
looking for the DLL at the right places, but I can't figure what goes 
wrong then..


Robin




More information about the wine-users mailing list