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

Doesn't compile on Windows #8

Open
jmthomas opened this issue Mar 5, 2015 · 0 comments
Open

Doesn't compile on Windows #8

jmthomas opened this issue Mar 5, 2015 · 0 comments

Comments

@jmthomas
Copy link

jmthomas commented Mar 5, 2015

I would love to use this on Windows if possible.

    C:/Ruby215p273/bin/ruby.exe extconf.rb
checking for rb_obj_gc_flags() in ruby/ruby.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... no
checking for time.h... yes
checking for clock_gettime()... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
generating gc_tracer-i386-mingw32.def
compiling gc_logging.c
In file included from gc_logging.c:15:0:
gc_tracer.h: In function 'setup_gc_trace_symbols':
gc_tracer.h:33:5: error: 'sym_rusage_timeval' undeclared (first use in this function)
gc_tracer.h:33:5: note: each undeclared identifier is reported only once for each function it appears in
gc_logging.c: In function 'fill_rusage':
gc_logging.c:150:16: error: 'struct gc_logging' has no member named 'filled_rusage'
gc_logging.c:151:9: error: 'struct gc_logging' has no member named 'filled_rusage'
gc_logging.c:152:2: warning: implicit declaration of function 'getrusage' [-Wimplicit-function-declaration
gc_logging.c:152:12: error: 'RUSAGE_SELF' undeclared (first use in this function)
gc_logging.c:152:33: error: 'struct gc_logging' has no member named 'rusage'
gc_logging.c: In function 'out_rusage':
gc_logging.c:243:60: error: 'struct gc_logging' has no member named 'rusage'
gc_logging.c:244:60: error: 'struct gc_logging' has no member named 'rusage'
gc_logging.c: At top level:
gc_logging.c:239:1: warning: 'out_rusage' defined but not used [-Wunused-function]
make: *** [gc_logging.o] Error 1

make failed, exit code 2
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

1 participant