Skip to content

Instantly share code, notes, and snippets.

@aaronbartell
Created September 9, 2014 23:48
Show Gist options
  • Save aaronbartell/7e8c37422dc8b3bd6b6a to your computer and use it in GitHub Desktop.
Save aaronbartell/7e8c37422dc8b3bd6b6a to your computer and use it in GitHub Desktop.
-bash-4.2$ ant jar
Buildfile: /home/aaron/git/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
-pre-jar:
-pre-compile:
-do-compile:
-generate-version-source:
[echo] Generating Version.java
-generate-version:
[javac] Compiling 1 source file to /home/aaron/git/jffi/build/classes
-compile-java:
-generate-native-headers:
-build-native-library:
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke1':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:474:1: error: implicit declaration of function 'alloca' [-Werror=implicit-function-declaration]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:474:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke2':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:475:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke3':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:476:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke4':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:477:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke5':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:478:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c: In function 'invoke6':
[exec] /home/aaron/git/jffi/jni/jffi/FastNumericInvoker.c:479:1: error: incompatible implicit declaration of built-in function 'alloca' [-Werror]
[exec] cc1: all warnings being treated as errors
[exec]
[exec] /home/aaron/git/jffi/jni/GNUmakefile:295: recipe for target '/home/aaron/git/jffi/build/jni/jffi/FastNumericInvoker.o' failed
[exec] gmake: *** [/home/aaron/git/jffi/build/jni/jffi/FastNumericInvoker.o] Error 1
BUILD FAILED
/home/aaron/git/jffi/build.xml:326: exec returned: 2
Total time: 28 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment