From: coma_killen@... Date: 2003-01-27T08:58:49+09:00 Subject: "undefined ref to 'flock'" when compiling 1.8 under cygwin Hi, Trying to build Ruby 1.8 preview under cygwin. When doing a straight cygwin build (configure --enable-shared) it can't find flock: gcc -g -O2 main.o dmyext.o libcygwin-ruby18-static.a -lcrypt -o miniruby.ex e libcygwin-ruby18-static.a(file.o): In function `rb_file_flock': /tmp/ruby-1.8.0/file.c:1799: undefined reference to `flock' collect2: ld returned 1 exit status make: *** [miniruby.exe] Error 1 and when trying to build with mingw32 (configure --with-gcc='gcc -mno-cygwin' --enable-shared) it doesn't install extensions: $ make install ./miniruby.exe ./instruby.rb --make="make" --make-flags="- --unix --unix" bin/erb -> /usr/local/bin/erb chmod 0755 /usr/local/bin/erb bin/irb -> /usr/local/bin/irb chmod 0755 /usr/local/bin/irb ./miniruby.exe ./ext/extmk.rb --make="make" --make-flags="- --unix --unix DESTDI R=" install installing curses make[1]: Entering directory `/tmp/ruby-1.8.0/ext/curses' make[1]: *** No rule to make target `0755'. Stop. make[1]: Leaving directory `/tmp/ruby-1.8.0/ext/curses' installing win32ole make[1]: Entering directory `/tmp/ruby-1.8.0/ext/win32ole' make[1]: *** No rule to make target `0755'. Stop. make[1]: Leaving directory `/tmp/ruby-1.8.0/ext/win32ole' What am I doing wrong? Regards, Karsten -- http://fastmail.fm - IMAP accessible web-mail