Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-09-2005, 07:12 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Location: Scotland
Distribution: FC4
Posts: 5
Rep:
|
VLC make error??!
Hey folks, i've been banging my head against the wall for a solid day now trying to figure this one out.
I ran:
./configure --enable-ffmpeg --with-ffmpeg-tree=/usr/lib/vlc/ffmpeg-20051126/ --enable-shared --enable-shared-pp --enable-pp --enable-gpl
to configure the makefile when building VLC. All apparently went well until I tried to run the makefile. This is the error is get:
smb.c:101: parse error before "SMBCCTX"
smb.c:101: warning: no semicolon at end of struct or union
smb.c:102: warning: type defaults to `int' in declaration of `p_file'
smb.c:102: warning: data definition has no type or storage class
smb.c:106: parse error before '}' token
smb.c: In function `Open':
smb.c:131: `SMBCCTX' undeclared (first use in this function)
smb.c:131: (Each undeclared identifier is reported only once
smb.c:131: for each function it appears in.)
smb.c:131: `p_smb' undeclared (first use in this function)
smb.c:132: `SMBCFILE' undeclared (first use in this function)
smb.c:212: warning: implicit declaration of function `smbc_new_context'
smb.c:221: warning: implicit declaration of function `smbc_init_context'
smb.c:224: warning: implicit declaration of function `smbc_free_context'
smb.c:279: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:283: dereferencing pointer to incomplete type
smb.c:284: dereferencing pointer to incomplete type
smb.c: In function `Close':
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:309: dereferencing pointer to incomplete type
smb.c: In function `Seek':
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c: In function `Read':
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
make[4]: *** [libaccess_smb_plugin_a-smb.o] Error 1
make[4]: Leaving directory `/usr/lib/vlc/vlc-0.8.4/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/usr/lib/vlc/vlc-0.8.4/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/lib/vlc/vlc-0.8.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/vlc/vlc-0.8.4'
make: *** [all] Error 2
Can anyone help me here?
|
|
|
12-09-2005, 07:29 PM
|
#2
|
LQ Newbie
Registered: Nov 2004
Location: DFW Texas
Distribution: Debian Sarge
Posts: 20
Rep:
|
what's on line 100 of smb.c?
|
|
|
12-09-2005, 08:12 PM
|
#3
|
LQ Newbie
Registered: Dec 2005
Location: Scotland
Distribution: FC4
Posts: 5
Original Poster
Rep:
|
nothing. here's everything before the above error:
[root@localhost vlc-0.8.4]# make
( cd . && cat include/aout_internal.h include/audio_output.h include/beos_specific.h include/charset.h include/codecs.h include/configuration.h include/darwin_specific.h include/intf_eject.h include/iso_lang.h include/main.h include/mmx.h include/modules.h include/modules_inner.h include/mtime.h include/network.h include/os_specific.h include/snapshot.h include/stream_output.h include/variables.h include/video_output.h include/vlc_access.h include/vlc_acl.h include/vlc_bits.h include/vlc_block.h include/vlc_block_helper.h include/vlc_codec.h include/vlc_common.h include/vlc_config.h include/vlc_cpu.h include/vlc_demux.h include/vlc_error.h include/vlc_es.h include/vlc_es_out.h include/vlc_filter.h include/vlc_config_cat.h include/vlc_httpd.h
include/vlc_tls.h include/vlc_md5.h include/vlc_image.h include/vlc_input.h include/vlc_interface.h include/vlc_keys.h include/vlc_messages.h include/vlc_meta.h include/vlc_objects.h include/vlc_osd.h include/vlc_playlist.h include/vlc_spu.h include/vlc_stream.h include/vlc_symbols.h include/vlc_threads_funcs.h include/vlc_threads.h include/vlc_video.h include/vlc_vlm.h include/vlc_vod.h include/vlc_xml.h include/vout_synchro.h include/win32_specific.h ) | \
top_srcdir="." perl ./vlc-api.pl
touch stamp-api
srcdir=. ./toolbox --update-includes
touch src/misc/modules_builtin.h
srcdir=. ./toolbox --update-version
which: no svnversion in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/shep/bin:/sbin/ldconfig:/sbin)
make all-recursive
make[1]: Entering directory `/usr/lib/vlc/vlc-0.8.4'
Making all in intl
make[2]: Entering directory `/usr/lib/vlc/vlc-0.8.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/lib/vlc/vlc-0.8.4/intl'
Making all in loader
make[2]: Entering directory `/usr/lib/vlc/vlc-0.8.4/loader'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/lib/vlc/vlc-0.8.4/loader'
Making all in modules
make[2]: Entering directory `/usr/lib/vlc/vlc-0.8.4/modules'
Making all in access
make[3]: Entering directory `/usr/lib/vlc/vlc-0.8.4/modules/access'
make[4]: Entering directory `/usr/lib/vlc/vlc-0.8.4/modules/access'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -pipe -MT libaccess_file_plugin_a-file.o -MD -MP -MF ".deps/libaccess_file_plugin_a-file.Tpo" -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo './'`file.c; \
then mv -f ".deps/libaccess_file_plugin_a-file.Tpo" ".deps/libaccess_file_plugin_a-file.Po"; else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; fi
rm -f libaccess_file_plugin.a
ar cru libaccess_file_plugin.a libaccess_file_plugin_a-file.o
ranlib libaccess_file_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_file_plugin.so libaccess_file_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_directory` -Wsign-compare -Wall -pipe -MT libaccess_directory_plugin_a-directory.o -MD -MP -MF ".deps/libaccess_directory_plugin_a-directory.Tpo" -c -o libaccess_directory_plugin_a-directory.o `test -f 'directory.c' || echo './'`directory.c; \
then mv -f ".deps/libaccess_directory_plugin_a-directory.Tpo" ".deps/libaccess_directory_plugin_a-directory.Po"; else rm -f ".deps/libaccess_directory_plugin_a-directory.Tpo"; exit 1; fi
rm -f libaccess_directory_plugin.a
ar cru libaccess_directory_plugin.a libaccess_directory_plugin_a-directory.o
ranlib libaccess_directory_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_directory_plugin.so libaccess_directory_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_udp` -Wsign-compare -Wall -pipe -MT libaccess_udp_plugin_a-udp.o -MD -MP -MF ".deps/libaccess_udp_plugin_a-udp.Tpo" -c -o libaccess_udp_plugin_a-udp.o `test -f 'udp.c' || echo './'`udp.c; \
then mv -f ".deps/libaccess_udp_plugin_a-udp.Tpo" ".deps/libaccess_udp_plugin_a-udp.Po"; else
rm -f ".deps/libaccess_udp_plugin_a-udp.Tpo"; exit 1; fi
rm -f libaccess_udp_plugin.a
ar cru libaccess_udp_plugin.a libaccess_udp_plugin_a-udp.o
ranlib libaccess_udp_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_udp_plugin.so libaccess_udp_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_tcp` -Wsign-compare -Wall -pipe -MT libaccess_tcp_plugin_a-tcp.o -MD -MP -MF ".deps/libaccess_tcp_plugin_a-tcp.Tpo" -c -o libaccess_tcp_plugin_a-tcp.o `test -f 'tcp.c' || echo './'`tcp.c; \
then mv -f ".deps/libaccess_tcp_plugin_a-tcp.Tpo" ".deps/libaccess_tcp_plugin_a-tcp.Po"; else
rm -f ".deps/libaccess_tcp_plugin_a-tcp.Tpo"; exit 1; fi
rm -f libaccess_tcp_plugin.a
ar cru libaccess_tcp_plugin.a libaccess_tcp_plugin_a-tcp.o
ranlib libaccess_tcp_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_tcp_plugin.so libaccess_tcp_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_http` -Wsign-compare -Wall -pipe -MT libaccess_http_plugin_a-http.o -MD -MP -MF ".deps/libaccess_http_plugin_a-http.Tpo" -c -o libaccess_http_plugin_a-http.o `test -f 'http.c' || echo './'`http.c; \
then mv -f ".deps/libaccess_http_plugin_a-http.Tpo" ".deps/libaccess_http_plugin_a-http.Po"; else rm -f ".deps/libaccess_http_plugin_a-http.Tpo"; exit 1; fi
rm -f libaccess_http_plugin.a
ar cru libaccess_http_plugin.a libaccess_http_plugin_a-http.o
ranlib libaccess_http_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_http_plugin.so libaccess_http_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_ftp` -Wsign-compare -Wall -pipe -MT libaccess_ftp_plugin_a-ftp.o -MD -MP -MF ".deps/libaccess_ftp_plugin_a-ftp.Tpo" -c -o libaccess_ftp_plugin_a-ftp.o `test -f 'ftp.c' || echo './'`ftp.c; \
then mv -f ".deps/libaccess_ftp_plugin_a-ftp.Tpo" ".deps/libaccess_ftp_plugin_a-ftp.Po"; else
rm -f ".deps/libaccess_ftp_plugin_a-ftp.Tpo"; exit 1; fi
rm -f libaccess_ftp_plugin.a
ar cru libaccess_ftp_plugin.a libaccess_ftp_plugin_a-ftp.o
ranlib libaccess_ftp_plugin.a
gcc -Wsign-compare -Wall -pipe -o libaccess_ftp_plugin.so libaccess_ftp_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC -u vlc_entry__0_8_4
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_smb` -Wsign-compare -Wall -pipe -MT libaccess_smb_plugin_a-smb.o -MD -MP -MF ".deps/libaccess_smb_plugin_a-smb.Tpo" -c -o libaccess_smb_plugin_a-smb.o `test -f 'smb.c' || echo './'`smb.c; \
then mv -f ".deps/libaccess_smb_plugin_a-smb.Tpo" ".deps/libaccess_smb_plugin_a-smb.Po"; else
rm -f ".deps/libaccess_smb_plugin_a-smb.Tpo"; exit 1; fi
|
|
|
12-10-2005, 10:15 AM
|
#4
|
LQ Newbie
Registered: Nov 2004
Location: DFW Texas
Distribution: Debian Sarge
Posts: 20
Rep:
|
well, I don't know for sure, but this looks like an issue with the smb.c file - not your make file. These lines
smb.c:101: parse error before "SMBCCTX"
smb.c:101: warning: no semicolon at end of struct or union
indicate a problem when your make file tries to compile smb.c - have you edited that file at any time?
|
|
|
12-10-2005, 10:35 AM
|
#5
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Rep:
|
u get vlc rpms. they r easier to install. why do u want to build it from source code when u have a easier option.
u can get them at www.videolan.com
|
|
|
12-10-2005, 10:59 AM
|
#6
|
LQ Newbie
Registered: Dec 2005
Location: Scotland
Distribution: FC4
Posts: 5
Original Poster
Rep:
|
I haven't modified the smb.c at all. I got Mplayer installed so I can watch DVD's and stuff, but I really liked VLC in my windoze days and would like to have it again.
This is annoying the hell out of me. Could it have anything to do with the segmentation faults i'm getting when I try and run XMMS? That is an NVIDIA issue I think and i'm about to deal with that anyway, so i'll try and make VLC again after that.
And arunvk: I want to learn how to install programs this way because one day I might decide to go with a non-rpm based distro of linux and besides, it's more fun!
|
|
|
12-10-2005, 11:17 AM
|
#7
|
Member
Registered: Aug 2003
Distribution: SuSE
Posts: 73
Rep:
|
Agree - why not install vlc via rpm?
Quote:
Originally Posted by arunvk
u get vlc rpms. they r easier to install. why do u want to build it from source code when u have a easier option.
u can get them at www.videolan.com
|
I agree with arunvk. Is there any particular reason why you are insisting on compiling vlc, when you can install it via rpm?
Another source for vlc rpms is http://rpm.pbone.net. For example:
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
|
|
|
12-10-2005, 11:29 AM
|
#8
|
LQ Newbie
Registered: Dec 2005
Location: Scotland
Distribution: FC4
Posts: 5
Original Poster
Rep:
|
Well, it's pointless going down the rpm route now that i've compiled all the dependancies for vlc. I mean, i've spent ages on it already, and i'd rather finish it now. I didn't have any major problems up till now and it's pointless harping on about what I should have done when i've came this far with the ./configure make make install method.
Don't get me wrong, I probably should have used the rpm's for ease but who cares at this point?
I find it more fun this way, and as a new linux user i'd rather explore as many methods of using the system as I can.
|
|
|
12-10-2005, 03:01 PM
|
#9
|
Member
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197
Rep:
|
if u want to learn installing the hard way i guess its ok. u can refer to this link
http://www.tldp.org/REF/VLC-User-Guide/
there is detailed procedure here for installing vlc. hope that solves ur problem.
|
|
|
12-10-2005, 06:26 PM
|
#10
|
Member
Registered: Aug 2003
Distribution: SuSE
Posts: 73
Rep:
|
Good luck & best wishes.
Quote:
Originally Posted by i_suck_at_linux
Well, it's pointless going down the rpm route now that i've compiled all the dependancies for vlc. I mean, i've spent ages on it already, and i'd rather finish it now. I didn't have any major problems up till now and it's pointless harping on about what I should have done when i've came this far with the ./configure make make install method.
Don't get me wrong, I probably should have used the rpm's for ease but who cares at this point?
I find it more fun this way, and as a new linux user i'd rather explore as many methods of using the system as I can.
|
Best of luck compiling. I also compiled vlc the first time for use on my SuSE, as at that time there was no rpm for SuSE. After significant hair pulling, I got it to work (I had different errors than what you are experiencing). .... Now thats all fine and dandy, but eventually an rpm showed up for vlc for my SuSE version. I ignored it, as my compiled version was just as good. And then vlc updated a version, and very soon after another rpm showed up for the new vlc (before I could be bothered to re-compile to the new vlc version). And then I learned the new vlc had a feature I wanted. So then I asked myself, should I recompile, or should I use the new rpm? I mean, after all, I have the dependency's worked out already. Right?? Well, not quite. The new vlc needed newer dependencies. .... So I decided enough was enough. I made my point. Proved I could do it. And I now use the rpms.
Again, best wishes in compiling vlc. Its a great program. But don't dismiss the rpm route out right. A lot depends, on what you want to do with your time. Compile vlc? or perhaps do something else.
Cheers!
Last edited by void_linux; 12-10-2005 at 06:28 PM.
|
|
|
All times are GMT -5. The time now is 02:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|