[tpop3d-discuss]error

Tasos Rontsis tasos at c-lab.gr
Fri, 26 Mar 2004 21:38:28 -0800


> hi, i tryed to compile tpop3d on my rhat9 pc
>
> ./configure seems to be ok (./configure --disable-auth-pam  
> --enable-auth-mysql)
>
> when i am trying to do the "make" i am getting some errors.
>
> [root@stuff tpop3d-1.5.3]# make
> make  all-recursive
> make[1]: Entering directory `/home/virus/pop3/tpop3d-1.5.3'
> Making all in init.d
> make[2]: Entering directory `/home/virus/pop3/tpop3d-1.5.3/init.d'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/virus/pop3/tpop3d-1.5.3/init.d'
> Making all in config
> make[2]: Entering directory `/home/virus/pop3/tpop3d-1.5.3/config'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/virus/pop3/tpop3d-1.5.3/config'
> make[2]: Entering directory `/home/virus/pop3/tpop3d-1.5.3'
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_mysql.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_pgsql.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_ldap.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_other.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_perl.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_pam.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_passwd.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c auth_flatfile.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c authcache.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c authswitch.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c buffer.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c cfgdirectives.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c config.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c connection.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c ioabs_tcp.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c ioabs_tls.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c listener.c
> listener.c: In function `listener_new':
> listener.c:59: warning: missing braces around initializer
> listener.c:59: warning: (near initialization for `as__z.sin')
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c locks.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c logging.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c mailbox.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c maildir.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c mailspool.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c main.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c md5c.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c netloop.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c password.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c pidfile.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c pop3.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c signals.c
> signals.c: In function `set_signals':
> signals.c:70: warning: missing braces around initializer
> signals.c:70: warning: (near initialization for `sa.__sigaction_handler')
> signals.c: In function `die_signal_handler':
> signals.c:114: warning: missing braces around initializer
> signals.c:114: warning: (near initialization for 
> `sa.__sigaction_handler')
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c stringmap.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c strtok_r.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c substvars.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c tls.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c tokenise.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c util.c
> util.c: In function `xsignal':
> util.c:115: warning: missing braces around initializer
> util.c:115: warning: (near initialization for `sa.__sigaction_handler')
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/include/mysql  -Wall -g -O2 
> -DCONFIG_DIR='"/usr/local/etc"'  -c vector.c
> gcc  -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -L/usr/lib/mysql -o 
> tpop3d  auth_mysql.o auth_pgsql.o auth_ldap.o auth_other.o auth_perl.o 
> auth_pam.o auth_passwd.o auth_flatfile.o authcache.o authswitch.o 
> buffer.o cfgdirectives.o config.o connection.o ioabs_tcp.o ioabs_tls.o 
> listener.o locks.o logging.o mailbox.o maildir.o mailspool.o main.o 
> md5c.o netloop.o password.o pidfile.o pop3.o signals.o stringmap.o 
> strtok_r.o substvars.o tls.o tokenise.o util.o vector.o  -lmysqlclient 
> -lz -lm -lcrypt
> make[2]: Leaving directory `/home/virus/pop3/tpop3d-1.5.3'
> make[1]: Leaving directory `/home/virus/pop3/tpop3d-1.5.3'
>
> what am i doing wrong ?! ... thnks
>