Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows install problem #6

Open
bryn opened this issue Jul 13, 2010 · 1 comment
Open

Windows install problem #6

bryn opened this issue Jul 13, 2010 · 1 comment

Comments

@bryn
Copy link

bryn commented Jul 13, 2010

Any idea on what's causing the following error?


C:\Documents and Settings\acme>gem install SystemTimer
Building native extensions. This could take a while...
ERROR: Error installing SystemTimer:
ERROR: Failed to build gem native extension.

C:/Ruby187/bin/ruby.exe extconf.rb
creating Makefile

make
gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -g -O2 -
DFD_SETSIZE=256 -c system_timer_native.c
system_timer_native.c: In function install_first_timer_and_save_original_configuration': system_timer_native.c:39: error: storage size of 'timer_interval' isn't known system_timer_native.c:48: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:48: error: (Each undeclared identifier is reported only once
system_timer_native.c:48: error: for each function it appears in.)
system_timer_native.c:59: error: invalid use of undefined type struct sigaction' system_timer_native.c:60: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c:77: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c:91: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function install_next_timer': system_timer_native.c:104: error: storage size of 'timer_interval' isn't known system_timer_native.c:114: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:125: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c:138: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function restore_original_configuration': system_timer_native.c:152: error:SIG_BLOCK' undeclared (first use in this function)
system_timer_native.c:163: error: invalid use of undefined type struct sigaction' system_timer_native.c:165: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c:170: error: invalid use of undefined type struct sigaction' system_timer_native.c: In functionrestore_original_timer_interval':
system_timer_native.c:185: error: ITIMER_REAL' undeclared (first use in this function) system_timer_native.c: In functionrestore_sigalrm_mask':
system_timer_native.c:193: error: SIGALRM' undeclared (first use in this function) system_timer_native.c:194: error:SIG_UNBLOCK' undeclared (first use in this function)
system_timer_native.c: In function init_sigalarm_mask': system_timer_native.c:268: error:SIGALRM' undeclared (first use in this function)
system_timer_native.c: In function set_itimerval': system_timer_native.c:288: error: dereferencing pointer to incomplete type system_timer_native.c:289: error: dereferencing pointer to incomplete type system_timer_native.c:290: error: dereferencing pointer to incomplete type system_timer_native.c:291: error: dereferencing pointer to incomplete type system_timer_native.c:291: error: dereferencing pointer to incomplete type system_timer_native.c:294: error: dereferencing pointer to incomplete type system_timer_native.c:295: error: dereferencing pointer to incomplete type system_timer_native.c: At top level: system_timer_native.c:21: error: storage size oforiginal_signal_handler' isn't known
system_timer_native.c:22: error: storage size of `original_timer_interval' isn't known
make: *** [system_timer_native.o] Error 1

@banta
Copy link

banta commented Dec 20, 2011

I'm also having the same problem, but will figure it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants