[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:43838] Re: Debian(sarge)でezmlm-0.53インストール



At Thu, 23 Jun 2005 17:03:15 +0900,
Nov wrote:
> ・エラー内容(make時)
> ./compile ezmlm-manage.c
> ezmlm-manage.c: In function `main':
> ezmlm-manage.c:320: error: incompatible type for argument 1 of `log'

libm (math.h) の log(3) と ezmlm の log.c の log() 関数が
衝突しているためです。

ezmlm-manage.c の先頭のほうに

    void log(char *,char *);

とでも追加すれば、警告だけで済むようになるかと。

> ezmlm-manage.c:320: error: too many arguments to function `log'
> ezmlm-manage.c:331: error: incompatible type for argument 1 of `log'
> ezmlm-manage.c:331: error: too many arguments to function `log'
> ezmlm-manage.c:135: warning: return type of `main' is not `int'
> make: *** [ezmlm-manage.o] Error 1

-- 
-- Name: SATOH Fumiyasu  -- Home: http://www.sfo.jp (in Japanese only)
-- Mail: fumiya at net-thrust.com, samba.gr.jp, namazu.org or ...