/root/source/libass-0.13.2/libass/ass.c:1078: définitions multiples de « read_file »
cmdutils.o:/root/source/FFmbc-0.7.4/cmdutils.c:708: défini pour la première fois ici
libavformat/libavformat.a(rtsp.o): dans la fonction « get_sockaddr »:
/root/source/FFmbc-0.7.4/libavformat/rtsp.c:121: AVERTISSEMENT: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/lib/../lib64/libpthread.a(libpthread.o): dans la fonction « sem_open »:
(.text+0x682b): AVERTISSEMENT: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: erreur: ld a retourné 1 code d'état d'exécution
make: *** [ffmbc_g] Erreur 1
I put the line in green because I get the same whit the compilation without the libass.
I did a "make V=1" and got the gcc command which create this issue :
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -L/usr/local/lib -static -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -o ffmbc_g ffmbc.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswscale -lavutil -L/usr/local/lib -lass -lm -lfribidi -lfreetype -lm -pthread -lbz2 -lz -static
I enable the verbose mode on gcc and got the message below :
gcc -v -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -L/usr/local/lib -static -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -o ffmbc_g ffmbc.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswscale -lavutil -L/usr/local/lib -lass -lm -lfribidi -lfreetype -lm -pthread -lbz2 -lz -static
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Cible : x86_64-unknown-linux-gnu
Configuré avec: ../../source/gcc-5.3.0/configure --prefix=/usr/local --disable-multilib : (reconfigured) ../../source/gcc-5.3.0/configure --prefix=/usr/local --disable-multilib
Modèle de thread: posix
gcc version 5.3.0 (GCC)
COMPILER_PATH=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/:/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/local/lib/gcc/x86_64-unknown-linux-gnu/
LIBRARY_PATH=/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/:/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-Llibavcodec' '-Llibavdevice' '-Llibavfilter' '-Llibavformat' '-Llibavutil' '-Llibpostproc' '-Llibswscale' '-L/usr/local/lib' '-static' '-o' 'ffmbc_g' '-L/usr/local/lib' '-pthread' '-static' '-mtune=generic' '-march=x86-64'
/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/collect2 -plugin /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/liblto_plugin.so -plugin-opt=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccGLfQEb.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -m elf_x86_64 -static -o ffmbc_g /lib/../lib64/crt1.o /lib/../lib64/crti.o /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbeginT.o -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../.. --as-needed --warn-common -rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil ffmbc.o cmdutils.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswscale -lavutil -lass -lm -lfribidi -lfreetype -lm -lbz2 -lz --start-group -lgcc -lgcc_eh -lpthread -lc --end-group /usr/local/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtend.o /lib/../lib64/crtn.o
/usr/local/lib/libass.a(ass.o): dans la fonction « read_file »:
/root/source/libass-0.13.2/libass/ass.c:1078: définitions multiples de « read_file »
cmdutils.o:/root/source/FFmbc-0.7.4/cmdutils.c:708: défini pour la première fois ici
libavformat/libavformat.a(rtsp.o): dans la fonction « get_sockaddr »:
/root/source/FFmbc-0.7.4/libavformat/rtsp.c:121: AVERTISSEMENT: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/lib/../lib64/libpthread.a(libpthread.o): dans la fonction « sem_open »:
(.text+0x682b): AVERTISSEMENT: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: erreur: ld a retourné 1 code d'état d'exécution
I'm out of idea.
can you please help me with this compilation ?
Which version of libass should I use ?
thank you in advance of any help with this issue
--
You received this message because you are subscribed to the Google Groups "ffmbc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ffmbc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.