Skip to content

Instantly share code, notes, and snippets.

@bosko
Created May 10, 2011 12:10
Show Gist options
  • Save bosko/964358 to your computer and use it in GitHub Desktop.
Save bosko/964358 to your computer and use it in GitHub Desktop.
x64 build error
cd sandbox/ruby19_build
make
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o main.o -c ../ruby_1_9/main.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/include/ruby.h:32,
from ../ruby_1_9/main.c:13:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o dln.o -c ../ruby_1_9/dln.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/dln.c:13:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o dmydln.o -c ../ruby_1_9/dmydln.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/dmydln.c:1:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o dmyencoding.o -c
../ruby_1_9/dmyencoding.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/encoding.c:12,
from ../ruby_1_9/dmyencoding.c:2:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o version.o -c ../ruby_1_9/version.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/version.c:12:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o dmyversion.o -c ../ruby_1_9/dmyversion.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/version.c:12,
from ../ruby_1_9/dmyversion.c:2:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o miniprelude.o -c
../ruby_1_9/miniprelude.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/miniprelude.c:6:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o array.o -c ../ruby_1_9/array.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/array.c:14:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o bignum.o -c ../ruby_1_9/bignum.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/bignum.c:12:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o class.o -c ../ruby_1_9/class.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/class.c:26:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o compar.o -c ../ruby_1_9/compar.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/compar.c:12:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o complex.o -c ../ruby_1_9/complex.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/include/ruby.h:32,
from ../ruby_1_9/complex.c:8:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
x86_64-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/x86_64-mingw32 -I../ruby_1_9/include -I../ruby_1_9 -DRUBY_EXPORT -o dir.o -c ../ruby_1_9/dir.c
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/dir.c:14:
../ruby_1_9/include/ruby/win32.h:182:0: warning: "_stati64" redefined
d:/projects/ruby/rubyinstaller/sandbox/devkit/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/sys/stat.h:71:0: note: this is the location of the previous definition
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: its scope is only this definition or declaration, which is probably not what you
want
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/dir.c: In function 'do_stat':
../ruby_1_9/dir.c:1021:5: warning: passing argument 2 of 'rb_w32_stati64' from incompatible pointer type
../ruby_1_9/include/ruby/win32.h:288:12: note: expected 'struct _stati64 *' but argument is of type 'struct _stati64 *'
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/dir.c:14:
../ruby_1_9/include/ruby/win32.h: At top level:
../ruby_1_9/include/ruby/win32.h:181:17: warning: 'struct _stati64' declared inside parameter list
../ruby_1_9/dir.c: In function 'do_lstat':
../ruby_1_9/dir.c:1031:5: warning: passing argument 2 of 'rb_w32_stati64' from incompatible pointer type
../ruby_1_9/include/ruby/win32.h:288:12: note: expected 'struct _stati64 *' but argument is of type 'struct _stati64 *'
In file included from ../ruby_1_9/include/ruby/defines.h:205:0,
from ../ruby_1_9/include/ruby/ruby.h:74,
from ../ruby_1_9/dir.c:14:
../ruby_1_9/include/ruby/win32.h: In function 'glob_helper':
../ruby_1_9/dir.c:1290:17: error: storage size of 'st' isn't known
make: *** [dir.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment