Skip to content

Instantly share code, notes, and snippets.

@shugo
Created September 16, 2012 08:29
Show Gist options
  • Save shugo/3731583 to your computer and use it in GitHub Desktop.
Save shugo/3731583 to your computer and use it in GitHub Desktop.
make log
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O0 -g -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -ansi -std=iso9899:199409
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I. -I.ext/include/i686-linux -I./include -I.
DLDFLAGS = -fstack-protector -pie
SOLIBS =
compiling main.c
In file included from ./include/ruby.h:33:0,
from main.c:13:
./include/ruby/ruby.h:499:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
./include/ruby/ruby.h:563:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’
./include/ruby/ruby.h:572:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
./include/ruby/ruby.h:612:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘short’
./include/ruby/ruby.h:627:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’
./include/ruby/ruby.h:794:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘double’
./include/ruby/ruby.h:800:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:801:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_float_new’
./include/ruby/ruby.h:1141:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:1142:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_int2num_inline’
./include/ruby/ruby.h:1151:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:1152:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_uint2num_inline’
./include/ruby/ruby.h:1162:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:1163:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_long2num_inline’
./include/ruby/ruby.h:1172:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:1173:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_ulong2num_inline’
./include/ruby/ruby.h:1182:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
./include/ruby/ruby.h:1469:1: エラー: 不明な型名 ‘inline’ です
./include/ruby/ruby.h:1470:1: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rb_class_of’
./include/ruby/ruby.h:1485:15: エラー: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
make: *** [main.o] エラー 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment