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

[0140] Re: MacOS X で mod_encording



skywalkです

山田さんフォローありがとうございます
できそうでできないです(T.T)

次から次へと問題が。。。
MacOS Xにはgccがない。。。(らしい)
ccはあるのですがgccがないみたいです

Makefile の中の
"CC = gcc -Wall"を
"CC = cc -Wall"とか"CC = cc"などと
換えてみたりしました

すると以下のようなエラーが出ました。。。
私の技量では無理なんだろうか

と、ちょっとへこんでしまいます
(と言いつつもやる気だけはあるんですが・・・)

/usr/bin/cc -Wall -c -DHAS_ICONV iconv_hook_mssjis.c
/usr/include/sys/dirent.h:73: undefined type, found `u_int32_t'
/usr/include/sys/dirent.h:74: undefined type, found `u_int16_t'
/usr/include/sys/dirent.h:75: undefined type, found `u_int8_t'
/usr/include/sys/dirent.h:76: undefined type, found `u_int8_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from /usr/include/dirent.h:64,
                 from iconv_hook_mssjis.c:9:
/usr/include/sys/dirent.h:73: parse error before `u_int32_t'
/usr/include/sys/dirent.h:73: warning: no semicolon at end of struct or union
/usr/include/sys/dirent.h:74: warning: type defaults to `int' in declaration of
`d_reclen'
/usr/include/sys/dirent.h:74: warning: data definition has no type or storage cl
ass
/usr/include/sys/dirent.h:75: parse error before `d_type'
/usr/include/sys/dirent.h:75: warning: type defaults to `int' in declaration of
`d_type'
/usr/include/sys/dirent.h:75: warning: data definition has no type or storage cl
ass
/usr/include/sys/dirent.h:76: parse error before `d_namlen'
/usr/include/sys/dirent.h:76: warning: type defaults to `int' in declaration of
`d_namlen'
/usr/include/sys/dirent.h:76: warning: data definition has no type or storage cl
ass
/usr/include/sys/dirent.h:83: parse error before `}'
iconv_hook.h:35: warning: `iconv_hook_module_init' defined but not used
make: *** [iconv_hook_mssjis.o] Error 1