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

Re: smtp-auth compile problem...

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. 

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?