1. config.sh
elif [ "$PLATFORM" = "unix" -o "$PLATFORM" = "unix-devel" ]; then OS="`uname -o`" MACH="`uname -m`" if [ "$OS" = "" ]; then OS="`uname -s`" fi if [ "$OS" = "GNU/Linux" -o "$OS" = "FreeBSD" ]; then if [ "$MACH" = "x86_64" ]; then echo "#define PLATFORM \"linux-amd64\"" > src/config.h LIBDIR=lib64 if [ "$MODULAR" = "true" ]; then echo "ARCH_CFLAGS+=-fPIC" >> platform.inc echo "ARCH_CXXFLAGS+=-fPIC" >> platform.inc fi elif [ "`echo $MACH | sed 's,i.86,x86,'`" = "x86" ]; then echo "#define PLATFORM \"linux-i386\"" > src/config.h LIBDIR=lib else echo "Add a friendly Linux ARCH name to config.sh." exit 1 fi else echo "Unknown UNIX, config.sh needs updating." exit 1 fi echo "PLATFORM=unix" >> platform.inc
2. src/network/host.c
This requires another #include:
#include <netinet/in.h>
Oh yeah, for some weird reason, megazeux segfails if you attempt to run the main "megazeux" file when installed; "mzxrun" must be called.

Help







