Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Watt32 2.2.dev.rel11 with Open Watcom 1.9 on Windows, and failures. #116

Open
myrkraverk opened this issue Jul 9, 2024 · 2 comments

Comments

@myrkraverk
Copy link

myrkraverk commented Jul 9, 2024

Dear Watt32,

I've just built the release from the website on Windows, using Open Watcom 1.9. I ran into some problems with winadinf.[hc], and "hacked" them to to compile by adding several #ifdef __WATCOMC__ guards.

I've already seen similar guards in those files, and can provide a diff, or even a pull request. It is however, completely untested at the time of this writing.

Is such a patch welcome? Since I'm not sure what any of the code in the files is supposed to do, I thought to ask first.

For the record, I just followed the directions and did

cd src

configur.bat watcom

wmake -f watcom_w.mak

as the build process.

@myrkraverk
Copy link
Author

As an additional comment, my sock_init() fails to find a driver. I had previously installed npcap, and nmap works on my Windows 10; I think that confirms npcap is working, but I'm willing to be educated on that front.

How would I go about debugging why the npcap in watt32 driver fails to initialize?

@gvanem
Copy link
Owner

gvanem commented Jul 9, 2024

Is such a patch welcome?

Sure, Post / attach a diff -u3 output of your stuff here. But use git master as a reference since 2.2.dev.rel11 is rather old.

How would I go about debugging why the npcap in watt32 driver fails to initialize?

Try e.g. setting these in wattcp.cfg:

winpkt.trace    = 1
winpkt.dumpfile = c:\nmap_dump.txt

Rrun %WATT_ROOT%\bin\ping.exe -sd www.google.com. And look in c:\nmap_dump.txt for issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants