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

[plamo:10685] kernel 2.4.9 でのpcmcia-csコンパイルエラー



ソフトウエアリサーチの早間です。
勝手に騒いでいる感じですが、勝手に Subject 変えました。
pcmcia-3.1.28/wireless/wvlan_mdd.h の
    138 /* min and max macros */
    139 /* #if !defined(max) */
    140 #define max(a,b)  (((a) > (b)) ? (a) : (b))
    141 /* #endif */
    142 /* #if !defined(min) */
    143 #define min(a,b)  (((a) < (b)) ? (a) : (b))
    144 /* #endif */
と 139 行 の if と対応する 141行の endif 同じく 
   142 行 の if と対応する 144行の endif
をコメントにしました。まだ試していませんが(実機は自宅なので)コン
パイルはとおります。

In file included from wvlan_hcf.h:104,
                 from wvlan_cs.c:286:
wvlan_mdd.h:140: warning: `max' redefined
/usr/src/linux/include/linux/kernel.h:118: warning: this is the location of the previous definition
wvlan_mdd.h:143: warning: `min' redefined
/usr/src/linux/include/linux/kernel.h:116: warning: this is the location of the previous definition

と文句を言われます。これは修正がいい加減だからでしょう。

Follow-Ups
[plamo:10687] Re: kernel 2.4.7でのpcmcia-csコンパイルエラー, Shun-ichi TAHARA (田原 俊一)
[plamo:10688] Re: kernel 2.4.9 でのpcmcia-csコンパイルエラー, 早間義博
References
[plamo:10680] kernel 2.4.7 でのpcmcia-csコンパイルエラー, 早間義博
[plamo:10682] Re: kernel 2.4.7 でのpcmcia-csコンパイルエラー, 早間義博

[検索ページ] [メール一覧]
Plamo ML 公開システム