Closed atimin closed 14 years ago
Yes, this is a known issue. There are differences in the 1.8 and 1.9 IO libs.
I saw your fork. Will pull it.
This has been fixed (RUBY_1_9) merged in experimental branch. Thank you!
Yes, I create fork for this issue. Now serialport compiled for Ruby1.9 but don;t run((((( http://groups.google.com/group/rubyinstaller/browse_thread/thread/92ecf042368082fb/1fcd36661473bfba#1fcd36661473bfba
C:/Ruby19/bin/ruby.exe extconf.rb checking for OS... mingw creating Makefile
make gcc -I. -IC:/Ruby19/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby19/include/ruby-1.9.1/ruby/backward -I/C/Ruby19/include/ruby-1.9.1 -Isrc -O2 -g -Wall -Wno-parentheses -DOS_MINGW -DRUBY_19 -o posix_serialport_impl.o -c src/posix_serialport_impl.c gcc -I. -IC:/Ruby19/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby19/include/ruby-1.9.1/ruby/backward -I/C/Ruby19/include/ruby-1.9.1 -Isrc -O2 -g -Wall -Wno-parentheses -DOS_MINGW -DRUBY_19 -o serialport.o -c src/serialport.c gcc -I. -IC:/Ruby19/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby19/include/ruby-1.9.1/ruby/backward -I/C/Ruby19/include/ruby-1.9.1 -Isrc -O2 -g -Wall -Wno-parentheses -DOS_MINGW -DRUBY_19 -o win_serialport_impl.o -c src/win_serialport_impl.c src/win_serialport_impl.c: In function
get_handle_helper': src/win_serialport_impl.c:38: error:
fptr' undeclared (first use in this function) src/win_serialport_impl.c:38: error: (Each undeclared identifier is reported only once src/win_serialport_impl.c:38: error: for each function it appears in.) src/win_serialport_impl.c: In functionsp_create_impl': src/win_serialport_impl.c:47: error:
fp' undeclared (first use in this function) src/win_serialport_impl.c:78: error: structure has no member namedptr' src/win_serialport_impl.c: In function
get_line_signals_helper_impl': src/win_serialport_impl.c:543: warning: passing arg 2 of `GetCommModemStatus' from incompatible pointer type make: *\ [win_serialport_impl.o] Error 1I'm using: rubyinstaller-1.9.1-p243-rc1 with devkit devkit-3.4.5r3 OS: Windosws XP, Windows 7