開発日記/2006-12-08

Linuxにqmailインストール

dokuwiki.fl8.jp掲載済

これを実行するとエラーが表示される。

# 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>