I've run into countless problems compiling stuff on Solaris 8. The first
thing you should do is make sure you are using a recent version of gcc, not
the cc or gcc that came with Solaris. You may have to change configure to
point to your new gcc. Find gcc and other precompiled binaries at

I also found some tidbits that are Solaris specific on the life with qmail

Take Care,

Tony Rini

-----Original Message-----
From: Joseph Bruzzo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 24, 2004 7:14 AM
Subject: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9

Hi to all,

I am trying to compile vpopmail-5.4.0 on a SUN Ultra 5 running Solaris 9
with all the security and recommended patches.  But I keep on getting
this error that for the life of me I can not figure it out.

Can anyone help???

my Configuration options are as follows:

bash-2.05# crle -c /var/ld/ld.config -l

bash-2.05# ./configure --enable-roaming-users=n --enable-logging=p
--enable-ip-alias-domains=n --enable-passwd=n --enable-clear-passwd=y
--enable-domain-quotas=n --enable-auth-module=mysql
--enable-libdir=/usr/local/mysql/lib --enable-many-domains=n
--enable-auth-logging=y --enable-mysql-logging=y --enable-valias=y

            vpopmail 5.4.0
            Current settings

vpopmail directory = /var/vpopmail
               uid = 725
               gid = 725
     roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
     md5 passwords = ON  --enable-md5-passwords (default)
      file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
     make seekable = ON  --enable-make-seekable (default)
      clear passwd = ON  --enable-clear-passwd (default)
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
          ip alias = OFF --disable-ip-alias-domains (default)
     domain quotas = OFF --disable-domainquotas (default)
       auth module = mysql --enable-auth-module=mysql
 mysql replication = OFF --disable-mysql-replication (default)
     mysql logging = ON  --enable-mysql-logging
      mysql limits = OFF --disable-mysql-limits (default)
      MySQL valias = ON  --enable-valias
          auth inc = -I/usr/local/mysql/include
          auth lib = -L/usr/local/mysql/lib -R${exec_prefix}/lib
-lmysqlclient -lz
  system passwords = OFF --disable-passwd (default)
        pop syslog = show failed attempts with clear text password
      auth logging = ON  --enable-auth-logging (default)
one domain per SQL table     = --disable-many-domains

bash-2.05# /usr/ccs/bin/make  ## This produces the error below...

gcc -I. -I/usr/local/mysql/include  -I. -I. -I.     -g -O2 -Wall -c
`test -f 'vchkpw.c' || echo './'`vchkpw.c gcc -I.
-I/usr/local/mysql/include -I. -I. -I.     -g -O2 -Wall -c `test -f
'hmac_md5.c' || echo
'./'`hmac_md5.c hmac_md5.c: In function `hmac_md5':
hmac_md5.c:52: warning: implicit declaration of function `bzero'
hmac_md5.c:54: warning: implicit declaration of function `bcopy'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
-L/usr/local/mysql/lib -R/usr/local/lib -lmysqlclient -lz -lcrypt
Undefined                       first referenced
 symbol                             in file
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o) floor
           /usr/local/mysql/lib/libmysqlclient.a(password.o) inet_addr
/usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown
         /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect
fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/tmp/vpopmail-5.4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vpopmail-5.4.0'
make: *** [all] Error 2

Any help will be greatly appreciated.  Also, thank you in advance.

HigherAccess.com for web and email hosting needs.

Reply via email to