============================
终于让vlc configure过了。
遇到找不到lib的问题和头文件的问题,在于没有export LDFLAGS(加入库路径)和 export CPPFLAGS(加入头文件路径) ,并且要export,在同一个脚本里头,也要export
出来才行。
倒错了一个参数:
### C preprocessor
###原来是这个东东啊,c的预编译器,到底要不要用c++这个。
#export CXXCPP=$CXX
mipsel-linux-uclibc要求的是C预编译器,应该是不是mipsel的c++
否则会报错的:
mipsel-linux-uclibc-c++ fails sanity check
=============================
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking for mipsel-linux-uclibc-gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether mipsel-linux-uclibc-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether mipsel-linux-uclibc-c++ accepts -g... yes
checking dependency style of mipsel-linux-uclibc-c++... gcc3
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -std=gnu99 -E
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether mipsel-linux-uclibc-gcc accepts -g... no
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking dependency style of mipsel-linux-uclibc-gcc... (cached) gcc3
checking for egrep... (cached) /bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of mipsel-linux-uclibc-gcc -std=gnu99... gcc3
checking for desktop-file-validate... desktop-file-validate
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for 3rd party libraries path... not found
checking for an Android system... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-uclibc-gcc -std=gnu99... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-linux-uclibc-nm
checking the name lister (mipsel-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to mipsel-unknown-linux-uclibc format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for mipsel-linux-uclibc-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... mipsel-linux-uclibc-ranlib
checking command to parse mipsel-linux-uclibc-nm output from mipsel-linux-uclibc-gcc -std=gnu99 object... ok
checking for sysroot... /opt/toolchains/stbgcc-4.5.3-1.3/mipsel-linux-uclibc/sys-root
checking for mipsel-linux-uclibc-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-uclibc-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 static flag -static works... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 supports -c -o file.o... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-gcc -std=gnu99 linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... mipsel-linux-uclibc-c++ -E
checking for ld used by mipsel-linux-uclibc-c++... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking whether the mipsel-linux-uclibc-c++ linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking for mipsel-linux-uclibc-c++ option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-c++ PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-c++ static flag -static works... yes
checking if mipsel-linux-uclibc-c++ supports -c -o file.o... yes
checking if mipsel-linux-uclibc-c++ supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-c++ linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mipsel-linux-uclibc-windres... no
checking for windres... no
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for iconv... yes
checking for working iconv... guessing yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for buggy GNU/libc versions... not present
checking for shared objects suffix... .so
checking whether nanosleep is declared... yes
checking for daemon... yes
checking for fcntl... yes
checking for fstatvfs... yes
checking for fork... yes
checking for getenv... yes
checking for getpwuid_r... yes
checking for if_nameindex... yes
checking for if_nametoindex... yes
checking for isatty... yes
checking for lstat... yes
checking for memalign... yes
checking for mmap... yes
checking for openat... yes
checking for pread... yes
checking for posix_fadvise... yes
checking for posix_madvise... no
checking for setlocale... yes
checking for stricmp... no
checking for strnicmp... no
checking for strptime... yes
checking for uselocale... no
checking for atof... yes
checking for atoll... yes
checking for dirfd... yes
checking for fdopendir... yes
checking for flockfile... yes
checking for fsync... yes
checking for getdelim... yes
checking for getpid... yes
checking for gmtime_r... yes
checking for inet_pton... yes
checking for lldiv... yes
checking for localtime_r... yes
checking for nrand48... yes
checking for rewind... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtof... yes
checking for strtok_r... yes
checking for strtoll... yes
checking for swab... yes
checking for tdestroy... yes
checking for fdatasync... yes
checking for working strcoll... no
checking for accept4... yes
checking for pipe2... yes
checking for eventfd... no
checking for vmsplice... yes
checking for sched_getaffinity... yes
checking for library containing poll... none required
checking for struct pollfd... yes
checking for library containing connect... none required
checking for socklen_t in sys/socket.h... yes
checking for struct sockaddr_storage... yes
checking for library containing getaddrinfo... none required
checking for getopt_long... yes
checking for cos in -lm... yes
checking for lrintf in -lm... yes
checking for library containing dlopen... -ldl
checking for main in -lpthread... yes
checking for clock_nanosleep in -lrt... yes
checking for strncasecmp in strings.h... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/udplite.h usability... no
checking netinet/udplite.h presence... no
checking for netinet/udplite.h... no
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking for net/if.h... yes
checking for sys/mount.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking scsi/scsi.h usability... yes
checking scsi/scsi.h presence... yes
checking for scsi/scsi.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for ssize_t... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for mipsel-linux-uclibc-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for MINIZIP... no
checking unzip.h usability... no
checking unzip.h presence... no
checking for unzip.h... no
checking for ntohl in sys/param.h... no
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wall... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wextra... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wsign-compare... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wundef... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wpointer-arith... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wbad-function-cast... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wwrite-strings... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wmissing-prototypes... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Wvolatile-register-var... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -Werror-implicit-function-declaration... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -pipe... yes
checking if mipsel-linux-uclibc-c++ accepts -Wall... yes
checking if mipsel-linux-uclibc-c++ accepts -Wextra... yes
checking if mipsel-linux-uclibc-c++ accepts -Wsign-compare... yes
checking if mipsel-linux-uclibc-c++ accepts -Wundef... yes
checking if mipsel-linux-uclibc-c++ accepts -Wpointer-arith... yes
checking if mipsel-linux-uclibc-c++ accepts -Wvolatile-register-var... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -fvisibility=hidden... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -ffast-math... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -funroll-loops... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 accepts -fomit-frame-pointer... yes
checking __attribute__ ((aligned ())) support... 64
checking for __attribute__((packed))... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking if mipsel-linux-uclibc-gcc -std=gnu99 groks 3D Now! inline assembly... no
checking for LIBPROXY... no
checking for live555 version 1324598400 or later... yes
checking for main in -lliveMedia_pic... no
checking for main in -lliveMedia... yes
checking for DC1394... no
configure: WARNING: Library libraw1394 >= 2.0.1 libdc1394-2 >= 2.1.0 needed for dc1394 was not found
checking for DV... no
configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv was not found
checking for BLURAY... no
configure: WARNING: Library libbluray >= 0.2.1 needed for bluray was not found
checking libsmbclient.h usability... no
checking libsmbclient.h presence... no
checking for libsmbclient.h... no
checking DeckLinkAPIDispatch.cpp usability... no
checking DeckLinkAPIDispatch.cpp presence... no
checking for DeckLinkAPIDispatch.cpp... no
configure: WARNING: Blackmagic DeckLink SDI include files not found
checking for Linux DVB version 5... yes
checking for DVBPSI... yes
checking for SID... no
configure: WARNING: No package 'libsidplay2' found (required for sid).
checking ebml/EbmlVersion.h usability... no
checking ebml/EbmlVersion.h presence... no
checking for ebml/EbmlVersion.h... no
checking mpc/mpcdec.h usability... no
checking mpc/mpcdec.h presence... no
checking for mpc/mpcdec.h... no
checking mpcdec/mpcdec.h usability... no
checking mpcdec/mpcdec.h presence... no
checking for mpcdec/mpcdec.h... no
checking for libcrystalhd/libcrystalhd_if.h... no
checking if linker supports -Bsymbolic... yes
checking for AVCODEC... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking for LIBVA... no
configure: WARNING: No package 'libva' found
No package 'libva-x11' found.
checking for AVFORMAT... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libavformat/avio.h usability... yes
checking libavformat/avio.h presence... yes
checking for libavformat/avio.h... yes
checking for libavutil/avutil.h... (cached) yes
checking for a52.h in /home/lbteam/zhangbin/bcm/unimedia/depvlc/liba52/a52dec-0.7.4/include... yes
checking for a52_free in -la52... yes
checking for DCA... no
configure: WARNING: Library libdca >= 0.0.5 needed for dca was not found
checking for FLAC... no
configure: WARNING: Library flac needed for flac was not found
checking for SPEEX... no
configure: WARNING: Library ogg speex >= 1.0.5 needed for speex was not found
checking for THEORA... no
configure: WARNING: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found
checking for SCHROEDINGER... no
configure: WARNING: Library schroedinger-1.0 >= 1.0.10 needed for schroedinger was not found
checking for X264... no
checking for FLUIDSYNTH... no
configure: WARNING: Library fluidsynth needed for fluidsynth was not found
checking for LIBASS... no
configure: WARNING: No package 'libass' found.
checking for KATE... no
configure: WARNING: Library kate >= 0.3.0 needed for kate was not found
checking for TIGER... no
checking for GL... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking for X... libraries /usr/lib, headers /usr/include
checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking kva.h usability... no
checking kva.h presence... no
checking for kva.h... no
checking for PULSE... no
checking for PULSE... no
checking for PORTAUDIO... no
configure: WARNING: Library portaudio-2.0 needed for portaudio was not found
checking for JACK... no
configure: WARNING: Library jack needed for jack was not found
checking for SAMPLERATE... no
configure: WARNING: Library samplerate needed for samplerate was not found
checking kai.h usability... no
checking kai.h presence... no
checking for kai.h... no
checking for GOOM... no
configure: WARNING: Library libgoom2 needed for goom was not found
checking for UDEV... no
configure: WARNING: Library libudev >= 142 needed for udev was not found
checking for MTP... no
configure: WARNING: Library libmtp >= 1.0.0 needed for mtp was not found
checking for UPNP... no
configure: WARNING: Library libupnp needed for upnp was not found
checking whether GCRYCTL_SET_THREAD_CBS is declared... yes
checking for gcry_control in -lgcrypt... yes
checking for GNUTLS... no
checking for MCE... no
checking for TAGLIB... no
configure: WARNING: No package 'taglib' found.
checking for NOTIFY... yes
checking whether byte ordering is bigendian... no
./configure: line 46827: kde4-config: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating modules/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating compat/Makefile
config.status: creating src/Makefile
config.status: creating src/test/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating test/Makefile
config.status: creating modules/access/Makefile
config.status: creating modules/access/bd/Makefile
config.status: creating modules/access/dshow/Makefile
config.status: creating modules/access/mms/Makefile
config.status: creating modules/access/rtp/Makefile
config.status: creating modules/access/rtsp/Makefile
config.status: creating modules/access/vcd/Makefile
config.status: creating modules/access/vcdx/Makefile
config.status: creating modules/access/screen/Makefile
config.status: creating modules/access/zip/Makefile
config.status: creating modules/access/zip/unzip/Makefile
config.status: creating modules/access_output/Makefile
config.status: creating modules/audio_filter/Makefile
config.status: creating modules/audio_mixer/Makefile
config.status: creating modules/audio_output/Makefile
config.status: creating modules/codec/Makefile
config.status: creating modules/codec/avcodec/Makefile
config.status: creating modules/codec/dmo/Makefile
config.status: creating modules/codec/loader/Makefile
config.status: creating modules/codec/omxil/Makefile
config.status: creating modules/codec/shine/Makefile
config.status: creating modules/codec/spudec/Makefile
config.status: creating modules/codec/wmafixed/Makefile
config.status: creating modules/control/Makefile
config.status: creating modules/control/dbus/Makefile
config.status: creating modules/control/globalhotkeys/Makefile
config.status: creating modules/demux/Makefile
config.status: creating modules/demux/asf/Makefile
config.status: creating modules/demux/avformat/Makefile
config.status: creating modules/demux/avi/Makefile
config.status: creating modules/demux/mkv/Makefile
config.status: creating modules/demux/mp4/Makefile
config.status: creating modules/demux/mpeg/Makefile
config.status: creating modules/demux/playlist/Makefile
config.status: creating modules/gui/Makefile
config.status: creating modules/gui/macosx/Makefile
config.status: creating modules/gui/hildon/Makefile
config.status: creating modules/gui/minimal_macosx/Makefile
config.status: creating modules/gui/macosx_dialog_provider/Makefile
config.status: creating modules/gui/qt4/Makefile
config.status: creating modules/gui/skins2/Makefile
config.status: creating modules/lua/Makefile
config.status: creating modules/meta_engine/Makefile
config.status: creating modules/misc/Makefile
config.status: creating modules/misc/playlist/Makefile
config.status: creating modules/misc/osd/Makefile
config.status: creating modules/misc/stats/Makefile
config.status: creating modules/media_library/Makefile
config.status: creating modules/mux/Makefile
config.status: creating modules/mux/mpeg/Makefile
config.status: creating modules/notify/Makefile
config.status: creating modules/packetizer/Makefile
config.status: creating modules/services_discovery/Makefile
config.status: creating modules/stream_filter/Makefile
config.status: creating modules/stream_filter/dash/Makefile
config.status: creating modules/stream_out/Makefile
config.status: creating modules/stream_out/transcode/Makefile
config.status: creating modules/text_renderer/Makefile
config.status: creating modules/video_chroma/Makefile
config.status: creating modules/video_filter/Makefile
config.status: creating modules/video_filter/dynamicoverlay/Makefile
config.status: creating modules/video_output/Makefile
config.status: creating modules/video_output/msw/Makefile
config.status: creating modules/visualization/Makefile
config.status: creating modules/visualization/visual/Makefile
config.status: creating modules/mmx/Makefile
config.status: creating modules/mmxext/Makefile
config.status: creating modules/3dnow/Makefile
config.status: creating modules/sse2/Makefile
config.status: creating modules/altivec/Makefile
config.status: creating modules/arm_neon/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
libvlc configuration
--------------------
version : 2.0.1
system : linux
architecture : mipsel
optimizations : yes
vlc aliases : cvlc rvlc
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
configure done ...
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
====================================================================
configure done ...
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$ make
make all-recursive
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
Making all in compat
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
GEN dummy.c
make all-am
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
CC dummy.lo
CC vasprintf.lo
CCLD libcompat.la
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
Making all in doc
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
Making all in po
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/po'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/po'
Making all in share
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
GEN vlc.desktop
tmp-vlc.desktop: warning: file contains key "Keywords", this key is currently reserved for use within KDE, and should in the future KDE releases be prefixed by "X-"
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
Making all in src
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
GEN ../include/vlc_about.h
GEN stamp-revision
/bin/sh: line 1: git: command not found
make all-recursive
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
Making all in .
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
CC libvlc.lo
In file included from libvlc.c:53:0:
/opt/toolchains/stbgcc-4.5.3-1.3/bin/../mipsel-linux-uclibc/sys-root/usr/include/locale.h:153:20: error: conflicting types for 'locale_t'
../include/vlc_fixups.h:215:15: note: previous declaration of 'locale_t' was here
/opt/toolchains/stbgcc-4.5.3-1.3/bin/../mipsel-linux-uclibc/sys-root/usr/include/locale.h:159:19: error: conflicting types for 'newlocale'
../include/vlc_fixups.h:225:24: note: previous definition of 'newlocale' was here
/opt/toolchains/stbgcc-4.5.3-1.3/bin/../mipsel-linux-uclibc/sys-root/usr/include/locale.h:208:13: error: conflicting types for 'freelocale'
../include/vlc_fixups.h:221:20: note: previous definition of 'freelocale' was here
/opt/toolchains/stbgcc-4.5.3-1.3/bin/../mipsel-linux-uclibc/sys-root/usr/include/locale.h:215:19: error: conflicting types for 'uselocale'
../include/vlc_fixups.h:216:24: note: previous definition of 'uselocale' was here
make[4]: *** [libvlc.lo] Error 1
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make: *** [all] Error 2
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$
=============================================================================
出现了诸如找不到live555的问题,http://blog.csdn.net/commshare/article/details/16549957
可以通过修改configure的方法解决,
也可以通过设置CFLAGS, LDFLAGS的问题解决。
可能这才是解决问题的方法。
=============================================================================
===============uclibc中==================
/* POSIX 2008 makes locale_t official. */
typedef __locale_t locale_t;
VLC说:
/* locale.h */
#ifndef HAVE_USELOCALE
#define LC_NUMERIC_MASK 0
#define LC_MESSAGES_MASK 0
typedef void *locale_t;
这俩类型冲突了,把vlc的定义拿到需要他们的地方就好了。
这个定义在vlc_fixups.h里头。
=====
请参考mipsel-linux-uclibc交叉编译vlc2 http://blog.csdn.net/commshare/article/details/16818321
=====
================================================================
这个脚本可以用于install。
由于vlc的install的时候,需要把好多的la 重新链接出来?所以需要nm 等工具?
zhangbin@bogon:~/bcm/unimedia/uniskmedia/DepHome/code/vlc$ make install
make install-recursive
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
Making install in compat
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make install-am
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/compat'
Making install in doc
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/doc/vlc" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/doc/vlc"
/usr/bin/install -c -m 644 libvlc/gtk_player.c libvlc/libvlc_DVD_ripper.c libvlc/QtPlayer/LICENSE libvlc/QtPlayer/main.cpp libvlc/QtPlayer/player.cpp libvlc/QtPlayer/player.h libvlc/QtPlayer/QtVLC.pro libvlc/vlc-thumb.c libvlc/wx_player.cpp bugreport-howto.txt fortunes.txt intf-vcd.txt '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/doc/vlc'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/man/man1" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/man/man1"
/usr/bin/install -c -m 644 vlc.1 vlc-wrapper.1 '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/man/man1'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/doc'
Making install in po
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/po'
if test "vlc" = "gettext-tools"; then \
/bin/mkdir -p /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/po'
Making install in share
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/applications" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/applications"
/usr/bin/install -c -m 644 vlc.desktop '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/applications'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/128x128/apps" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/128x128/apps"
/usr/bin/install -c -m 644 icons/128x128/vlc.png icons/128x128/vlc-xmas.png '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/128x128/apps'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/16x16/apps" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/16x16/apps"
/usr/bin/install -c -m 644 icons/16x16/vlc.png icons/16x16/vlc.xpm '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/16x16/apps'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/256x256/apps" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/256x256/apps"
/usr/bin/install -c -m 644 icons/256x256/vlc.png '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/256x256/apps'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/32x32/apps" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/32x32/apps"
/usr/bin/install -c -m 644 icons/32x32/vlc.png icons/32x32/vlc.xpm icons/32x32/vlc-xmas.xpm '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/32x32/apps'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/48x48/apps" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/48x48/apps"
/usr/bin/install -c -m 644 icons/48x48/vlc.png icons/48x48/vlc-xmas.png '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/icons/hicolor/48x48/apps'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc"
/usr/bin/install -c -m 644 icons/vlc.ico '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc"
/bin/mkdir -p '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc/utils/'
/usr/bin/install -c utils/gnome-vlc-default.sh utils/audio-vlc-default.sh utils/video-vlc-default.sh '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc/utils/'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/vlc"
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc"
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/kde4/apps/solid/actions" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/kde4/apps/solid/actions"
/usr/bin/install -c -m 644 solid/vlc-opencda.desktop solid/vlc-opendvd.desktop solid/vlc-openvcd.desktop '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/share/kde4/apps/solid/actions'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/share'
Making install in src
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
GEN stamp-revision
/bin/sh: line 1: git: command not found
make install-recursive
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
Making install in .
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[6]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[6]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libvlccore.la '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib'
libtool: install: /usr/bin/install -c .libs/libvlccore.so.5.0.0 /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/libvlccore.so.5.0.0
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib && { ln -s -f libvlccore.so.5.0.0 libvlccore.so.5 || { rm -f libvlccore.so.5 && ln -s libvlccore.so.5.0.0 libvlccore.so.5; }; })
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib && { ln -s -f libvlccore.so.5.0.0 libvlccore.so || { rm -f libvlccore.so && ln -s libvlccore.so.5.0.0 libvlccore.so; }; })
libtool: install: /usr/bin/install -c .libs/libvlccore.lai /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/libvlccore.la
libtool: finish: PATH="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/bin:/opt/hisi-linux/x86-arm/arm-hisiv200-linux/target/bin:/opt/hisi-linux/x86-arm/arm-hisiv110-linux/target/bin:/opt/jdk1.6.0_32/bin:/opt/jdk1.6.0_32/jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/sbin" ldconfig -n /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins"
/usr/bin/install -c -m 644 ../include/vlc_about.h '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/pkgconfig" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/pkgconfig"
/usr/bin/install -c -m 644 vlc-plugin.pc '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/pkgconfig'
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins"
/usr/bin/install -c -m 644 ../include/vlc_access.h ../include/vlc_acl.h ../include/vlc_aout.h ../include/vlc_aout_intf.h ../include/vlc_aout_mixer.h ../include/vlc_arrays.h ../include/vlc_art_finder.h ../include/vlc_atomic.h ../include/vlc_avcodec.h ../include/vlc_bits.h ../include/vlc_block.h ../include/vlc_block_helper.h ../include/vlc_charset.h ../include/vlc_codec.h ../include/vlc_common.h ../include/vlc_config.h ../include/vlc_config_cat.h ../include/vlc_configuration.h ../include/vlc_cpu.h ../include/vlc_dialog.h ../include/vlc_demux.h ../include/vlc_epg.h ../include/vlc_es.h ../include/vlc_es_out.h ../include/vlc_events.h ../include/vlc_filter.h ../include/vlc_fourcc.h ../include/vlc_fs.h ../include/vlc_gcrypt.h ../include/vlc_opengl.h ../include/vlc_http.h ../include/vlc_httpd.h ../include/vlc_image.h ../include/vlc_inhibit.h ../include/vlc_input.h ../include/vlc_input_item.h ../include/vlc_main.h ../include/vlc_md5.h ../include/vlc_messages.h ../include/vlc_meta.h '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins'
/usr/bin/install -c -m 644 ../include/vlc_media_library.h ../include/vlc_modules.h ../include/vlc_mouse.h ../include/vlc_mtime.h ../include/vlc_network.h ../include/vlc_objects.h ../include/vlc_picture.h ../include/vlc_picture_fifo.h ../include/vlc_picture_pool.h ../include/vlc_playlist.h ../include/vlc_plugin.h ../include/vlc_probe.h ../include/vlc_rand.h ../include/vlc_services_discovery.h ../include/vlc_sql.h ../include/vlc_sout.h ../include/vlc_spu.h ../include/vlc_stream.h ../include/vlc_strings.h ../include/vlc_subpicture.h ../include/vlc_text_style.h ../include/vlc_threads.h ../include/vlc_tls.h ../include/vlc_url.h ../include/vlc_variables.h ../include/vlc_vlm.h ../include/vlc_video_splitter.h ../include/vlc_vout.h ../include/vlc_vout_display.h ../include/vlc_vout_osd.h ../include/vlc_vout_window.h ../include/vlc_xml.h ../include/vlc_xlib.h '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/include/vlc/plugins'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
Making install in test
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src/test'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src/test'
make[6]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[6]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src/test'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src/test'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/src'
Making install in modules
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules'
Making install in access
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access'
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make install-recursive
make[4]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access'
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
Making install in mms
make[5]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[6]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[6]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make install-am
make[6]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[7]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[7]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[7]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[8]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[8]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make[7]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc/plugins/access" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc/plugins/access"
/bin/sh ../../../libtool --mode=install /usr/bin/install -c libaccess_mms_plugin.la '/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc/plugins/access'
libtool: install: warning: relinking `libaccess_mms_plugin.la'
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms; /bin/sh /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/libtool --silent --tag CC --mode=relink mipsel-linux-uclibc-gcc -std=gnu99 -g -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -ffast-math -funroll-loops -rpath /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc/plugins/access -avoid-version -module -export-symbols-regex "^vlc_entry" -shrext .so -no-undefined -L/home/lbteam/zhangbin/bcm/unimedia/depvlc/live555/live_0626/BasicUsageEnvironment -L/home/lbteam/zhangbin/bcm/unimedia/depvlc/live555/live_0626/UsageEnvironment -L/home/lbteam/zhangbin/bcm/unimedia/depvlc/live555/live_0626/groupsock -L/home/lbteam/zhangbin/bcm/unimedia/depvlc/live555/live_0626/liveMedia -L/home/lbteam/zhangbin/bcm/unimedia/dest/lib -L/home/lbteam/zhangbin/bcm/unimedia/maincode/lib -o libaccess_mms_plugin.la -rpath /home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/home/lib/vlc/plugins/access libaccess_mms_plugin_la-mms.lo libaccess_mms_plugin_la-mmsh.lo libaccess_mms_plugin_la-mmstu.lo libaccess_mms_plugin_la-buffer.lo libaccess_mms_plugin_la-asf.lo ../../../src/libvlccore.la ../../../compat/libcompat.la -lpthread )
/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/libtool: line 1102: mipsel-linux-uclibc-nm: command not found
/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/libtool: line 8979: mipsel-linux-uclibc-gcc: command not found
libtool: install: error: relink `libaccess_mms_plugin.la' with the above command before installing it
make[7]: *** [install-libvlcLTLIBRARIES] Error 1
make[7]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[6]: *** [install-am] Error 2
make[6]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[5]: *** [install] Error 2
make[5]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access/mms'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules/access'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc/modules'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/uniskmedia/DepHome/code/vlc'
make: *** [install] Error 2
设置了这个环境之后,就可以直接make install了。
#!/bin/bash
DST=/home/vlc/home
DST_ROOT=/home/dest
A52_HOME=$DST
echo "####################"
echo "A52_HOME IS $A52_HOME"
echo "####################"
HOST=mipsel-linux-uclibc
##########################
export PATH="/opt/toolchains/stbgcc-4.5.3-1.3/bin:/usr/local/bin:/bin:/usr/bin"
echo "============"
echo "PATH IS $PATH"
echo "============"
#mipsel-linux = glibc, little endian Linux on MIPS
ARCH=mipsel-linux-uclibc
CROSS_COMPILE=$ARCH-
echo "+++++++++++++++++++++++++++++++++++++"
echo "ARCH IS $ARCH"
echo "CROSS_COMPILE IS $CROSS_COMPILE"
echo "+++++++++++++++++++++++++++++++++++++"
# Define make variables
export AS=${CROSS_COMPILE}as
export LD=${CROSS_COMPILE}ld
export CC=${CROSS_COMPILE}gcc
# NOTE: We must use c++ and not g++. g++ uses libraries with GPL code which we don't want to link with.
export CXX=${CROSS_COMPILE}c++
export AR=${CROSS_COMPILE}ar
export NM=${CROSS_COMPILE}nm
export STRIP=${CROSS_COMPILE}strip
export OBJCOPY=${CROSS_COMPILE}objcopy
export OBJDUMP=${CROSS_COMPILE}objdump
export RANLIB=${CROSS_COMPILE}ranlib
echo "================"
echo "AS IS $AS"
echo "LD IS $LD"
echo "CC IS $CC"
echo "CXX IS $CXX"
echo "================"