adsonmatoso
2010-Oct-31 15:28 UTC
[Wine] Problem to running command line Borland C++ program in wine
Hi, I can not run on ubuntu with wine-1.0.1. a program developed in Borland C + + (Windows) command line. When I type: ams at cluster01:~/test$ wine Main.exe the message appears: fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000 Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. ...Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. wine: Unhandled page fault on execute access to 0x00000000 at address (nil) (thread 0009), starting debugger... First chance exception: page fault on read access to 0x00000000 in 32-bit code (0x7bc67059). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc67059 ESP:0033f6a8 EBP:0033f790 EFLAGS:00010246( - 00 -RIZP1) EAX:0033f6d8 EBX:7bc8aff4 ECX:00000000 EDX:0033fb68 ESI:0033fa9c EDI:0033f7d0 Stack dump: 0x0033f6a8: 0033f6e4 00000000 0033f6d0 7bc654cf 0x0033f6b8: 00000002 0033f6f8 00000000 00604ccc 0x0033f6c8: 7bc65499 7bc8aff4 0033f7d0 00000000 0x0033f6d8: 0033fb68 7bc671e0 7bc93180 7bc8aff4 0x0033f6e8: 0033fa9c 0033f7d0 0033f790 6cd60a49 0x0033f6f8: 87db36be 00000000 0033f7d0 7ed1aee0 Backtrace: =>1 0x7bc67059 in ntdll (+0x57059) (0x0033f790) 2 0x7bc671d1 in ntdll (+0x571d1) (0x0033f7c0) 3 0xdeadbabe (0x0033fb90) 4 0x00424d3b in main (+0x24d3b) (0x0033fed4) 5 0x0043b49a in main (+0x3b49a) (0x0033ff00) 6 0x00000000 (0x0033ffe8) 7 0xf7685bb7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) 0x7bc67059: cmpl $0x42444c7,0x0(%ecx) Modules: Module Address Debug info Name (80 modules) PE 340000- 3e1000 Deferred rtl60.bpl PE 400000- 493000 Export main PE 400a0000-401e9000 Deferred vcl60.bpl ELF 7b800000-7b93c000 Deferred kernel32<elf> \-PE 7b820000-7b93c000 \ kernel32 ELF 7bc00000-7bca7000 Export ntdll<elf> \-PE 7bc10000-7bca7000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7e1a5000-7e1aa000 Deferred libgpg-error.so.0 ELF 7e1aa000-7e1b3000 Deferred librt.so.1 ELF 7e1b3000-7e1ec000 Deferred libdbus-1.so.3 ELF 7e1ec000-7e268000 Deferred libgcrypt.so.11 ELF 7e268000-7e27a000 Deferred libtasn1.so.3 ELF 7e27a000-7e283000 Deferred libkrb5support.so.0 ELF 7e283000-7e2ae000 Deferred libk5crypto.so.3 ELF 7e2ae000-7e360000 Deferred libkrb5.so.3 ELF 7e360000-7e371000 Deferred libavahi-client.so.3 ELF 7e371000-7e37d000 Deferred libavahi-common.so.3 ELF 7e37d000-7e425000 Deferred libgnutls.so.26 ELF 7e425000-7e452000 Deferred libgssapi_krb5.so.2 ELF 7e452000-7e497000 Deferred libcups.so.2 ELF 7e497000-7e4ca000 Deferred uxtheme<elf> \-PE 7e4a0000-7e4ca000 \ uxtheme ELF 7e4f5000-7e51c000 Deferred libexpat.so.1 ELF 7e51c000-7e549000 Deferred libfontconfig.so.1 ELF 7e549000-7e55f000 Deferred libz.so.1 ELF 7e55f000-7e5de000 Deferred libfreetype.so.6 ELF 7e5de000-7e604000 Deferred oledlg<elf> \-PE 7e5e0000-7e604000 \ oledlg ELF 7e604000-7e654000 Deferred wininet<elf> \-PE 7e610000-7e654000 \ wininet ELF 7e654000-7e693000 Deferred urlmon<elf> \-PE 7e660000-7e693000 \ urlmon ELF 7e693000-7e6ee000 Deferred shlwapi<elf> \-PE 7e6a0000-7e6ee000 \ shlwapi ELF 7e6ee000-7e802000 Deferred shell32<elf> \-PE 7e700000-7e802000 \ shell32 ELF 7e802000-7e8b0000 Deferred comdlg32<elf> \-PE 7e810000-7e8b0000 \ comdlg32 ELF 7e8b0000-7e8e7000 Deferred winspool<elf> \-PE 7e8c0000-7e8e7000 \ winspool ELF 7e8e7000-7e9aa000 Deferred comctl32<elf> \-PE 7e8f0000-7e9aa000 \ comctl32 ELF 7e9aa000-7e9bf000 Deferred lz32<elf> \-PE 7e9b0000-7e9bf000 \ lz32 ELF 7e9bf000-7e9da000 Deferred version<elf> \-PE 7e9c0000-7e9da000 \ version ELF 7e9da000-7ea07000 Deferred ws2_32<elf> \-PE 7e9e0000-7ea07000 \ ws2_32 ELF 7ea07000-7ea22000 Deferred wsock32<elf> \-PE 7ea10000-7ea22000 \ wsock32 ELF 7ea22000-7ea45000 Deferred mpr<elf> \-PE 7ea30000-7ea45000 \ mpr ELF 7ea45000-7ea59000 Deferred libresolv.so.2 ELF 7ea6d000-7ea8c000 Deferred iphlpapi<elf> \-PE 7ea70000-7ea8c000 \ iphlpapi ELF 7ea8c000-7eaef000 Deferred rpcrt4<elf> \-PE 7eaa0000-7eaef000 \ rpcrt4 ELF 7eaef000-7eb95000 Deferred ole32<elf> \-PE 7eb00000-7eb95000 \ ole32 ELF 7eb95000-7ec3b000 Deferred oleaut32<elf> \-PE 7ebb0000-7ec3b000 \ oleaut32 ELF 7ec3b000-7ec8d000 Deferred advapi32<elf> \-PE 7ec50000-7ec8d000 \ advapi32 ELF 7ec8d000-7ed2c000 Deferred gdi32<elf> \-PE 7eca0000-7ed2c000 \ gdi32 ELF 7ed2c000-7ee77000 Deferred user32<elf> \-PE 7ed50000-7ee77000 \ user32 ELF 7efa3000-7efaf000 Deferred libnss_files.so.2 ELF 7efaf000-7efc6000 Deferred libnsl.so.1 ELF 7efc6000-7efec000 Deferred libm.so.6 ELF 7efed000-7eff8000 Deferred libnss_nis.so.2 ELF 7eff8000-7f000000 Deferred libnss_compat.so.2 ELF f7502000-f7506000 Deferred libkeyutils.so.1 ELF f7507000-f750b000 Deferred libdl.so.2 ELF f750b000-f7650000 Deferred libc.so.6 ELF f7651000-f766a000 Deferred libpthread.so.0 ELF f766a000-f766e000 Deferred libcom_err.so.2 ELF f767e000-f77b4000 Export libwine.so.1 ELF f77b6000-f77d4000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\ams\test\Main.exe 00000009 0 <=0000000c 00000013 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 Backtrace: =>1 0x7bc67059 in ntdll (+0x57059) (0x0033f790) 2 0x7bc671d1 in ntdll (+0x571d1) (0x0033f7c0) 3 0xdeadbabe (0x0033fb90) 4 0x00424d3b in main (+0x24d3b) (0x0033fed4) 5 0x0043b49a in main (+0x3b49a) (0x0033ff00) 6 0x00000000 (0x0033ffe8) 7 0xf7685bb7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) help me know why not run on wine. Thank you.
James McKenzie
2010-Oct-31 15:39 UTC
[Wine] Problem to running command line Borland C++ program in wine
On 10/31/10 8:28 AM, adsonmatoso wrote:> Hi, > > I can not run on ubuntu with wine-1.0.1. > a program developed in Borland C + + (Windows) command line. >wine 1.0.1 is NOT SUPPORTED. Please update to at least Wine 1.2.1 and try this again. James McKenzie
vitamin
2010-Oct-31 16:27 UTC
[Wine] Re: Problem to running command line Borland C++ program in wine
adsonmatoso wrote:> I can not run on ubuntu with wine-1.0.1.This is really really really ancient Wine version - upgrade. adsonmatoso wrote:> Make sure that your X server is running and that $DISPLAY is set correctlyWine needs a working X display to work - you can't run Wine from text console.