開発日記/2006-12-08 の変更点


*Linuxにqmailインストール [#s5b97d9f]

[[dokuwiki.fl8.jp掲載済>http://dokuwiki.fl8.jp/doku.php/50_dialy/2006/12/08]]

これを実行するとエラーが表示される。
 # make setup check
 
 auto-str.c:17: warning: return type of `main' is not `int'
 ./load auto-str substdio.a error.a str.a 
 substdio.a(substdo.o)(.text+0x43): In function `allwrite':
 : undefined reference to `errno'
 collect2: ld returned 1 exit status
 make: *** [auto-str] Error 1

エラーで検索してみると
qmail-1.03/error.hを編集する事で回避できるらしい
 extern int errno; 
 を 
 #include <errno.h>