at the top of misc.h there's a missing
#include <time.h>
add the line and it'll compile just fine - changes will be made shortly
regards roel
Op 31-jan-04 om 7:14 heeft Bruno Bauer het volgende geschreven:
I am happy about 2.0 but since it is not yet in debian I have to
compile
myself.
system: Debian/testing, gcc 2.95 or 3.3 (same)
mysql 4.0.16
../configure did well,
make all:
......
make[2]: Leaving directory `/home/knoppix/dbmail-2.0rc1/sort'
make[2]: Entering directory `/home/knoppix/dbmail-2.0rc1'
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c config.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c debug.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c list.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c dbmd5.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c md5.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c db.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -W -Wall -Wpointer-arith
-Wstrict-prototypes -O2 -c misc.c
misc.c: In function `create_current_timestring':
misc.c:102: error: storage size of `tm' isn't known
misc.c:104: Warnung: implicit declaration of function `time'
misc.c:108: Warnung: implicit declaration of function `localtime'
misc.c:108: error: invalid type argument of `unary *'
misc.c:109: Warnung: implicit declaration of function `strftime'
misc.c:102: Warnung: unused variable `tm'
make[2]: *** [misc.o] Fehler 1
make[2]: Leaving directory `/home/knoppix/dbmail-2.0rc1'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/knoppix/dbmail-2.0rc1'
make: *** [all-recursive-am] Fehler 2
what is wrong/missing?
thanks
BB
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_________________________
R.A. Rozendaal
IC&S
T: +31 30 63 55 736
F: +31 30 63 55 731
www.ic-s.nl
_________________________
R.A. Rozendaal
IC&S
T: +31 30 63 55 736
F: +31 30 63 55 731
www.ic-s.nl