Das hatte ich gemacht. Angeblich war auch alles installiert - funktionierte aber trotzdem nicht...
Beiträge von volvog
-
-
Aber Danke...
mit dem Hinweis auf das Repository habe ich es jetzt gefunden. Und geladen.
Werde mich jetzt mal mit der Konfiguration beschäftigen. -
Und warum versuchst du es nicht mit --with-jansson-bundled
Alle Abhängigkeiten nachinstallieren und dann läuft es.
Das hatte ich schon versucht. Er installiert mir nicht alle Abhängigkeiten. Hatte dann irgendwo gelesen, dass es kein fertiges Paket für 15.1 gäbe.
Also habe ich mich auf den Weg gemacht und mit den Sourcen angefangen... -
Moment, ich hatte configureauch nicht mit der Option --with-jansson-bundled aufgerufen.
Bei mir war das einwandfrei durchgelaufen. Mein Aufruf sah so aus: ./configure --libdir=/usr/lib64 --without-pjproject-bundled CFLAGS='-O2 -DNDEBUG -fPIC'
Das Ergebnis war dann wie im Anhang. -
Ok, anbei der Output...
Code
Alles anzeigenconfigure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether char is unsigned... no checking for uname... /bin/uname checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking for GNU make... make checking for egrep... (cached) /bin/grep -E checking for strip... strip checking for ar... ar checking for bison... : checking for cmp... /usr/bin/cmp checking for cat... /bin/cat checking for cut... /usr/bin/cut checking for flex... : checking for grep... (cached) /bin/grep checking for python... /usr/bin/python checking for find... /bin/find checking for compress... : checking for basename... /bin/basename checking for dirname... /usr/bin/dirname checking for sh... /bin/sh checking for ln... /bin/ln checking for doxygen... : checking for dot... /usr/bin/dot checking for wget... /usr/bin/wget checking for curl... /usr/bin/curl checking for rubber... : checking for catdvi... : checking for kpsewhich... : checking for xmllint... /usr/bin/xmllint checking for xmlstarlet... no checking for xml... no checking for bash... /bin/sh checking for git... : checking for alembic... : checking for bzip2... /usr/bin/bzip2 checking for tar... /bin/tar checking for patch... : checking for sed... (cached) /bin/sed checking for nm... /usr/bin/nm checking for ldconfig... /sbin/ldconfig checking for sha1sum... /usr/bin/sha1sum checking for openssl... /usr/bin/openssl checking for bison that supports parse-param... checking for soxmix... no checking for md5... no checking for md5sum... md5sum checking for a sed that does not truncate output... (cached) /bin/sed checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for RAII support... checking for gcc -fnested-functions... no checking for clang strsep/strcmp optimization... no checking for embedded jansson (may have to download)... configuring configure: error: patch is required to configure bundled jansson
-
Hallo Zusammen,
ich versuche seit ein paar Tagen Asterisk 17.2.0 auf openSUSE 15.1 zu installieren. (pjprojects wurde inzwischen erfolgreich erstellt.)
Configure läuft durch. Wenn ich nun make aufrufe, bekomme ich die FehlermeldungCode
Alles anzeigen… … /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(pool_buf.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(rand.o): relocation R_X86_64_PC32 against symbol `srand@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(sock_common.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(string.o): relocation R_X86_64_PC32 against symbol `strlen@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(timer.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(log_writer_stdout.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(pool_policy_malloc.o): relocation R_X86_64_PC32 against symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libpj-x86_64-unknown-linux-gnu.a(ip_helper_generic.o): relocation R_X86_64_PC32 against symbol `getifaddrs@@GLIBC_2.3' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: nonrepresentable section on output collect2: error: ld returned 1 exit status make[1]: *** [/daten/Downloads/Asterisk/asterisk-17.2.0/Makefile.rules:192: chan_pjsip.so] Fehler 1 make: *** [Makefile:383: channels] Fehler 2
(Von diesen Einträgen gibt's noch einige mehr, ich habe nur die letzten kopiert...)
Habe schon versucht das Flag -fPIC bzw. -no-pie mitzugeben. Aber entweder habe ich nicht die richtige Stelle oder aber es funktioniert nicht.
Hat das jemand im Einsatz? Jemand 'ne Idee wo mein Fehler liegt?Vielen Dank.