[comp.unix.xenix] Xenix, Merit, KA9Q, 80286, getting

valsee@qat.UUCP (05/20/89)

i've gotten the KA9Q code running on a 386 box running SCO 2.2.4 Xenix,
with very little difficulty.  it runs slip interfaces beautifully, and 
talks to a DOS PC running NET rather nicely -- allowing multiple sessions
in both directions.

from what you posted, i suspect that you tried to make the program with
a DOS makefile.  this is the makefile i used on my system; this has been
modified to match my system.  maybe this will give you some leads.

cheers...

valerie see n5lpl
...texbell!techsup!qat!valsee

==============================CUT HERE==============================
#
#	Makefile for KA9Q TCP/IP package for UNIX System 5
#
#	Modified for UNIX System 5 Release 3 - 80386 w/shared librarys
#
#	Re-modified for SCO Xenix/386 2.2.4 without shared librarys.

SHELL = /bin/sh

CFLAGS = -O -DUNIX -DSYS5 -DSLOWCHECK -DLITTLE_ENDIAN -DASY_MAX=2 -DMSPTICK=17

LINTFLAGS = -g -O -DUNIX -DSYS5 -DSLOWCHECK -DLITTLE_ENDIAN -DASY_MAX=8 -DMSPTICK=17

#LIBS = -lc_s
LIBS =

SRCS =	main.c arp.c arpcmd.c arpdump.c ax25.c ax25cmd.c \
	ax25dump.c ax25subr.c ax25user.c cmdparse.c files.c ftp.c \
	ftpcli.c ftpserv.c icmp.c icmpcmd.c icmpdump.c icmpmsg.c \
	iface.c ip.c ipcmd.c ipdump.c iproute.c kiss.c lapb.c \
	lapbtime.c lcsum.c mbuf.c misc.c ndir.c netuser.c pathname.c \
	session.c slip.c smisc.c smtpcli.c smtpserv.c sys5_io.c \
	sys5unix.c tcpcmd.c tcpdump.c tcpin.c tcpout.c tcpsubr.c \
	tcptimer.c tcpuser.c telnet.c timer.c tnserv.c trace.c \
	ttydriv.c udp.c udpcmd.c udpdump.c version.c wildmat.c

OBJS =	main.o arp.o arpcmd.o arpdump.o ax25.o ax25cmd.o \
	ax25dump.o ax25subr.o ax25user.o cmdparse.o files.o ftp.o \
	ftpcli.o ftpserv.o icmp.o icmpcmd.o icmpdump.o icmpmsg.o \
	iface.o ip.o ipcmd.o ipdump.o iproute.o kiss.o lapb.o \
	lapbtime.o lcsum.o mbuf.o misc.o ndir.o netuser.o pathname.o \
	session.o slip.o smisc.o smtpcli.o smtpserv.o sys5_io.o \
	sys5unix.o tcpcmd.o tcpdump.o tcpin.o tcpout.o tcpsubr.o \
	tcptimer.o tcpuser.o telnet.o timer.o tnserv.o trace.o \
	ttydriv.o udp.o udpcmd.o udpdump.o version.o wildmat.o

net:	$(OBJS)
	$(CC) $(CFLAGS) -o net.debug $(OBJS) $(LIBS)
	cp net.debug net
	strip net

lint:	$(SRCS)
	lint $(LINTFLAGS) $(SRCS) > lint.out 2>&1

mkdep:
	depend $(LINTFLAGS) $(SRCS) > depend.out

tar:
	pdtar cvf svnet.tar make* depend depend.out hosts.net ftpusers \
		startup.net *.[hc] *.orig *.ori
	compress -f svnet.tar

include depend.out