Date: Mon, 21 Jul 2014 06:51:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191997] New: [patch] multimedia/vlc: SMB option with linker error Message-ID: <bug-191997-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191997 Bug ID: 191997 Summary: [patch] multimedia/vlc: SMB option with linker error Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: kdeguchi@sz.tokoha-u.ac.jp Created attachment 144830 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144830&action=edit SMB option with linker error Add "SMB_LDFLAGS= -L${LOCALBASE}/lib" to Makefile. I attached a patch. linker error message as follows, gmake-lite[7]: Entering directory `/tmp/usr/ports/multimedia/vlc/work/vlc-2.1.4/modules/access' /bin/sh ../../libtool --tag=CC --mode=link cc -I/usr/local/include/samba -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -O4 -ffast-math -funroll-loops -fomit-frame-pointer -rpath '/usr/local/lib/vlc/plugins/access' -avoid-version -module -export-symbols-regex ^vlc_entry -shrext .so -no-undefined ../../compat/libcompat.la ../../src/libvlccore.la -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector -o libaccess_smb_plugin.la libaccess_smb_plugin_la-smb.lo -pthread -lsmbclient libtool: link: rm -fr .libs/libaccess_smb_plugin.exp libtool: link: /usr/bin/nm -B .libs/libaccess_smb_plugin_la-smb.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libaccess_smb_plugin.exp libtool: link: /usr/bin/egrep -e "^vlc_entry" ".libs/libaccess_smb_plugin.exp" > ".libs/libaccess_smb_plugin.expT" libtool: link: mv -f ".libs/libaccess_smb_plugin.expT" ".libs/libaccess_smb_plugin.exp" libtool: link: cc -shared -fPIC -DPIC .libs/libaccess_smb_plugin_la-smb.o -Wl,-rpath -Wl,/tmp/usr/ports/multimedia/vlc/work/vlc-2.1.4/src/.libs -Wl,-rpath -Wl,/usr/local/lib ../../compat/.libs/libcompat.a ../../src/.libs/libvlccore.so -lsmbclient -O2 -O4 -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -pthread -Wl,-soname -Wl,libaccess_smb_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libaccess_smb_plugin.exp -o .libs/libaccess_smb_plugin.so /usr/bin/ld: cannot find -lsmbclient cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake-lite[7]: *** [libaccess_smb_plugin.la] Error 1 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191997-13>