Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
What 's the problem with the winelib dll generated by winemaker.

What 's the problem with the winelib dll generated by winemaker.

2003-07-23       - By dd jj

 Back
Reply:     1     2  

Hello everyone,

I built a ping.dll.so from windows source codes using winemaker, (these source
codes works under MS visual studio, also windows version dll works find under
wine.)I did in this way:

1) put all the windows version source files-pingdll.h,pingdll.c,pingdll.dll
,pingdll.dsp in one directory;
2) %winemaker --lower-uppercase .
3) %./configure --with-wine-includes=/usr/local/include/wine/windows
4) %make

Aftter ping.dll.so is generated, I put it under /usr/local/bin/wine/ , also
change my wine config (.wine/config) by adding "pingdll"  =  "builtin, native";

When I run my application under wine:

%wine ./ping.exe  (pingdll work for ping.exe)

the program terminates...

when I use winedbg to run it, there's error message shown there:

....
...
...
...
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\PINGDLL.DLL' (0x40ae0000)
*** Invalid address 0x400016fc8 (_end+ox401587c)
No debug information in ELF '/usr/local/lib/wine/pingdll.dll.so' (0x40ada000)
Invalid address for breakpoint 1, disabling it
Invalid address for breakpoint 2, disabling it
Process of pid=0000000a has terminated

I used Redhat 9.0 and wine-2003-06-18,
Could one one help me out of this?  thank you very much.

-Lechun




-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
<DIV>
<DIV>Hello everyone,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I built a ping.dll.so from windows source codes using winemaker, (these
source codes works under MS visual studio, also windows version dll works find
under wine.)I did in this way:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1) put all the windows version source files-pingdll.h,pingdll.c,pingdll
.dll,pingdll.dsp in&nbsp;one directory;</DIV>
<DIV>2) %winemaker --lower-uppercase .</DIV>
<DIV>3) %./configure --with-wine-includes=/usr/local/include/wine/windows</DIV>
<DIV>4) %make</DIV>
<DIV>&nbsp;</DIV>
<DIV>Aftter ping.dll.so is generated, I put it&nbsp;under /usr/local/bin/wine/
&nbsp;, also change my wine config (.wine/config)&nbsp;by adding "pingdll"&nbsp;
=&nbsp; "builtin, native";</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I run my application under wine:</DIV>
<DIV>&nbsp;</DIV>
<DIV>%wine ./ping.exe&nbsp; (pingdll work for ping.exe)</DIV>
<DIV>&nbsp;</DIV>
<DIV>the program terminates...</DIV>
<DIV>&nbsp;</DIV>
<DIV>when I use winedbg to run it, there's error message shown there:</DIV>
<DIV>&nbsp;</DIV>
<DIV>....</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\PINGDLL.DLL'
(0x40ae0000)</DIV>
<DIV>*** Invalid address 0x400016fc8 (_end+ox401587c)</DIV>
<DIV>No debug information in ELF '/usr/local/lib/wine/pingdll.dll.so'
(0x40ada000)<BR>Invalid address for breakpoint 1, disabling it<BR>Invalid
address for breakpoint 2, disabling it<BR>Process of pid=0000000a has
terminated<BR></DIV>
<DIV>I used Redhat 9.0 and wine-2003-06-18, </DIV>
<DIV>Could one one help me out of this? &nbsp;thank you very much.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Lechun<BR></DIV></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo!
SiteBuilder</a> - Free, easy-to-use web site design software

Earn $52 per hosting referral at Lunarpages.