Skip to content

Instantly share code, notes, and snippets.

@sam452
Last active August 29, 2015 13:56
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 sam452/9054759 to your computer and use it in GitHub Desktop.
Save sam452/9054759 to your computer and use it in GitHub Desktop.
Output of rvm install 2.0.0 in fresh copy of rvm and cygwin in Windows 7.
Error running '__rvm_make -j4',
showing last 15 lines of /home/sam/.rvm/log/1392654111_ruby-2.0.0-p353/make.log
compiling hash.c
compiling inits.c
compiling io.c
file.c:4184:47: error: conflicting types for ‘GetLastError’
extern unsigned long __attribute__((stdcall)) GetLastError(void);
^
In file included from /usr/include/w32api/winbase.h:16:0,
from /usr/include/w32api/windows.h:70,
from file.c:18:
/usr/include/w32api/errhandlingapi.h:45:27: note: previous declaration of ‘GetLastError’ was here
WINBASEAPI DWORD WINAPI GetLastError (VOID);
^
Makefile:328: recipe for target 'file.o' failed
make: *** [file.o] Error 1
make: *** Waiting for unfinished jobs....
There has been an error while running make. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment