On Wednesday 29 September 2004 01:57 pm, Paul Theodoropoulos wrote:
> i was getting many more errors before i added '-lsocket -lz' to the libs
> line, but i can't seem to get past this one error. suggestions?
>
> gcc  -o vqregister main.o cgi.o template.o global.o misc.o config.o
> register.o password.o vpopmail.o db.o field.o badhosts.o -L/u1/lib -lz
> -lmysqlclient -lvpopmail -lsocket -lcrypt -L/usr/local/mysql/lib
> -lmysqlclient
> /usr/local/mysql/lib/libmysqlclient.a(password.o)(.text+0x50c): In function
>
> `scramble':
> : undefined reference to `floor'

I think it also needs -lm (math)

vqadmin should be using ~vpopmail/etc/lib_deps and ~vpopmail/etc/inc_deps ... 
what version of vqadmin/vpopmail are you using?

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
        kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
           GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc

Attachment: pgpZ0gl6Iszk6.pgp
Description: PGP signature

Reply via email to