All pastes #257068 Raw Edit

Anonymous

public text v1 · immutable
#257068 ·published 2006-11-24 22:58 UTC
rendered paste body
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \
byte_diff.o byte_rchr.o byte_zero.o case_diffb.o \
case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
uint16_unpack.o uint32_pack.o uint32_unpack.o
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \
dns.a time.a unix.a byte.a  `cat socket.lib`
tcpserver.o(.text+0x800): In function `doit':
: undefined reference to `errno'
remoteinfo.o(.text+0x66): In function `mywrite':
: undefined reference to `errno'
remoteinfo.o(.text+0xf2): In function `myread':
: undefined reference to `errno'
timeoutconn.o(.text+0x41): In function `timeoutconn':
: undefined reference to `errno'
timeoutconn.o(.text+0xcb): In function `timeoutconn':
: undefined reference to `errno'
cdb.a(cdb.o)(.text+0xda): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1