On Mon, May 06, 2002 at 09:57:41PM +0000, Rajesh Fowkar wrote:
>
> rblcheck.o: In function `do_rblcheck':
> /home/rajesh/tmp/compile/blackmail-0.31.pre5/rblcheck.c:173: undefined
> reference to `__res_query'
[snipped]
> /home/rajesh/tmp/compile/blackmail-0.31.pre5/dulcheck.c:182: undefined
> reference to `__res_query'
> dulcheck.o:/home/rajesh/tmp/compile/blackmail-0.31.pre5/dulcheck.c:198:
> more undefined references to `__res_query' follow
> collect2: ld returned 1 exit status
> make: *** [blackmail] Error 1
> rajesh@debian:~/tmp/compile/blackmail-0.31.pre5$
>
> Were you successful in compiling blackmail ? Which version ?
>
---end quoted text---
o These are undefined references error ... need to set up your
compile time switches for gcc with -lresolv.
o I was successful
o blackmail-0.31.pre5 compiled without error ...
o Steps are:
a) $perl Configure auto
b) To the prompt "Use embedded perl ?" Choose No. Buggy!
b) A file called Makefile.tmpl will be created
c) Edit this file. In the last line add:
LDLIBS= -lresolv
d) $make
e) #make install (or checkinstall)
HTH
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Line numbering your programs (#4) LOST #154
Want a listing of your program with line numbers ?
Use `less -N my-file' to achieve the same effect with less.
This is useful when you want to browse a file with line nos
but do not want to save it that way.
####<[EMAIL PROTECTED]>#######################################
:
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help