■掲示板に戻る■ 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 1001- 最新50



レス数が1000を超えています。残念ながら全部は表示しません。

Cygwin使っている人いますか? part2

944 :福だ :02/01/15 12:18
他の掲示板に投稿したのですが、レスがつかないので、困っています。
よろしくお願いします。

自作アプリを make したところ、ctype(3) を使用している関数に
以下のようなリンクエラーが発生しました。

Warning: resolving __ctype_ by linking to __imp___ctype_ (auto-import)
SrcName.o: In function `FunctionName':
SrcName.c:nn: variable '_ctype_' can't be auto-imported.
Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
make: *** [ProcName] Error 1

/usr/include/ctype.c には、

extern __IMPORT _CONST char _ctype_[];

と、宣言されているので、man ld の --enable-auto-import に
記載されている Solution2 で対応されていると思うのですが、
具体的にどうすれば auto-imported されるのか解かりません。

どなたか、ご指導の程、宜しくお願いします。

Win2000pro に cygwin 1.3.6-6 をインストールしています。


read.cgi ver5.26+ (01/10/21-)