[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Re: smtp-auth compile problem...]



aww crap - forgot to cc: this to the list :-/

-----Forwarded Message-----

> From: Mattt <mattt@xxxxxxxxxxxxxxxxx>
> To: Michael Devogelaere <michael@xxxxxxxxxx>
> Subject: Re: smtp-auth compile problem...
> Date: 17 Sep 2002 10:01:54 +1000
> 
> Hi Michael,
> 
>   My ./load reads :
> 
> ==========
> 
> #!/bin/sh
> # WARNING: This file was auto-generated. Do not edit!
> main="$1"; shift
> exec gcc -s -O2 -march=i386 -mcpu=i686 -o "$main" "$main".o ${1+"$@"}
> -L. -lsyncdir
> 
> ==========
> 
>   I've also verified that syncdir.c (but no other syndir.xxx) exists in
> the same folder...
> 
>   I'm not so sure the CPU (an old IDT Winchip ~200) is a 686-class, but
> surely this would not produce this error? I already have qmail-sql
> (compiled here) running... Unfortunately, need the smtp-auth :-/
> 
> 
> On Tue, 2002-09-17 at 01:54, Michael Devogelaere wrote:
> > Hello Mattt,
> > 
> > When compiling qmail, it first compiles the script 'load'. Could you
> > verify the contents of that script ? It adds a few options to gcc and
> > you definitely need the '-L.' option: it instructs ld to search the syncdir
> > library in the current path too. 
> > 
> > Regards,
> > Michael.
> > On Mon, Sep 16, 2002 at 11:53:22PM +1000, Mattt wrote:
> > > Greetings list,
> > > 
> > >   Having dramas incorporating smtp-auth...
> > > 
> > >   I can't get the auth and sql patches applied simultaneously - I've
> > > tried both ways around, and get a chunk error either way...
> > > 
> > >   So, I dl'ed the patched tarball (as I'm running Debian), and changed
> > > the relevant header stuff. When compiliing, it chokes with :
> > > 
> > > auto-str.c: In function `main':
> > > auto-str.c:15: warning: return type of `main' is not `int'
> > > ./load auto-str substdio.a error.a str.a 
> > > /usr/bin/ld: cannot find -lsyncdir
> > > collect2: ld returned 1 exit status
> > > make: *** [auto-str] Error 1
> > > 
> > >   Any idea what I'm missing here?
> > 
> -- 
> Cheers,
>  Mattt                            icq   : 117539757
>  Network and Tech Dood            www   : http://www.pulse.nq4u.net
>  mattt@xxxxxxxxxxxxxxxxx          jabber: mattt@xxxxxxxxxxxxxxxxxxxxxxxx
>  
>      What's got four legs and an arm?  A happy Pit Bull...
-- 
Cheers,
 Mattt                            icq   : 117539757
 Network and Tech Dood            www   : http://www.pulse.nq4u.net
 mattt@xxxxxxxxxxxxxxxxx          jabber: mattt@xxxxxxxxxxxxxxxxxxxxxxxx
 
     What's got four legs and an arm?  A happy Pit Bull...