From: Charlie Savage Date: 2010-05-07T04:31:04+09:00 Subject: [ruby-core:30065] [Bug #3231] Digest Does Not Build Issue #3231 has been updated by Charlie Savage. File Makefile added Ok, I see what is happening. The include is pulling in digest/extconf.h, not digest/md5/extconf.h. Thus the compile breaks. The makefile has this: CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" Include/ruby/ruby.h (in the source tree) has this: #ifdef RUBY_EXTCONF_H #include RUBY_EXTCONF_H #endif But if you do this: cd /ext/digest/md5 nmake Then for whatever reason the wrong extconf.h file is being used. Attaching the generated makefile if it helps. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3231 ---------------------------------------- http://redmine.ruby-lang.org