发新话题
打印

如何解决编译错误

如何解决编译错误


各位大侠, 小弟在sun sparc , solaris 2.6 上新下载了postfix1.1.7 代替sendmail 可是连编译
都过不去, 总是出现:/usr/include/sys/stat.h:253: parse error before "blksize_t"
dict.c: In function `dict_changed':
dict.c:501: storage size of `st' isn't known
make: *** [dict.o] Error 1
make: *** [update] Error 1 类似的错误.
编译 sendmail-10 也是同样的错误, 可sunfreeware.com 上只提供sendmail 8.9 编译好了的文件.
莫非只能用sendmail 8.9? gcc, make 正常.
请教如何解决?谢谢 :confused:       

TOP

发新话题