SDL_net demos and MingW

Howdy,

has anyone managed to compile the SDL_net demos under MingW? when
i run the Makefile, i get the error: undefined reference to select at 20

                       \\//_

I compiled SDL_net and ran the chat demos under mingw32 using msys.
I never ran into the problem that you mention (undefined reference to
select at 20) but I did run into the following problems:

When installing GUIlib-1.1.0 I got the following errors:
When I did a ./configure I got:

checking for SDL - version >= 1.0.1… no
*** Could not run SDL test program, checking why…
*** The test program failed to compile or link. See the file config.log
for the*** exact error that occured. This usually means SDL was incorrectly
installed*** or that you have moved SDL since it was installed. In the latter case,
you*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version 1.0.1 not found!

which I fixed by editing line 2023 of configure from
int main() {
to
int main(int argc, char *argv[]) {

I then got the following error when running ./configure again (after
removing config.cache):

checking for SDL - version >= 1.0.1… no
*** Could not run SDL test program, checking why…
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you’ll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!

which I fixed by editing line 1949 of configure from:
int main() {
to:
int main(int argc, char *argv[]) {

then I deleted config.cache and ./configure worked.

Then I when I went to make I got this error:
hello.cpp:82: ANSI C++ forbids declaration `SDL_main’ with no type

which I fixed by editing line 81 of hello.cpp from:
main(int argc, char *argv[])
to:
int main(int argc, char *argv[])

then I did a make clean and make and got this error:
keyboard.cpp:76: ANSI C++ forbids declaration `SDL_main’ with no type

and edited keyboard.cpp’s line 75 in the same way as hello.cpp.

Then I went into the SDL_net-1.2.4 directory did a ./configure ; make ; make
install and everything worked well. In that directory, in one window I typed
’chatd’ and in another one (in that directory) typed ‘chat 127.0.0.1’ and
opened another window and (in that directory) type ‘chat 127.0.0.1’ and was
able to talk to the two chat windows that opened.

Hope that helps someone.

Jon Wilsdon [@Jon_Wilsdon]

Howdy,

has anyone managed to compile the SDL_net demos under MingW? when
i run the Makefile, i get the error: undefined reference to select at 20

                      \\//_

Howdy,

has anyone managed to compile the SDL_net demos under MingW? when
i run the Makefile, i get the error: undefined reference to select at 20

select() doesn’t exisit in MingW (this is POSIX function). Cygwin has it.
MingW was projected for speed not to be full compatible with POSIX standardOn Wed, 12 Jun 2002 07:33:32 -0700 “montgomery f. tidwell” wrote:


Pawe? R??a?ski

Howdy,

so does this mean that i have to uninstall MingW and install Cygwin, or will
will installing Cygwin along with MingW give me what i need?

                                     \\//_

Pawel Rozanski wrote:> On Wed, 12 Jun 2002 07:33:32 -0700 “montgomery f. tidwell” <@montgomery_f_tidwell> wrote:

Howdy,

has anyone managed to compile the SDL_net demos under MingW? when
i run the Makefile, i get the error: undefined reference to select at 20

select() doesn’t exisit in MingW (this is POSIX function). Cygwin has it.
MingW was projected for speed not to be full compatible with POSIX standard


Pawe? R??a?ski


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Howdy,

so does this mean that i have to uninstall MingW and install Cygwin, or will
will installing Cygwin along with MingW give me what i need?

Having Cygwin and MingW isn’t a good idea. Cygwin has a -mno-cygwin option. It
will generate program without dependency on cygwin environment. (I don’t know
if select work that way)

Remember, Cygwin is bigger, little slower and have other license than MingW
(just in case, that you are doing proprietary software)On Thu, 13 Jun 2002 09:31:13 -0700 “montgomery f. tidwell” wrote:


Pawe? R??a?ski

Howdy,

Pawel Rozanski wrote:

Remember, Cygwin is bigger, little slower and have other license than MingW
(just in case, that you are doing proprietary software)

i’d like to keep my options open.

so, to recap, if i use:
MingW, i don’t have sockets, but i can write proprietary pgms.
Cygwin, i have sockets, but i can’t write proprietary pgms.

correct?

                      \\//_

I am confused by this thread as it seems to contradict my personal
experience.
I used what I consider mingw32 to compile the SDL_net library (as posted
previously) and it worked fine. The MinGW FAQ page
[http://www.mingw.org/mingwfaq.shtml#faq-what] says that mingw32 and MinGW
are the same thing. I was also using msys, but as far as I can tell it is
licensed the same as MinGW (if this is not true, please tell me, I have not
been able to find a page that says, msys is licensed so and so).

It does mention in the FAQ that msys does not use a full POSIX layer, but I
was still able to compile the SDL_net source under it.

With MinGW you do not have to release your code with your product as
discussed on the MinGW licensing page
[http://www.mingw.org/licensing.shtml]. With cygwin they have their own sort
of license [http://www.cygwin.com/licensing.html] which seems like in some
cases you do not have to provide the source as well.

Am I just wrong?

Jon Wilsdon [@Jon_Wilsdon]> Howdy,

Pawel Rozanski wrote:

Remember, Cygwin is bigger, little slower and have other license than
MingW (just in case, that you are doing proprietary software)

i’d like to keep my options open.

so, to recap, if i use:
MingW, i don’t have sockets, but i can write proprietary pgms.
Cygwin, i have sockets, but i can’t write proprietary pgms.

correct?

                     \\//_

SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

It does mention in the FAQ that msys does not use a full POSIX layer, but I
was still able to compile the SDL_net source under it.

Can you do a favour for me. I attached a simple select based server.
It compiles on cygwin, but mingw reports ‘select errors’ on my system.
Could you test it on mingw? And we will end this thread…

It will be nice if after half year I’ll be enlightenmented
(‘SDL_net works on mingw, but I missed something !!’::)On Thu, 13 Jun 2002 11:56:56 -0600 (MDT) wrote:


Pawe? R??a?ski
-------------- next part --------------
A non-text attachment was scrubbed…
Name: selectserver.c
Type: application/octet-stream
Size: 4768 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020613/c152d4d7/attachment.obj

Howdy,

Pawel Rozanski wrote:

Remember, Cygwin is bigger, little slower and have other license than MingW
(just in case, that you are doing proprietary software)

i’d like to keep my options open.

so, to recap, if i use:
MingW, i don’t have sockets, but i can write proprietary pgms.
Cygwin, i have sockets, but i can’t write proprietary pgms.

correct?

No. The Win32 API has WinSock, which is a BSD-ish sockets implementation
including select(). When you use MingW, you get the Win32 API version,
and when you use Cygwin (without -mno-cygwin) you get the special version
that Cygwin provides that is a bit slower but works on other types of file
descriptors besides just sockets.

It sounds like you’re not linking with -lwsock32
I have successfully built and used SDL and SDL_net in the MingW environment,
as described here:
http://www.libsdl.org/extras/win32/mingw32/README.txt

By the way, Cygwin is a great tool for porting native UNIX applications to
Win32, but I recommend using MingW for building native Win32 applications.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Howdy,

doesn’t compile for me either. the MingW that i downloaded (1.1) does not
have the following headers:

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

                                 \\//_

Pawel Rozanski wrote:> On Thu, 13 Jun 2002 11:56:56 -0600 (MDT) wrote:

It does mention in the FAQ that msys does not use a full POSIX layer, but I
was still able to compile the SDL_net source under it.

Can you do a favour for me. I attached a simple select based server.
It compiles on cygwin, but mingw reports ‘select errors’ on my system.
Could you test it on mingw? And we will end this thread…

It will be nice if after half year I’ll be enlightenmented
(‘SDL_net works on mingw, but I missed something !!’::slight_smile:

I am slowly working on getting it to compile, but I might not get around to
seriously looking at it until later tonight. ( a few hours ). For this
problem though, simply comment out those three lines and in their place
put a:#include <windows.h>
#include <SDL/SDL_net.h>

But I haven’t got much further as I am not at the same computer that I
compiled the demos on.

Jon Wilsdon [@Jon_Wilsdon]> Howdy,

doesn’t compile for me either. the MingW that i downloaded (1.1) does
not have the following headers:

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

                                \\//_

Pawel Rozanski wrote:

On Thu, 13 Jun 2002 11:56:56 -0600 (MDT) <@Jon_Wilsdon> wrote:

It does mention in the FAQ that msys does not use a full POSIX layer,
but I was still able to compile the SDL_net source under it.

Can you do a favour for me. I attached a simple select based server.
It compiles on cygwin, but mingw reports ‘select errors’ on my system.
Could you test it on mingw? And we will end this thread…

It will be nice if after half year I’ll be enlightenmented
(‘SDL_net works on mingw, but I missed something !!’::slight_smile:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

If all you want it to do is compile under SDL, the minimum you have to do is
what follows. However when I ran it I got a ‘socket: No error’ message and
that was it, but you should be able to fix that fairly easily.

Top of the file looks like:

#if defined(WIN32) || defined(WIN32)
#include <windows.h>
#include <SDL/SDL_net.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

And that was all of the changes to that file.
When compiling make sure you include -lwsock32 in there along with the other
standard things you include with SDL.

If you still can’t get it to compile, I can send you back the file and a
makefile.

Also, I get a ‘undefined reference to ‘socket at 12’’ and a whole bunch of
similar errors if I don’t include -lwsock32, so make sure to do that. (Does
this fix someone else’s previous errors they were reporting?)

Jon Wilsdon [@Jon_Wilsdon]> On Thu, 13 Jun 2002 11:56:56 -0600 (MDT) <@Jon_Wilsdon> wrote:

It does mention in the FAQ that msys does not use a full POSIX layer,
but I was still able to compile the SDL_net source under it.

Can you do a favour for me. I attached a simple select based server. It
compiles on cygwin, but mingw reports ‘select errors’ on my system.
Could you test it on mingw? And we will end this thread…

It will be nice if after half year I’ll be enlightenmented
(‘SDL_net works on mingw, but I missed something !!’::slight_smile:


Pawe? R??a?ski

If all you want it to do is compile under SDL, the minimum you have to do is
what follows. However when I ran it I got a ‘socket: No error’ message and
that was it, but you should be able to fix that fairly easily.

Top of the file looks like:

[snipped]

For the record, I didn’t need any of that stuff. Using exactly the
environment described at:
http://www.libsdl.org/extras/win32/mingw32/README.txt

I built SDL_net and chatd, and got the attached output, with all systems go.

Note that it’s VERY important that you get the right versions of MSYS,
as listed in the README file. No earlier version will work correctly,
and it needs to be set up as described in the text file.

Also make sure that you’re using the latest version of SDL and SDL_net

By the way, the configure check fails if you don’t copy SDL.dll into
the current directory.

Okay, I’m done here. :slight_smile:

-Sam Lantinga, Software Engineer, Blizzard Entertainment

-------------- next part --------------
loading site script /etc/config.site
creating cache ./config.cache
checking host system type… i686-pc-mingw32
checking target system type… i686-pc-mingw32
checking for a BSD compatible install… /bin/install -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… found
checking for gcc… gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… yes
checking whether gcc accepts -g… yes
checking for c++… c++
checking whether the C++ compiler (c++ ) works… yes
checking whether the C++ compiler (c++ ) is a cross-compiler… no
checking whether we are using GNU C++… yes
checking whether c++ accepts -g… yes
checking build system type… i686-pc-mingw32
checking for ranlib… ranlib
checking for ld used by GCC… C:/MSYS/1.0/mingw/mingw32/bin/ld.exe
checking if the linker (C:/MSYS/1.0/mingw/mingw32/bin/ld.exe) is GNU ld… yes
checking for BSD-compatible nm… /mingw/bin/nm
checking whether ln -s works… no
checking for dlltool… dlltool
checking for as… as
checking for objdump… objdump
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix… o
checking for executable suffix… .exe
checking for gcc option to produce PIC… none
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.lo… yes
checking if gcc supports -fno-rtti -fno-exceptions … yes
checking if gcc static flag -static works… -static
checking if the linker (C:/MSYS/1.0/mingw/mingw32/bin/ld.exe) is GNU ld… yes
checking whether the linker (C:/MSYS/1.0/mingw/mingw32/bin/ld.exe) supports shared libraries… yes
checking command to parse /mingw/bin/nm output… ok
checking how to hardcode library paths into programs… immediate
checking for C:/MSYS/1.0/mingw/mingw32/bin/ld.exe option to reload object files… -r
checking dynamic linker characteristics… Win32 ld.exe
checking if libtool supports shared libraries… yes
checking if package supports dlls… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for objdir… .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for sdl-config… /usr/local/bin/sdl-config
checking for SDL - version >= 1.2.4… yes
checking for GUI_Create in -lGUI… no
configure: warning: *** Can’t find the GUI library - not building test programs
The GUI library can be found at:
http://www.libsdl.org/projects/GUIlib/

updating cache ./config.cache
creating ./config.status
creating Makefile
creating SDL_net.spec
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnet.c
mkdir .libs
gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnet.c -DPIC -o .libs/SDLnet.lo
In file included from SDLnetsys.h:45,
from SDLnet.c:29:
C:/MSYS/1.0/mingw/bin/…/lib/gcc-lib/mingw32/2.95.3-6/…/…/…/…/include/windows.h:140: warning: #warning "The Win32_Winsock macro name is deprecated. Please use __USE_W32_SOCKETS instead"
mv -f .libs/SDLnet.lo SDLnet.o
(cd . && ln SDLnet.o SDLnet.lo)
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetTCP.c
rm -f .libs/SDLnetTCP.lo
gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetTCP.c -DPIC -o .libs/SDLnetTCP.lo
In file included from SDLnetsys.h:45,
from SDLnetTCP.c:25:
C:/MSYS/1.0/mingw/bin/…/lib/gcc-lib/mingw32/2.95.3-6/…/…/…/…/include/windows.h:140: warning: #warning "The Win32_Winsock macro name is deprecated. Please use __USE_W32_SOCKETS instead"
mv -f .libs/SDLnetTCP.lo SDLnetTCP.o
(cd . && ln SDLnetTCP.o SDLnetTCP.lo)
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetUDP.c
rm -f .libs/SDLnetUDP.lo
gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetUDP.c -DPIC -o .libs/SDLnetUDP.lo
In file included from SDLnetsys.h:45,
from SDLnetUDP.c:25:
C:/MSYS/1.0/mingw/bin/…/lib/gcc-lib/mingw32/2.95.3-6/…/…/…/…/include/windows.h:140: warning: #warning "The Win32_Winsock macro name is deprecated. Please use __USE_W32_SOCKETS instead"
mv -f .libs/SDLnetUDP.lo SDLnetUDP.o
(cd . && ln SDLnetUDP.o SDLnetUDP.lo)
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetselect.c
rm -f .libs/SDLnetselect.lo
gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c SDLnetselect.c -DPIC -o .libs/SDLnetselect.lo
In file included from SDLnetsys.h:45,
from SDLnetselect.c:25:
C:/MSYS/1.0/mingw/bin/…/lib/gcc-lib/mingw32/2.95.3-6/…/…/…/…/include/windows.h:140: warning: #warning "The Win32_Winsock macro name is deprecated. Please use __USE_W32_SOCKETS instead"
mv -f .libs/SDLnetselect.lo SDLnetselect.o
(cd . && ln SDLnetselect.o SDLnetselect.lo)
/bin/sh ./libtool --mode=link gcc -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -o libSDL_net.la -rpath /usr/local/lib -release 1.2 -version-info 0:4:0 SDLnet.lo SDLnetTCP.lo SDLnetUDP.lo SDLnetselect.lo -lwsock32 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows
rm -fr .libs/libSDL_net.la .libs/libSDL_net.* .libs/libSDL_net-1.2.*
generating symbol list for libSDL_net.la' test -f .libs/SDL_net.dll-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < ./libtool > .libs/SDL_net.dll-ltdll.c test -f .libs/SDL_net.dll-ltdll.o || (cd .libs && gcc -c SDL_net.dll-ltdll.c) dlltool --exclude-symbols _DllMain at 12,_cygwin_dll_entry at 12,_cygwin_noncygwin_dll_entry at 12 --output-def .libs/SDL_net.dll-def .libs/SDL_net.dll-ltdll.o SDLnet.o SDLnetTCP.o SDLnetUDP.o SDLnetselect.o sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < .libs/SDL_net.dll-def > .libs/libSDL_net.exp echo EXPORTS > .libs/SDL_net.dll-def _lt_hint=1; cat .libs/libSDL_net.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/SDL_net.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/SDL_net.dll-def;; esac; _lt_hint=expr 1 + $_lt_hint`; done
test -f .libs/SDL_net.dll-ltdll.c || sed -e “/^# /* ltdll.c starts here *//,/^# /* ltdll.c ends here *// { s/^# //; p; }” -e d < ./libtool > .libs/SDL_net.dll-ltdll.c
test -f .libs/SDL_net.dll-ltdll.o || (cd .libs && gcc -c SDL_net.dll-ltdll.c)
gcc -Wl,–base-file,.libs/SDL_net.dll-base -Wl,–dll -nostartfiles -Wl,-e,_DllMain at 12 -o .libs/SDL_net.dll .libs/SDL_net.dll-ltdll.o SDLnet.o SDLnetTCP.o SDLnetUDP.o SDLnetselect.o -lwsock32 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL
dlltool --as=as --dllname SDL_net.dll --exclude-symbols _DllMain at 12,_cygwin_dll_entry at 12,_cygwin_noncygwin_dll_entry at 12 --def .libs/SDL_net.dll-def --base-file .libs/SDL_net.dll-base --output-exp .libs/SDL_net.dll-exp
gcc -Wl,–base-file,.libs/SDL_net.dll-base .libs/SDL_net.dll-exp -Wl,–dll -nostartfiles -Wl,-e,_DllMain at 12 -o .libs/SDL_net.dll .libs/SDL_net.dll-ltdll.o SDLnet.o SDLnetTCP.o SDLnetUDP.o SDLnetselect.o -lwsock32 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL
dlltool --as=as --dllname SDL_net.dll --exclude-symbols _DllMain at 12,_cygwin_dll_entry at 12,_cygwin_noncygwin_dll_entry at 12 --def .libs/SDL_net.dll-def --base-file .libs/SDL_net.dll-base --output-exp .libs/SDL_net.dll-exp
gcc .libs/SDL_net.dll-exp -Wl,–dll -nostartfiles -Wl,-e,_DllMain at 12 -o .libs/SDL_net.dll .libs/SDL_net.dll-ltdll.o SDLnet.o SDLnetTCP.o SDLnetUDP.o SDLnetselect.o -lwsock32 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL
: strip_is_broken_with_dlls_on_win95B - strip .libs/SDL_net.dll
(cd .libs && rm -f libSDL_net.a && ln SDL_net.dll libSDL_net.a)
dlltool --as=as --dllname SDL_net.dll --def .libs/SDL_net.dll-def --output-lib .libs/libSDL_net.a
creating libSDL_net.la
(cd .libs && rm -f libSDL_net.la && ln …/libSDL_net.la libSDL_net.la)
gcc -DPACKAGE=“SDL_net” -DVERSION=“1.2.4” -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -c chatd.c
/bin/sh ./libtool --mode=link gcc -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -o chatd chatd.o libSDL_net.la -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows
gcc -g -O2 -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -o .libs/chatd chatd.o .libs/libSDL_net.a -lwsock32 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -Wl,–rpath -Wl,/usr/local/lib
creating chatd

If all you want it to do is compile under SDL, the minimum you have to
do is what follows. However when I ran it I got a 'socket: No error’
message and that was it, but you should be able to fix that fairly
easily.

Top of the file looks like:

[snipped]

For the record, I didn’t need any of that stuff. Using exactly the
environment described at:
http://www.libsdl.org/extras/win32/mingw32/README.txt

I built SDL_net and chatd, and got the attached output, with all
systems go.

[snip]

I would like to point out that those top few sentences of mine are
misleading and I am not actually referring to getting SDL_net working, or
the demos that go along with it. I am referring to getting code that Pawel
Rozanski attached to one of his messages to the list and asked me to
compile. SDL_net and the demos compiled just fine for me under the right
environment as well.

Jon Wilsdon [@Jon_Wilsdon]