logo       

compiling vlc for strongarm: msg#00244

video.videolan.vlc.general

Subject: compiling vlc for strongarm


Hi! I am trying to compile vlc for arm/strongarm from source. I am using plain familiar linux (without user interface gpe or opie) so i would like to install a very basic vlc which supports network streaming and mpeg2. I have tried sources vlc-0.6.2 and vlc-0.7.1 and tried different configuration options.

Here's the configurion I used...

$ /Projects/vlc-0.7.1/configure --host=arm-linux --target=arm-linux --enable-debug --enable-test-suite --enable-dummy --disable-gtk --disable-gnome --disable-qt --disable-kde --disable-qte --disable-xosd --enable-fb --disable-sdl --disable-x11 --disable-xvideo --disable-dvd --disable-dvdread --disable-vcd --disable-dvbpsi --disable-freetype --disable-mad --disable-ffmpeg --srcdir=/Projects/vlc-0.7.1 --with-tuning=strongarm1100 LDFLAGS=-L/usr/local/arm/2.95.3/arm-linux/lib -L/usr/local/arm/2.95.3/arm-linux/usr/lib/ CPPFLAGS=-I/usr/local/arm/2.95.3/arm-linux/include/ -I/usr/local/arm/2.95.3/arm-linux/usr/include/


please note that I am using a different source directory than where I am compiling that's why I am using --srcdir option. I am using cross compiler 2.95.3

I diasabled all interface options and used dummy. I also disabled X11 and thought that the video be outputted directly to framebuffer, besides, there was an error when I tried to compile with X11 headers and libraries. I didn't include support for different formats, I only enabled libmpeg2

I was able to compile a binary but there was an error when I ran it on iPAQ H3800 with familiar Linux v0.7.

/home/mildred # ./vlc-debug -V 2 udp:
VLC media player 0.7.1 Bond
[00000001] main vlc error: no memcpy module matched "any"
[00000006] main interface error: no interface module matched "hotkeys,none"
[00000006] main interface error: no suitable intf module
[00000001] main vlc error: interface "hotkeys,none" initialization failed
[00000007] main input: playlist item `udp:'
[00000007] main input error: no access module matched "udp"
[00000007] main input error: no access module matched "any"
[00000007] main input error: no suitable access module for `/://udp:'
[00000008] main interface error: no interface module matched "any"
[00000008] main interface error: no suitable intf module
[00000001] main vlc error: interface "(null)" initialization failed


I guess my problem is what are the dependencies, libraries needed for a basic vlc with support for mpeg2 video for an embedded arm platform.

Thanks in advance.


Mildred



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... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc
checking whether arm-linux-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... arm-linux-gcc -E
checking for arm-linux-g++... arm-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-g++ accepts -g... yes
checking dependency style of arm-linux-g++... gcc
checking how to run the C++ preprocessor... arm-linux-g++ -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... grep -E
checking for an Objective-C compiler... checking dependency style of
arm-linux-g++... gcc
not implemented yet
checking for arm-linux-ranlib... arm-linux-ranlib
checking for arm-linux-strip... (cached) arm-linux-strip
checking for arm-linux-ar... arm-linux-ar
checking for arm-linux-ld... arm-linux-ld
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 arm-linux-ranlib... (cached) arm-linux-ranlib
checking for strerror in -lcposix... no
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 for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... guessing no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... arm-linux-ld
checking if the linker (arm-linux-ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for textdomain... yes
checking for suffix of libraries... .so
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for isatty... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for swab... yes
checking for sigrelse... yes
checking for getpwuid... yes
checking for memalign... yes
checking for posix_memalign... yes
checking for gethostbyname2... yes
checking for if_nametoindex... yes
checking for atoll... yes
checking for getenv... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for gmtime_r... yes
checking for ctime_r... yes
checking for strdup... (cached) yes
checking for strndup... yes
checking for atof... yes
checking for lseek... yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... yes
checking for setlocale... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking for connect... yes
checking for send... yes
checking for gethostbyname... yes
checking for socklen_t... yes
checking for va_copy... no
checking for __va_copy... yes
checking for inet_aton... yes
checking for getopt_long... yes
checking return type of signal handlers... void
checking for cos in -lm... yes
checking for pow in -lm... yes
checking for sqrt in -lm... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for shl_load... no
checking for dld_link in -ldld... no
checking image.h usability... no
checking image.h presence... no
checking for image.h... no
checking for load_add_on... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for main in -lpthread... yes
checking for cthread_fork in -lthreads... no
checking for sem_init in -lrt... yes
checking for nanosleep... yes
checking for pthread_cond_t in pthread.h... yes
checking for pthread_once in pthread.h... yes
checking for strncasecmp in strings.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdint.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.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 net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 whether time.h and sys/time.h may both be included... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for nanosleep in time.h... yes
checking for timespec in sys/time.h... yes
checking cthreads.h usability... no
checking cthreads.h presence... no
checking for cthreads.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking kernel/scheduler.h usability... no
checking kernel/scheduler.h presence... no
checking for kernel/scheduler.h... no
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking for ntohl in sys/param.h... no
checking if $CC accepts -finline-limit... yes
checking if $CC accepts -Wall... yes
checking if $CC accepts -Wconversion... yes
checking if $CC accepts -Wunreachable-code... no
checking if $CC accepts -Wsign-compare... yes
checking if $CC accepts -pipe... yes
checking if $CC accepts -O3... yes
checking if $CC accepts -O2... yes
checking if $CC accepts -ffast-math... yes
checking if $CC accepts -funroll-loops... yes
checking if $CC accepts -fomit-frame-pointer... yes
checking if $CC accepts -mdynamic-no-pic... no
checking if $CC accepts -bundle -undefined error -lcc_dynamic... no
checking if $CC accepts -shared... yes
checking for variadic cpp macros... yes
checking __attribute__ ((aligned ())) support... 64
checking __attribute__ ((format ())) support with function pointers... no
checking for __attribute__((packed))... yes
checking if $CC groks MMX inline assembly... no
checking if $CC groks MMX EXT inline assembly... no
checking if $CC groks 3D Now! inline assembly... no
checking if $CC groks SSE inline assembly... no
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib... no
checking dvdplay/dvdplay.h usability... no
checking dvdplay/dvdplay.h presence... no
checking for dvdplay/dvdplay.h... no
checking for dvdnav-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for libcdio >= 0.65... Package libcdio was not found in the pkg-config
search path.
Perhaps you should add the directory containing `libcdio.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcdio' found
configure: WARNING: libcdio library not found
checking for libcddb >= 0.9.4... Package libcddb was not found in the
pkg-config search path.
Perhaps you should add the directory containing `libcddb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcddb' found
configure: WARNING: new enough libcddb not found. CDDB access disabled
checking for libvcdinfo >= 0.7.20... Package libvcdinfo was not found in the
pkg-config search path.
Perhaps you should add the directory containing `libvcdinfo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvcdinfo' found
configure: WARNING: vcdinfo library not found
checking for inet_pton... yes
checking for sockaddr_in6 in netinet/in.h... yes
checking ogg/ogg.h usability... no
checking ogg/ogg.h presence... no
checking for ogg/ogg.h... no
checking ebml/EbmlVersion.h usability... no
checking ebml/EbmlVersion.h presence... no
checking for ebml/EbmlVersion.h... no
checking libmodplug/modplug.h usability... no
checking libmodplug/modplug.h presence... no
checking for libmodplug/modplug.h... no
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
checking libtar.h usability... no
checking libtar.h presence... no
checking for libtar.h... no
checking a52dec/a52.h usability... no
checking a52dec/a52.h presence... no
checking for a52dec/a52.h... no
checking dts.h usability... no
checking dts.h presence... no
checking for dts.h... no
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking for libmpeg2 version >= 0.3.2... yes
checking vorbis/codec.h usability... no
checking vorbis/codec.h presence... no
checking for vorbis/codec.h... no
checking vorbis/vorbisenc.h usability... no
checking vorbis/vorbisenc.h presence... no
checking for vorbis/vorbisenc.h... no
checking speex.h usability... no
checking speex.h presence... no
checking for speex.h... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for X11/extensions/dpms.h... yes
checking for DPMSInfo in X11/extensions/dpms.h... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for main in -lossaudio... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
/Projects/vlc-0.7.1/configure: line 1: --cflags: command not found
/Projects/vlc-0.7.1/configure: line 1: --libs: command not found
checking for xml2-config... /usr/bin/xml2-config
checking for xmlTextReaderConstName in -lxml2... no
configure: WARNING: libxml2 missing the xmlTextReader extension, you should
update your version
checking for wx-config... no
checking Cocoa/Cocoa.h usability... no
checking Cocoa/Cocoa.h presence... no
checking for Cocoa/Cocoa.h... no
checking Ph.h usability... no
checking Ph.h presence... no
checking for Ph.h... no
checking slp.h usability... no
checking slp.h presence... no
checking for slp.h... no
checking whether the byte order is big-endian... no
configure: creating ./vlc-config.in
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autotools/Makefile
config.status: creating debian/Makefile
config.status: creating doc/Makefile
config.status: creating intl/Makefile
config.status: creating ipkg/Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating mozilla/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating modules/access/Makefile
config.status: creating modules/access/dshow/Makefile
config.status: creating modules/access/dvb/Makefile
config.status: creating modules/access/dvd/Makefile
config.status: creating modules/access/dvdplay/Makefile
config.status: creating modules/access/dvdread/Makefile
config.status: creating modules/access/mms/Makefile
config.status: creating modules/access/pvr/Makefile
config.status: creating modules/access/satellite/Makefile
config.status: creating modules/access/v4l/Makefile
config.status: creating modules/access/cdda/Makefile
config.status: creating modules/access/vcd/Makefile
config.status: creating modules/access/vcdx/Makefile
config.status: creating modules/access_output/Makefile
config.status: creating modules/audio_filter/Makefile
config.status: creating modules/audio_filter/channel_mixer/Makefile
config.status: creating modules/audio_filter/converter/Makefile
config.status: creating modules/audio_filter/resampler/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/ffmpeg/Makefile
config.status: creating modules/codec/ffmpeg/postprocessing/Makefile
config.status: creating modules/codec/ogt/Makefile
config.status: creating modules/codec/spudec/Makefile
config.status: creating modules/control/Makefile
config.status: creating modules/control/corba/Makefile
config.status: creating modules/control/lirc/Makefile
config.status: creating modules/control/rc/Makefile
config.status: creating modules/demux/Makefile
config.status: creating modules/demux/asf/Makefile
config.status: creating modules/demux/avi/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/demux/util/Makefile
config.status: creating modules/gui/Makefile
config.status: creating modules/gui/beos/Makefile
config.status: creating modules/gui/pda/Makefile
config.status: creating modules/gui/gtk/Makefile
config.status: creating modules/gui/gtk2/Makefile
config.status: creating modules/gui/kde/Makefile
config.status: creating modules/gui/macosx/Makefile
config.status: creating modules/gui/ncurses/Makefile
config.status: creating modules/gui/qnx/Makefile
config.status: creating modules/gui/qt/Makefile
config.status: creating modules/gui/skins/Makefile
config.status: creating modules/gui/skins2/Makefile
config.status: creating modules/gui/wxwindows/Makefile
config.status: creating modules/misc/Makefile
config.status: creating modules/misc/dummy/Makefile
config.status: creating modules/misc/logger/Makefile
config.status: creating modules/misc/memcpy/Makefile
config.status: creating modules/misc/network/Makefile
config.status: creating modules/misc/testsuite/Makefile
config.status: creating modules/misc/playlist/Makefile
config.status: creating modules/mux/Makefile
config.status: creating modules/mux/mpeg/Makefile
config.status: creating modules/packetizer/Makefile
config.status: creating modules/stream_out/Makefile
config.status: creating modules/stream_out/transrate/Makefile
config.status: creating modules/video_chroma/Makefile
config.status: creating modules/video_filter/Makefile
config.status: creating modules/video_filter/deinterlace/Makefile
config.status: creating modules/video_output/Makefile
config.status: creating modules/video_output/directx/Makefile
config.status: creating modules/video_output/mga/Makefile
config.status: creating modules/video_output/qte/Makefile
config.status: creating modules/video_output/x11/Makefile
config.status: creating modules/visualization/Makefile
config.status: creating modules/visualization/scope/Makefile
config.status: creating modules/visualization/xosd/Makefile
config.status: creating modules/visualization/visual/Makefile
config.status: creating vlc-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

vlc configuration
--------------------
vlc version : 0.7.1
system : linux
architecture : arm
build flavour : debug optim devel
vlc aliases :

You can tune the compiler flags in vlc-config.
To build vlc and its plugins, type `make'.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise