|
解压vlc-0.8.2.tar.gz后 [系统是RH9.0]
在./configure时用了四个--disable才通过
到了make这步时好像出了问题,你们看下吧,诚请前辈们帮下小弟
[root@localhost vlc-0.8.2]# make
srcdir=. ./toolbox --update-includes
creating new ./src/misc/modules_builtin.h
srcdir=. ./toolbox --update-includes
make all-recursive
make[1]: Entering directory `/mysoftware/vlc-0.8.2'
Making all in intl
make[2]: Entering directory `/mysoftware/vlc-0.8.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mysoftware/vlc-0.8.2/intl'
Making all in modules
make[2]: Entering directory `/mysoftware/vlc-0.8.2/modules'
Making all in access
make[3]: Entering directory `/mysoftware/vlc-0.8.2/modules/access'
make[4]: Entering directory `/mysoftware/vlc-0.8.2/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
gcc -Wsign-compare -Wall -pipe -o libaccess_file_plugin.so libaccess_file_plugin_a-file.o `top_builddir=../.. ../../vlc-config --libs plugin access_file`
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
gcc -Wsign-compare -Wall -pipe -o libaccess_directory_plugin.so libaccess_directory_plugin_a-directory.o `top_builddir=../.. ../../vlc-config --libs plugin access_directory`
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
gcc -Wsign-compare -Wall -pipe -o libaccess_udp_plugin.so libaccess_udp_plugin_a-udp.o `top_builddir=../.. ../../vlc-config --libs plugin access_udp`
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
gcc -Wsign-compare -Wall -pipe -o libaccess_tcp_plugin.so libaccess_tcp_plugin_a-tcp.o `top_builddir=../.. ../../vlc-config --libs plugin access_tcp`
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
gcc -Wsign-compare -Wall -pipe -o libaccess_http_plugin.so libaccess_http_plugin_a-http.o `top_builddir=../.. ../../vlc-config --libs plugin access_http`
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
gcc -Wsign-compare -Wall -pipe -o libaccess_ftp_plugin.so libaccess_ftp_plugin_a-ftp.o `top_builddir=../.. ../../vlc-config --libs plugin access_ftp`
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
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:304: dereferencing pointer to incomplete type
smb.c:304: dereferencing pointer to incomplete type
smb.c:304: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c: In function `Seek':
smb.c:326: dereferencing pointer to incomplete type
smb.c:326: dereferencing pointer to incomplete type
smb.c:326: dereferencing pointer to incomplete type
smb.c: In function `Read':
smb.c:353: dereferencing pointer to incomplete type
smb.c:353: dereferencing pointer to incomplete type
smb.c:353: dereferencing pointer to incomplete type
make[4]: *** [libaccess_smb_plugin_a-smb.o] Error 1
make[4]: Leaving directory `/mysoftware/vlc-0.8.2/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/mysoftware/vlc-0.8.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mysoftware/vlc-0.8.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mysoftware/vlc-0.8.2'
make: *** [all] Error 2
[root@localhost vlc-0.8.2]#
========
下面是make后文件夹的文件
ABOUT-NLS config.status INSTALL modules THANKS
aclocal.m4 configure INSTALL.win32 mozilla TODO
activex configure.ac intl msvc toolbox
AUTHORS COPYING ipkg NEWS vlc-config
autotools debian lib po vlc-config.in
bootstrap doc m4 README vlc-config.in.in
ChangeLog evc MAINTAINERS README.MacOSX.rtf vlc.exe.manifest
config.h extras Makefile share vlc.spec
config.h.in HACKING Makefile.am src vlc.spec.mdk
config.log include Makefile.in stamp-h1 vlc.win32.nsi
======================
过了make这步后我就不知道应该如何做了,看见有个toolbox就运行它,有如下显示:
[root@localhost vlc-0.8.2]# ./toolbox
recognized flags are:
--update-vc update Microsoft Visual Studio files
--update-po update translation files
--update-includes generate various include files
--update-glade generate and fix Glade code
--update-glade2 generate and fix Glade 2 code
--update-flexml generate and fix flexml and flex code
--distclean "make distclean" on steroids
--dist-contrib add the contrib dir to MAKE_DIST
--make-woody <dir> change distdir <dir> to a woody distdir
[root@localhost vlc-0.8.2]# ./bootstrap
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS=-I m4
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.8 --version
+ automake-1.9 --version
+ automake-1.7 --version
+ automake-1.6 --version
+ amvers=-1.6
++ automake-1.6 --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 1.6.3 '<=' 1.6.1
+ test -1.6 = none
+ gettextize --version
++ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.11.4 '>=' 0.11.5
+ autopoint=:
+ GETTEXT=old
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.6
+ automake=automake-1.6
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.................................................................... done.
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
+ rm -f stamp-builtin stamp-h1 mozilla/stamp-pic
+ rm -f vlc-config.in
+ printf ''
+ '[' old '!=' yes ']'
+ test -d intl
+ mkdir intl
+ printf ''
+ printf ''
+ : -f
+ aclocal-1.6 -I m4
+ autoconf
+ autoheader
+ automake-1.6 --add-missing --copy
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/mkinstalldirs'
configure.ac: installing `autotools/missing'
configure.ac:12: installing `autotools/config.guess'
configure.ac:12: installing `autotools/config.sub'
Makefile.am: installing `autotools/compile'
Makefile.am: installing `autotools/depcomp'
+ rm -f vlc-config.in vlc-config
+ rm -f src/misc/modules_builtin.h src/misc/modules_plugin.h
+ rm -f include/vlc_symbols.h
+ rm -f mozilla/vlcintf.h
+ set +x
==========================================================
NOTE: you have an old version of gettext installed on your
system. The vlc build will work, but if your system does not
have libintl you will not have internationalization support.
We suggest upgrading to gettext 0.11.5 or later.
[root@localhost vlc-0.8.2]#
===================到此为止
我不知道安装成功没有,也不知道make时的那些错误有没有关系.第一次做这些东东.恳请高手指点(如果make后没有出错我下一步该如何做呢?)
我在这个外国论坛那里找到一点有关的信息,可是太多简写单词了看不太懂,下面这个地址就是:
http://www.tutorials.de/tutorials153143.html |
|