libaccess_smb_plugin build problem

*nix specific usage questions
Daniel

libaccess_smb_plugin build problem

Postby Daniel » 18 Aug 2005 20:02

Hi!

I want to build vlc 0.8.2 on my heavily updated SuSE 9.1.

Build stops at smb.c line 304:

smb.c: In function `Close':
smb.c:304: error: structure has no member named `close'
make[4]: *** [libaccess_smb_plugin_a-smb.o] Fehler 1
make[4]: Leaving directory `/usr/src/packages/BUILD/vlc-0.8.2/modules/access'
make[3]: *** [all-modules] Fehler 1
make[3]: Leaving directory `/usr/src/packages/BUILD/vlc-0.8.2/modules/access'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-0.8.2/modules'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-0.8.2'
make: *** [all] Fehler 2

I habe libsmbclient-3.0.20rc2 and -devel packages

Solution is this patch:
--- modules/access/smb.c.orig 2005-08-18 19:57:59.163117720 +0200
+++ modules/access/smb.c 2005-08-18 19:57:11.734327992 +0200
@@ -45,6 +45,7 @@
# define smbc_close close
#else
# include <libsmbclient.h>
+# define close close_fn
# define USE_CTX 1
#endif

Hope I could help somebody. And I hope I said nothing too horribly wrong....

Best,
Daniel

huales
Blank Cone
Blank Cone
Posts: 31
Joined: 28 Sep 2005 11:20

Postby huales » 29 Sep 2005 09:17

OK, it work, great, thank you :)

ronan

Postby ronan » 20 Oct 2005 22:52

thanks for that Daniel, real time saver...

Ronan

alt20

Postby alt20 » 04 Dec 2005 02:18

Fantastic work!

Guest

Postby Guest » 15 Dec 2005 05:44

yeaaa! one line added;D in the other hand why developers makes such stupid mistakes?:(


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests