gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

WATT32S Help #71

Closed eltoneo closed 1 year ago

eltoneo commented 1 year ago

Hi, RE: DOSBox-X Building 'watt32s' DJGPP library trapped the follow error: v v v jgpp-receive.o -c receive.c receive.c: In function ‘receive’ receive.c:95:29: error: invalid application of 'sizeof’ to incomplete type ‘struct sockaddr_ll' 95 | ____sizeof(struct sockaddr_ll) | ___^~

make: xxx [djgpp.mak:172: build/djgpp/receive.o] Error 1 ^ ^ ^ Can it be patched and which djgpp platform was source code built on?

gvanem commented 1 year ago

You must be using some old sources. Which? With a git clone of the master, configur.bat djgpp and a pre-process command c:\watt\src> make -f djgpp.mak receive.i you'll see that struct sockaddr_ll gets included from $WATT_ROOT/inc/net/if_packe.h.

eltoneo commented 1 year ago

You must be using some old sources. Which? With a git clone of the master, configur.bat djgpp and a pre-process command c:\watt\src> make -f djgpp.mak receive.i you'll see that struct sockaddr_ll gets included from $WATT_ROOT/inc/net/if_packe.h. Hi, SRC at link Also, your SRC at link needs updating, using link for functional SSL/TLS. This library has proven functionality in this up to date DOS browser link. e

gvanem commented 1 year ago

Seems to be fixed. Closing.