This is a discussion on rblsmtpd error compiling within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi all, I'm having this error when I compile rbl... root@server3:/usr/local/src/rblsmtpd-0.70# make ../...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I'm having this error when I compile rbl... root@server3:/usr/local/src/rblsmtpd-0.70# make ../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+0x3db): In function `main': : undefined reference to `res_init' txt.o(.text+0xd1): In function `txt': : undefined reference to `__res_query' txt.o(.text+0x144): In function `txt': : undefined reference to `__dn_expand' txt.o(.text+0x195): In function `txt': : undefined reference to `__dn_expand' collect2: ld returned 1 exit status make: *** [rblsmtpd] Error 1 Could You help me? Thanks Giulio |
|
|||
|
On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net> may have written:
> Hi all, > I'm having this error when I compile rbl... > > root@server3:/usr/local/src/rblsmtpd-0.70# make > ./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+0x3db): In function `main': >: undefined reference to `res_init' > txt.o(.text+0xd1): In function `txt': >: undefined reference to `__res_query' > txt.o(.text+0x144): In function `txt': >: undefined reference to `__dn_expand' > txt.o(.text+0x195): In function `txt': >: undefined reference to `__dn_expand' > collect2: ld returned 1 exit status > make: *** [rblsmtpd] Error 1 You give very little information about your system, but from those errors it looks like you are missing DNS resolving libraries. libresolv should be what you are looking for. -- Brian T Glenn delink.net Internet Services |
|
|||
|
Brian T Glenn wrote:
> On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net> > may have written: >> Hi all, >> I'm having this error when I compile rbl... >> > > You give very little information about your system, but from those > errors it looks like you are missing DNS resolving libraries. > libresolv > should be what you are looking for. Excuse me for lack of informations. It deals with a Slackware 9.0 brand new box on a P200 running quite well. I Thought I installed all the libs within the slack install cd... I'll see. Thanks Giulio |
|
|||
|
On Thu, 16 Oct 2003 16:32:21 +0200, Giulio <giulio_n@softhome.net>
may have written: > Brian T Glenn wrote: >> On Wed, 15 Oct 2003 16:29:11 +0200, Giulio <giulio_n@softhome.net> >> may have written: >>> Hi all, >>> I'm having this error when I compile rbl... >>> > >> >> You give very little information about your system, but from those >> errors it looks like you are missing DNS resolving libraries. >> libresolv >> should be what you are looking for. > > Excuse me for lack of informations. > It deals with a Slackware 9.0 brand new box on a P200 running quite well. > I Thought I installed all the libs within the slack install cd... I'll see. Keep in mind when you are compiling against a library, you will also need its header file. Most OS packages keep this "development" stuff in a separate package from the actual library. Try installing the "dev" or "devel" package that matches the name of the package that contains the DNS resolver library. HTH, -- Brian T Glenn delink.net Internet Services |