Skip to content

Instantly share code, notes, and snippets.

@rurounijones
Created February 6, 2012 07:04
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 rurounijones/1750359 to your computer and use it in GitHub Desktop.
Save rurounijones/1750359 to your computer and use it in GitHub Desktop.
JRuby build failure - Ubuntu 10.04
build-jruby-cext-native:
[exec] make[1]: Entering directory `/home/jjones/jruby-1.6.6/cext/src'
[exec] cc -m64 -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing -W -Wall -Wno-unused -Wno-parentheses -Werror -Wundef -I"/home/jjones/jruby-1.6.6/cext/src/../..//build" -I"/home/jjones/jruby-1.6.6/cext/src" -I"/home/jjones/jruby-1.6.6/cext/src/../..//build"/jni -I"/home/jjones/jruby-1.6.6/cext/src"/include -I"/home/jjones/jruby-1.6.6/cext/src"/include/ruby -fPIC -I"/usr/include" -I"/usr/include/linux" -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c /home/jjones/jruby-1.6.6/cext/src/st.c -o /home/jjones/jruby-1.6.6/cext/src/../..//build/st.o
[exec] In file included from /usr/include/sys/select.h:46,
[exec] from /usr/include/sys/types.h:220,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:18,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/bits/time.h:70: error: redefinition of ‘struct timeval’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:25,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:25,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/stdlib.h:337: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
[exec] /usr/include/stdlib.h:471: error: expected ‘)’ before ‘__size’
[exec] /usr/include/stdlib.h:473: error: expected ‘)’ before ‘__nmemb’
[exec] /usr/include/stdlib.h:485: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] In file included from /usr/include/stdlib.h:497,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:25,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:25,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/stdlib.h:502: error: expected ‘)’ before ‘__size’
[exec] /usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
[exec] /usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
[exec] /usr/include/stdlib.h:759: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:759: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:761: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
[exec] /usr/include/stdlib.h:834: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:841: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:845: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdlib.h:857: error: expected ‘)’ before ‘*’ token
[exec] /usr/include/stdlib.h:861: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
[exec] /usr/include/stdlib.h:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
[exec] /usr/include/stdlib.h:868: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
[exec] /usr/include/stdlib.h:931: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:26,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/sys/time.h:58: error: redefinition of ‘struct timezone’
[exec] /usr/include/sys/time.h:96: error: expected identifier before numeric constant
[exec] /usr/include/sys/time.h:110: error: redefinition of ‘struct itimerval’
[exec] In file included from /usr/include/stdio.h:75,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:27,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’
[exec] /usr/include/libio.h:364: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/libio.h:373: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/libio.h:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:27,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/stdio.h:296: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:302: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:314: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:365: error: format string argument not a string type
[exec] /usr/include/stdio.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:369: error: format string argument not a string type
[exec] /usr/include/stdio.h:639: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:642: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:652: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/stdio.h:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
[exec] /usr/include/stdio.h:688: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
[exec] /usr/include/stdio.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
[exec] /usr/include/stdio.h:712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
[exec] In file included from /usr/include/linux/signal.h:4,
[exec] from /usr/include/pthread.h:29,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:42,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/asm/signal.h:15: error: conflicting types for ‘sigset_t’
[exec] /usr/include/sys/select.h:38: note: previous declaration of ‘sigset_t’ was here
[exec] In file included from /usr/include/linux/signal.h:4,
[exec] from /usr/include/pthread.h:29,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:42,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/asm/signal.h:135: error: expected specifier-qualifier-list before ‘size_t’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:42,
[exec] from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /usr/include/pthread.h:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:300: error: nonnull argument with out-of-range operand number (argument 1, operand 2)
[exec] /usr/include/pthread.h:304: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:364: error: nonnull argument with out-of-range operand number (argument 1, operand 2)
[exec] /usr/include/pthread.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:377: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:378: error: nonnull argument with out-of-range operand number (argument 1, operand 3)
[exec] /usr/include/pthread.h:384: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:391: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:392: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
[exec] /usr/include/pthread.h:398: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:399: error: expected declaration specifiers or ‘...’ before ‘cpu_set_t’
[exec] /usr/include/pthread.h:400: error: nonnull argument with out-of-range operand number (argument 1, operand 3)
[exec] /usr/include/pthread.h:448: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:449: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
[exec] /usr/include/pthread.h:453: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /usr/include/pthread.h:454: error: expected declaration specifiers or ‘...’ before ‘cpu_set_t’
[exec] /usr/include/pthread.h:455: error: nonnull argument with out-of-range operand number (argument 1, operand 3)
[exec] cc1: warnings being treated as errors
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/include/ruby.h:2,
[exec] from /home/jjones/jruby-1.6.6/cext/src/st.c:5:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:259: error: parameter names (without types) in function declaration
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:260: error: parameter names (without types) in function declaration
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:261: error: parameter names (without types) in function declaration
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:262: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:263: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:263: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘FIX2UINT’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:453: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:453: error: (Each undeclared identifier is reported only once
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:453: error: for each function it appears in.)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘FIX2ULONG’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:465: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘INT2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:550: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:550: error: ‘LONG_MIN’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘UINT2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:556: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘LONG2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:562: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:562: error: ‘LONG_MIN’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘ULONG2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:568: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘LL2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:575: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:575: error: ‘LONG_MIN’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: In function ‘ULL2NUM’:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:581: error: ‘LONG_MAX’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h: At top level:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:586: error: expected ‘)’ before ‘v’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/ruby.h:1029: error: expected ‘)’ before ‘sec’
[exec] In file included from /home/jjones/jruby-1.6.6/cext/src/st.c:6:
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/st.h:113: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/st.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘st_memsize’
[exec] /home/jjones/jruby-1.6.6/cext/src/include/ruby/st.h:115: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:43: error: ‘strcmp’ undeclared here (not in a function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_init_table_with_size’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:180: error: implicit declaration of function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:180: error: incompatible implicit declaration of built-in function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:180: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:180: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:185: error: implicit declaration of function ‘calloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:185: error: incompatible implicit declaration of built-in function ‘calloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: At top level:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘st_memsize’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘unpack_entries’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:417: error: implicit declaration of function ‘memcpy’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:417: error: incompatible implicit declaration of built-in function ‘memcpy’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:421: error: implicit declaration of function ‘memset’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:421: error: incompatible implicit declaration of built-in function ‘memset’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_insert’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:457: error: incompatible implicit declaration of built-in function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:457: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:457: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_insert2’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:497: error: incompatible implicit declaration of built-in function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:497: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:497: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_add_direct’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:526: error: incompatible implicit declaration of built-in function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:526: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:526: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘rehash’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:537: error: too many arguments to function ‘ruby_xrealloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_copy’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:559: error: incompatible implicit declaration of built-in function ‘malloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:559: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:559: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:566: error: incompatible implicit declaration of built-in function ‘calloc’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:574: error: incompatible implicit declaration of built-in function ‘memcpy’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:582: error: expected ‘)’ before ‘sizeof’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_delete’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:630: error: implicit declaration of function ‘memmove’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:630: error: incompatible implicit declaration of built-in function ‘memmove’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_foreach’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:760: error: incompatible implicit declaration of built-in function ‘memmove’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: At top level:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1052: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_hash’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1072: error: ‘len’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1116: error: ‘size_t’ undeclared (first use in this function)
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1116: error: expected ‘;’ before ‘align’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1136: error: expected ‘)’ before ‘align’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘strhash’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1234: error: implicit declaration of function ‘strlen’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1234: error: incompatible implicit declaration of built-in function ‘strlen’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1234: error: too many arguments to function ‘st_hash’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: At top level:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1263: error: expected declaration specifiers or ‘...’ before ‘size_t’
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c: In function ‘st_strncasecmp’:
[exec] /home/jjones/jruby-1.6.6/cext/src/st.c:1267: error: ‘n’ undeclared (first use in this function)
[exec] make[1]: *** [/home/jjones/jruby-1.6.6/cext/src/../..//build/st.o] Error 1
[exec] make[1]: Leaving directory `/home/jjones/jruby-1.6.6/cext/src'
[exec] make: *** [all] Error 2
BUILD FAILED
/home/jjones/jruby-1.6.6/build.xml:1657: exec returned: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment