Skip to content

Instantly share code, notes, and snippets.

@VorontsovIE
Created September 23, 2012 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VorontsovIE/3769663 to your computer and use it in GitHub Desktop.
Save VorontsovIE/3769663 to your computer and use it in GitHub Desktop.
gem intall oj - log
C:/Ruby193/bin/ruby.exe extconf.rb
>>>>> Creating Makefile for ruby version 1.9.3 <<<<<
creating Makefile
make
generating oj-i386-mingw32.def
compiling cache.c
cache.c: In function 'oj_cache_new':
cache.c:54:5: warning: implicit declaration of function 'bzero'
cache.c:54:5: warning: incompatible implicit declaration of built-in function 'bzero'
compiling cache8.c
compiling dump.c
In file included from c:/Ruby193/include/ruby-1.9.1/ruby/defines.h:223:0,
from c:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:67,
from c:/Ruby193/include/ruby-1.9.1/ruby.h:32,
from oj.h:43,
from dump.c:39:
c:/Ruby193/include/ruby-1.9.1/ruby/win32.h:283:12: error: conflicting types for 'gettimeofday'
c:\programming\dev_kit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/time.h:39:29: note: previous declaration of 'gettimeofday' was here
In file included from c:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:1360:0,
from c:/Ruby193/include/ruby-1.9.1/ruby.h:32,
from oj.h:43,
from dump.c:39:
c:/Ruby193/include/ruby-1.9.1/ruby/missing.h:48:8: error: redefinition of 'struct timezone'
c:\programming\dev_kit\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/time.h:26:8: note: originally defined here
In file included from dump.c:39:0:
oj.h:50:21: fatal error: pthread.h: No such file or directory
compilation terminated.
make: *** [dump.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment