[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problems with compiling rblsmtpd



this error occure while compiling rblsmtpd on debian 3.0r1:

./makelib fs.a fmt_str.o fmt_ulong.o scan_uint.o \
scan_ulong.o
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
( ( ./compile tryrsolv.c && ./load tryrsolv \
-lresolv `cat socket.lib` ) >/dev/null 2>&1 \
&& echo -lresolv || exit 0 ) > dns.lib
rm -f tryrsolv.o tryrsolv
./load rblsmtpd txt.o commands.o ip.o getopt.a strerr.a \
substdio.a stralloc.a alloc.a error.a case.a env.a str.a \
fs.a  `cat dns.lib` `cat socket.lib`
rblsmtpd.o(.text+0x3e4): In function `main':
: undefined reference to `res_init'
txt.o(.text+0xdb): In function `txt':
: undefined reference to `__res_query'
txt.o(.text+0x145): In function `txt':
: undefined reference to `__dn_expand'
txt.o(.text+0x19d): In function `txt':
: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [rblsmtpd] Error 1

i didn't find any good answers. has anybody a hint for me?

kradi



Reply to: