Skip to content

Instantly share code, notes, and snippets.

@aaronbartell
Created April 16, 2015 14:42
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 aaronbartell/144b4d8f9e2bc5154243 to your computer and use it in GitHub Desktop.
Save aaronbartell/144b4d8f9e2bc5154243 to your computer and use it in GitHub Desktop.
$ ant jar
Buildfile: /home/abartell/git/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
-pre-jar:
-pre-compile:
-do-compile:
[javac] Compiling 1 source file to /home/abartell/git/jffi/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
-generate-version-source:
[echo] Generating Version.java
[mkdir] Created dir: /home/abartell/git/jffi/build/java/com/kenai/jffi
-generate-version:
[javac] Compiling 1 source file to /home/abartell/git/jffi/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning
-compile-java:
-generate-native-headers:
-build-native-library:
[exec] Configuring libffi for ppc-os400
[exec] expr: syntax error
[exec] /opt/freeware/bin/gmake -C /home/abartell/git/jffi/build/jni/libffi-ppc-os400
[exec] gmake[1]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] /opt/freeware/bin/gmake 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions' 'CXXFLAGS=-g -O2' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/home/abartell/git/jffi/jni/libffi/install-sh -c' 'INSTALL_DATA=/home/abartell/git/jffi/jni/libffi/install-sh -c -m 644' 'INSTALL_PROGRAM=/home/abartell/git/jffi/jni/libffi/install-sh -c' 'INSTALL_SCRIPT=/home/abartell/git/jffi/jni/libffi/install-sh -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=/opt/freeware/bin/gmake' 'MAKEINFO=/bin/sh /home/abartell/git/jffi/jni/libffi/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/usr/local' 'infodir=/usr/local/share/info' 'libdir=/usr/local/lib' 'mandir=/usr/local/share/man' 'prefix=/usr/local' 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'LD=ld' 'NM=/QOpenSys/usr/bin/nm -B' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
[exec] gmake[2]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] Making all in include
[exec] gmake[3]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/include'
[exec] gmake[3]: Nothing to be done for 'all'.
[exec] gmake[3]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/include'
[exec] Making all in testsuite
[exec] gmake[3]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/testsuite'
[exec] gmake[3]: Nothing to be done for 'all'.
[exec] gmake[3]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/testsuite'
[exec] Making all in man
[exec] gmake[3]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/man'
[exec] gmake[3]: Nothing to be done for 'all'.
[exec] gmake[3]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400/man'
[exec] gmake[3]: Entering directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/prep_cif.lo /home/abartell/git/jffi/jni/libffi/src/prep_cif.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/prep_cif.c -fPIC -DPIC -o src/prep_cif.o
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/types.lo /home/abartell/git/jffi/jni/libffi/src/types.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/types.c -fPIC -DPIC -o src/types.o
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/raw_api.lo /home/abartell/git/jffi/jni/libffi/src/raw_api.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/raw_api.c -fPIC -DPIC -o src/raw_api.o
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/java_raw_api.lo /home/abartell/git/jffi/jni/libffi/src/java_raw_api.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/java_raw_api.c -fPIC -DPIC -o src/java_raw_api.o
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/closures.lo /home/abartell/git/jffi/jni/libffi/src/closures.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/closures.c -fPIC -DPIC -o src/closures.o
[exec] /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/powerpc/ffi_darwin.lo /home/abartell/git/jffi/jni/libffi/src/powerpc/ffi_darwin.c
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /home/abartell/git/jffi/jni/libffi/src/powerpc/ffi_darwin.c -fPIC -DPIC -o src/powerpc/ffi_darwin.o
[exec] /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c -o src/powerpc/aix.lo /home/abartell/git/jffi/jni/libffi/src/powerpc/aix.S
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c /home/abartell/git/jffi/jni/libffi/src/powerpc/aix.S -fPIC -DPIC -o src/powerpc/aix.o
[exec] /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c -o src/powerpc/aix_closure.lo /home/abartell/git/jffi/jni/libffi/src/powerpc/aix_closure.S
[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/abartell/git/jffi/jni/libffi -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -I. -I/home/abartell/git/jffi/jni/libffi/include -Iinclude -I/home/abartell/git/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c /home/abartell/git/jffi/jni/libffi/src/powerpc/aix_closure.S -fPIC -DPIC -o src/powerpc/aix_closure.o
[exec] /bin/sh ./libtool --tag=CC --mode=link gcc -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/powerpc/ffi_darwin.lo src/powerpc/aix.lo src/powerpc/aix_closure.lo
[exec] libtool: link: ar cru .libs/libffi_convenience.a src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/powerpc/ffi_darwin.o src/powerpc/aix.o src/powerpc/aix_closure.o
[exec] libtool: link: ranlib .libs/libffi_convenience.a
[exec] libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
[exec] /bin/sh ./libtool --tag=CC --mode=link gcc -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -no-undefined -version-info `grep -v '^#' /home/abartell/git/jffi/jni/libffi/libtool-version` -o libffi.la -rpath /usr/local/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/powerpc/ffi_darwin.lo src/powerpc/aix.lo src/powerpc/aix_closure.lo
[exec] libtool: link: ar cru .libs/libffi.a src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/powerpc/ffi_darwin.o src/powerpc/aix.o src/powerpc/aix_closure.o
[exec] libtool: link: ranlib .libs/libffi.a
[exec] libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" )
[exec] gmake[3]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] gmake[2]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] gmake[1]: Leaving directory '/home/abartell/git/jffi/build/jni/libffi-ppc-os400'
[exec] In file included from /home/abartell/git/jffi/build/jni/libffi-ppc-os400/include/ffi.h:67:0,
[exec] from /home/abartell/git/jffi/jni/jffi/jffi.h:45,
[exec] from /home/abartell/git/jffi/jni/jffi/Array.c:39:
[exec] /home/abartell/git/jffi/build/jni/libffi-ppc-os400/include/ffitarget.h:159:5: error: "_CALL_ELF" is not defined [-Werror=undef]
[exec] #if _CALL_ELF == 2
[exec] ^
[exec] cc1: all warnings being treated as errors
[exec] /home/abartell/git/jffi/jni/GNUmakefile:295: recipe for target '/home/abartell/git/jffi/build/jni/jffi/Array.o' failed
[exec] gmake: *** [/home/abartell/git/jffi/build/jni/jffi/Array.o] Error 1
BUILD FAILED
/home/abartell/git/jffi/build.xml:338: exec returned: 2
Total time: 3 minutes 58 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment