View Single Post
  #503  
Old 31.08.2019, 08:23
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ok, die Warning sind durch Java 8 (doclint) und wenn ich den Schritt "git checkout Release-4.65-1.02rc-extr-only" weg lasse, dann lšuft auch "make package". Welche Version sollte ich den Łberhaupt nehmen?
Wie muss ich die beiden jar Files benamen, bevor ich sie in libs bereitstelle?

Edit:
habe mal mit dem Branch migrate-to-15.09-try2 versucht, da du ja auch 1509 verwendest, aber da ist aktuell dann bei "make" Ende.

cmake3:
Spoiler:
cmake3 --version
cmake3 version 3.6.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).


cmake3 .
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for java JNI jni.h include path
-- Looking for java JNI jni.h include path - found: /apps/jdk1.8.0_221/include
-- Looking for java JNI jni_md.h include path
-- Looking for java JNI jni_md.h include path - found: /apps/jdk1.8.0_221/include/linux
-- Looking for java compiler 'javac'
-- Looking for java compiler 'javac' - found: /apps/jdk1.8.0_221/bin/javac
-- Looking for java header compiler 'javah'
-- Looking for java header compiler 'javah' - found: /apps/jdk1.8.0_221/bin/javah
-- Looking for java API Documentation Generator 'javadoc'
-- Looking for java API Documentation Generator 'javadoc' - found: /apps/jdk1.8.0_221/bin/javadoc
-- Looking for java VM 'java'
-- Looking for java VM 'java' - found: /apps/jdk1.8.0_221/bin/java
-- Looking for java archiver 'jar'
-- Looking for java archiver 'jar' - found: /apps/jdk1.8.0_221/bin/jar
-- Checking java compile
-- Checking java compile - ok
-- Checking java system properties
-- Checking java compile - ok (arch: i386, system: Linux)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Compiling on posix system: Linux

Build type: , platform: Linux-i386

Java VM: /apps/jdk1.8.0_221/bin/java
Java compiler: /apps/jdk1.8.0_221/bin/javac
Java header compiler: /apps/jdk1.8.0_221/bin/javah
Java documentation tool: /apps/jdk1.8.0_221/bin/javadoc
Java archiver: /apps/jdk1.8.0_221/bin/jar
MinGW: No
MinGW-32: No
MinGW-64: No
APPLE:
Output package: ./sevenzipjbinding-15.09-2.01beta-Linux-i386.zip


Type 'make' to compile
Type 'ctest' to run tests (it could take up to 90 minutes on a slow CPU)
Type 'make package' to build a distribution package

-- Prepare for testing
-- Configuring done
-- Generating done
-- Build files have been written to: /apps/SevenZipJBinding1509-try2


make:
Spoiler:
make
Scanning dependencies of target sevenzipjbinding-jar
[ 0%] core
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
[ 1%] target
[ 1%] Built target sevenzipjbinding-jar
[ 1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl;net.sf.sevenzipjbinding. impl.OutArchiveImpl
Scanning dependencies of target 7-Zip-JBinding
[ 1%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/Debug.cpp.o
[ 2%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o
In file included from /apps/SevenZipJBinding1509-try2/jbinding-cpp/JNITools.cpp:3:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: ISO C++ forbids initialization of member ‚ptr‚
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: making ‚ptr‚ static
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of ‚WithStackBuffer<short unsigned int>‚:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:38: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type ‚short unsigned int*‚
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of ‚WithStackBuffer<wchar_t>‚:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:98: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type ‚wchar_t*‚
make[2]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o] Error 1
make[1]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/all] Error 2
make: *** [all] Error 2


Ich gucke mal ob noch Pakete fehlen...

Last edited by wolverine; 31.08.2019 at 12:50.
Reply With Quote