Skip to content

Windows install problem #6

Description

@bryn

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions