[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation/RPM creation problems

Hi. I am having trouble compiling Zmailer 2.99.53-pre1 on RH 6.2 with tcp-wrappers support. The thing compiles just fine in Debian. Here's what I am getting:

cc   -DHAVE_CONFIG_H -I./../include -I../include -I.. -I/usr -o scheduler.x scheduler.o readconfig.o conf.o agenda.o transport.o pipes.o update.o qprint.o msgerror.o resources.o threads.o wantconn.o mq2.o mq2auth.o version.o -L../libs -lzm -lzc  -lta -lsfio -L/usr -lwrap -lresolv  
/usr/bin/../lib/libwrap.a(hosts_access.o): In function `host_match':
hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
make[1]: *** [scheduler] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/zmailer-2.99.53_pre1/scheduler'
make: *** [all] Error 1
Bad exit status from /var/tmp/rpm-tmp.13294 (%build)

Also if I compile it without tcp-wrappers rpm doesn't build a binary package. Any ideas? Thanks.