> Nazghul wrote:
> 
> Hi, I'm trying to compile vpopmail 4.10.21 in a Red Hat 7.1 and also
> in a Mandrake 7.2 box, but I'm having the following problem:
> 
> The configure script is invoqued like this from the RPM spec:
> 
> ./configure --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp \
>  --enable-roaming-users=y --enable-tcprules-prog=/usr/bin/tcprules \
>  --enable-relay-clear-minutes=30 --enable-logging=y
> --enable-qmail-ext=y \
>  --enable-ip-alias-domains=y --enable-passwd=n
> 
> The configuration goes Ok and the make proces gives me the following
> error:
> 
> ...
> ...
> ...
> gcc -I. -Icdb        -g -O2 -Wall -c vpopmail.c
> gcc -I. -Icdb        -g -O2 -Wall -c md5.c
> gcc -I. -Icdb        -g -O2 -Wall -c bigdir.c
> gcc -I. -Icdb        -g -O2 -Wall -c vauth.c
> vauth.c: In function 'vdel_ip_map' :
> vauth.c:819: warning: implicit declaration of function 'spnrintf'
> gcc -I. -Icdb        -g -O2 -Wall -c file_lock.c
> gcc -I. -Icdb        -g -O2 -Wall -c vpalias.c
> rm -f libvpopmail.a
> ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o
> vpalias.o cdb
> /*.o
> ranlib libvpopmail.a
> gcc -I. -Icdb        -g -O2 -Wall -c vchkpw.c
> gcc -g -O2 -Wall -o vchpw vchpw.o libvpopmail.a -lnsl -lcrypt
> libvpopmail.a(vauth.o) : In function 'vdel_ip_map' :
> /usr/src/RPM/BUILD/vpopmail-4.10.21/vauth.c:819: undefined reference
> to 'spnrint
> f'
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory '/usr/src/RPM/BUILD/vpopmail-4.10.21'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/usr/src/RPN/BUILD/vpopmail-4.10.21'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /var/tmp/rpm-tmp.25136 (%install)
> 
> The machine is destinated to a test environment, it has 96 MB Ram, 6
> GB HD, qmail is instaled and is invoqued from tcpserver.
> 
> Any body can give me a clue to what to do.

Hahah. That's a good one. It's a typo
edit the file and change:
spnrint to
snprintf

I'll post it to the next release.

Ken Jones
inter7

Reply via email to