From: gotoken@... (GOTO Kentaro) Date: 2000-08-19T23:00:25+09:00 Subject: [ruby-list:24281] Re: cygwin で configure 不能 :cygwin1.dll の問題 ごとけんです # Cygwin のことはほとんど知らないのですが In message "[ruby-list:24280] RE: [ruby-list:24268] cygwinでconfigure不能:cygwin1.dllの問題" on 00/08/19, "Mitsuo Igarashi" writes: >ruby-1.4.5をインストールしてある所に、cygwin-b20.1のfull.exeを βではなくリリース版があるので、そちらを使われるのが良いと思 います。少なくとも僕のところでは Cygwin 1.1 (Window 2000 / P5 133MHz + 48MByte)でRuby 1.4.6が問題無くminiruby.exeまで出 来ました。 miniruby まで、というのは ext でコケたからです。 gcc -g -O2 main.o dmyext.o libruby.a -o miniruby.exe compiling Win32API make[1]: Entering directory `/home/chaos/gotoken/ruby-1.4.6/ext/Win32API' gcc -I/home/chaos/gotoken/ruby-1.4.6 -I/home/chaos/gotoken/ruby-1.4.6 -g -O2 -fno-defer-pop -I/usr/local/include -c -o Win32API.o Win32API.c dllwrap --export-all -s -o Win32API.dll Win32API.o Warning: no export definition file provided dllwrap will create one, but may not be what you want Win32API.o: In function `Win32API_initialize': /home/chaos/gotoken/ruby-1.4.6/ext/Win32API/Win32API.c:57: undefined reference to `rb_eRuntimeError' /home/chaos/gotoken/ruby-1.4.6/ext/Win32API/Win32API.c:57: undefined reference to `rb_raise' (中略) /home/chaos/gotoken/ruby-1.4.6/ext/Win32API/Win32API.c:244: undefined reference to `rb_define_alias' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make[1]: *** [Win32API.dll] Error 1 make[1]: Leaving directory `/home/chaos/gotoken/ruby-1.4.6/ext/Win32API' Cygwinについてはまとまった情報もあります: http://www2.raidway.ne.jp/%7Eyzone/cygwin.html >インストールしました。cygwin1.dll が二つになりました。 cygwin*.dll が複数パスにあると実行時に混乱するようですから、 CygwinおよびDLL全体を一旦全部消すなり見えないとこに移すなり して、インストールし直すのが吉だと思います。 -- gotoken # FreeBSD 4.0 でクロスコンパイル環境が何故か作れない…