[vlc-devel] vlc 4.0and 3.0.1 link failed with libdsm (contrib)
Gilles Sabourin
gilles.sabourin at free.fr
Wed Feb 14 19:54:09 CET 2018
Hello team,
When compiling libaccess_output_livehttp_plugin.la, linker cannot link. This
previously succeeded last 3rd february but failed next saturday, 10th
february. This could be related to libdsm issue from contrib, as the following
commit started modifications :
* c7b275f1c9 : Thomas Guillem : Fri Feb 9 20:39:23 2018 +0100 : contrib:
enable libdsm|
| contrib/src/libdsm/rules.mak | 1 +
| 1 file changed, 1 insertion(+)
Same issue with vlc 3.0.1 as the commit has been backported.
Console output:
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(netbios_ns.o): relocation R_X86_64_32 against `.data' can not be used
when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(netbios_query.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_session.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_share.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_stat.o): relocation R_X86_64_32S against `.rodata' can not be
used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_transport.o): relocation R_X86_64_32S against symbol
`netbios_session_new' can not be used when making a shared object; recompile
with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_utils.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(netbios_session.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_spnego.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(smb_ntlm.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/5/../../../../x86_64-suse-linux/bin/ld: /usr/
src/packages/BUILD/vlc-beta-4.0.0/contrib/x86_64-suse-linux/lib/
libdsm.a(hmac_md5.o): relocation R_X86_64_32 against `.bss' can not be used
when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: final
link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:13841: recipe for target 'libdsm_plugin.la' failed
make[4]: *** [libdsm_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/usr/src/packages/BUILD/vlc-beta-4.0.0/modules'
Makefile:25974: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/usr/src/packages/BUILD/vlc-beta-4.0.0/modules'
Makefile:11147: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/packages/BUILD/vlc-beta-4.0.0/modules'
Makefile:1524: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/packages/BUILD/vlc-beta-4.0.0'
Makefile:1409: recipe for target 'all' failed
make: *** [all] Error 2
More information about the vlc-devel
mailing list