Re: PostFix - and how to make it


Subject: Re: PostFix - and how to make it
From: Rob Brandt (rbrandt@sbdsl.com)
Date: Sun Jul 01 2001 - 18:00:57 MDT


Takashi;

I've looked through the postfix documentation and if it says somewhere that
it needs "yp-" I don't see it. The "Install" file seems to assume a full
set of development tools installed. It does say to have db3-devel
installed, which I do. I have now verified that yp-tools and ypbind were
installed, and have added ypserv, which was missing. Running make, I still
get the same errors:

gcc -Wmissing-prototypes -Wformat -g -O -I. -I../../include -DLINUX2 -o
error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
-ldb
../../lib/libutil.a(dict_nis.o): In function `dict_nis_init':
/root/postfix-20010228-pl03/src/util/dict_nis.c:81: undefined reference to
`yp_get_default_domain'
/root/postfix-20010228-pl03/src/util/dict_nis.c:81: relocation truncated to
fit: R_PPC_REL24 yp_get_default_domain
../../lib/libutil.a(dict_nis.o): In function `dict_nis_lookup':
/root/postfix-20010228-pl03/src/util/dict_nis.c:156: undefined reference to
`yp_match'
/root/postfix-20010228-pl03/src/util/dict_nis.c:156: relocation truncated to
fit: R_PPC_REL24 yp_match
/root/postfix-20010228-pl03/src/util/dict_nis.c:170: undefined reference to
`yp_match'
/root/postfix-20010228-pl03/src/util/dict_nis.c:170: relocation truncated to
fit: R_PPC_REL24 yp_match
collect2: ld returned 1 exit status
make: *** [error] Error 1
make: *** [update] Error 1

What now?

Rob

At 10:17 AM 7/1/01 -0500, you wrote:
>On Sat, 30 Jun 2001 21:40:11 -0700, Rob Brandt wrote:
>
> > Thanks Takashi - once again you've been more than helpful.
> >
> > Progress Made! After installing glibc-devel running "make" did a
> > whole bunch of stuff and ran for a long time. But it still had
> > errors at the end. Here's the last screen's worth of output:
> >
> > gcc -Wmissing-prototypes -Wformat -g -O -I. -I../../include -DLINUX2 -o
> > sendmail sendmail.o ../../lib/libglobal.a ../../lib/libutil.a -ldb
> > cp sendmail ../../bin
> > [src/error]
> > gcc -Wmissing-prototypes -Wformat -g -O -I. -I../../include -DLINUX2 -c
> > error.cgcc -Wmissing-prototypes -Wformat -g -O -I. -I../../include
> -DLINUX2
> > -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a
> > ../../lib/libutil.a -ldb
> > ../../lib/libutil.a(dict_nis.o): In function `dict_nis_init':
> > /root/postfix-20010228-pl03/src/util/dict_nis.c:81: undefined reference to
> > `yp_get_default_domain'
>
>You are missing yp-... packages. I'd think documentation from
>postfix should have told you that, really.
>
>
>Takashi Oe



This archive was generated by hypermail 2a24 : Sun Jul 01 2001 - 17:06:26 MDT