Code: Select all
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=access_smb -DMODULE_NAME_IS_access_smb -DMODULE_STRING=\"access_smb\" -O3 -ffast-math -funroll-loops -mtune=prescott -fomit-frame-pointer -march=prescott -pipe -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libaccess_smb_plugin_la-smb.lo -MD -MP -MF .deps/libaccess_smb_plugin_la-smb.Tpo -c smb.c -fPIC -DPIC -o .libs/libaccess_smb_plugin_la-smb.o
smb.c: In function 'smb_auth':
smb.c:116: warning: unused parameter 'srv'
smb.c:116: warning: unused parameter 'shr'
smb.c:116: warning: unused parameter 'wg'
smb.c:116: warning: unused parameter 'wglen'
smb.c:117: warning: unused parameter 'un'
smb.c:117: warning: unused parameter 'unlen'
smb.c:117: warning: unused parameter 'pw'
smb.c:117: warning: unused parameter 'pwlen'
smb.c: In function 'Open':
smb.c:225: warning: 'debug' is deprecated (declared at /usr/include/libsmbclient.h:2722)
smb.c:226: warning: 'auth_fn' is deprecated (declared at /usr/include/libsmbclient.h:2817)
smb.c:236: warning: 'open' is deprecated (declared at /usr/include/libsmbclient.h:2766)
smb.c:248: warning: 'fstat' is deprecated (declared at /usr/include/libsmbclient.h:2774)
smb.c: In function 'Close':
smb.c:316: warning: 'close_fn' is deprecated (declared at /usr/include/libsmbclient.h:2778)
smb.c: In function 'Seek':
smb.c:339: warning: 'lseek' is deprecated (declared at /usr/include/libsmbclient.h:2772)
smb.c: In function 'Read':
smb.c:366: warning: 'read' is deprecated (declared at /usr/include/libsmbclient.h:2768)
mv -f .deps/libaccess_smb_plugin_la-smb.Tpo .deps/libaccess_smb_plugin_la-smb.Plo
/bin/sh ../../libtool --tag=CC --tag=CC --mode=link gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin libaccess_smb_plugin.la` -march=prescott -pipe -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib/vlc/access' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../.." ../../vlc-config --ldflags plugin libaccess_smb_plugin.la` -o libaccess_smb_plugin.la libaccess_smb_plugin_la-smb.lo `top_builddir="../.." ../../vlc-config -libs plugin libaccess_smb_plugin.la` ../../src/libvlccore.la
libtool: link: gcc -std=gnu99 -shared .libs/libaccess_smb_plugin_la-smb.o -Wl,-rpath -Wl,/tmp/vlc-0.9.9a/src/.libs -lsmbclient ../../src/.libs/libvlccore.so -L/usr/lib /usr/lib/libhal.so /usr/lib/libdbus-1.so -lrt -lpthread -ldl -lm -mtune=prescott -march=prescott -Wl,-soname -Wl,libaccess_smb_plugin.so -o .libs/libaccess_smb_plugin.so
/usr/bin/ld: cannot find -lsmbclient
collect2: ld returned 1 exit status
make[5]: *** [libaccess_smb_plugin.la] Error 1
make[5]: Leaving directory `/tmp/vlc-0.9.9a/modules/access'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/vlc-0.9.9a/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/vlc-0.9.9a/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/vlc-0.9.9a/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/vlc-0.9.9a'
make: *** [all] Error 2
Code: Select all
[root@jaguar /mnt/nas/www/pages/pub/DIY/source] locate smbclient
/usr/bin/smbclient
/usr/include/libsmbclient.h
/usr/lib/libsmbclient.so
/usr/lib/libsmbclient.so.0
/usr/man/man1/smbclient.1.gz
/usr/man/man7/libsmbclient.7.gz
/usr/share/swat/help/manpages/libsmbclient.7.html
/usr/share/swat/help/manpages/smbclient.1.html
Thanks.