On Wednesday 12 October 2005 11:01 am, Net wrote: > ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \ > timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ > received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ > datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ > alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \ > socket.lib` dns.o `cat dns.lib`
this isn't complete. > qmail-smtpd.o(.text+0x32): In function `safewrite': > : undefined reference to `chkuser_cleanup' > > qmail-smtpd.o(.text+0x75): In function `die_read': > : undefined reference to `chkuser_cleanup' > > qmail-smtpd.o(.text+0x99): In function `die_alarm': > : undefined reference to `chkuser_cleanup' > > qmail-smtpd.o(.text+0xbd): In function `die_nomem': > : undefined reference to `chkuser_cleanup' > > qmail-smtpd.o(.text+0xe1): In function `die_control': > : undefined reference to `chkuser_cleanup' > > qmail-smtpd.o(.text+0x105): more undefined references to > `chkuser_cleanup' follow > > qmail-smtpd.o(.text+0xacd): In function `smtp_mail': > : undefined reference to `chkuser_sender' > > qmail-smtpd.o(.text+0xbdc): In function `smtp_rcpt': > : undefined reference to `chkuser_realrcpt' > > qmail-smtpd.o(.text+0x26d): In function `smtp_quit': > : undefined reference to `chkuser_cleanup' > > collect2: ld returned 1 exit status\ > make: *** [qmail-smtpd] Error 1 when you applied the chkuser patch, one of the chunks failed. Have a look at Makefile.rej and apply the failed chunk manually. > I even modify the Makefile to: > load qmail-smtpd.o chkuser.o rcpthosts.o You can't just randomly toss stuff into the makefile and hope it works. When you have failed chunks from a patch, look at the file.rej file and it will tell you what chunks failed. From there it should be pretty easy to apply the failed chunk manually. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob.
pgpRM6wpqtXSF.pgp
Description: PGP signature