New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on Ubuntu 12.04 / amd64 #26
Comments
Could I see the output of
|
Well, as it seemed to have a lot to do with the version of ffmpeg, I tried with the latest version.. that resolved the problem above, but raised new problems with missing vp8 functionality (eg. undefined reference to `vpx_codec_decode'). I ended up using the new segment-functions in the latest ffmpeg, and creating a script to generate m3u8 files. It probably won't help, but here goes: ii chromium-codecs-ffmpeg 18.0.1025.168 |
Just checked out from Github, and configured/compiled as instructed:
$ aclocal
$ automake -ac
$ autoconf
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -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 for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
checking for strrchr... yes
checking for strtol... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
$ make
Making all in tests
...
gcc -DPACKAGE_NAME="m3u8-segmenter" -DPACKAGE_TARNAME="m3u8-segmenter" -DPACKAGE_VERSION="0.3" -DPACKAGE_STRING="m3u8-segmenter\ 0.3" -DPACKAGE_BUGREPORT="http://github.com/johnf/m3u8-segmenter/issues\" -DPACKAGE_URL="http://m3u8-segmenter.inodes.org\" -DPACKAGE="m3u8-segmenter" -DVERSION="0.3" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -I. -I/usr/local/include -g -O2 -Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -funsigned-char -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings -MT m3u8_segmenter-m3u8-segmenter.o -MD -MP -MF .deps/m3u8_segmenter-m3u8-segmenter.Tpo -c -o m3u8_segmenter-m3u8-segmenter.o
test -f 'm3u8-segmenter.c' || echo './'
m3u8-segmenter.cm3u8-segmenter.c: In function ‘add_output_stream’:
m3u8-segmenter.c:58:5: error: implicit declaration of function ‘avformat_new_stream’ [-Werror=implicit-function-declaration]
m3u8-segmenter.c:58:5: error: nested extern declaration of ‘avformat_new_stream’ [-Werror=nested-externs]
m3u8-segmenter.c:58:19: error: assignment makes pointer from integer without a cast [-Werror]
m3u8-segmenter.c: In function ‘main’:
m3u8-segmenter.c:343:5: error: implicit declaration of function ‘avformat_find_stream_info’ [-Werror=implicit-function-declaration]
m3u8-segmenter.c:343:5: error: nested extern declaration of ‘avformat_find_stream_info’ [-Werror=nested-externs]
m3u8-segmenter.c:390:7: error: implicit declaration of function ‘avcodec_open2’ [-Werror=implicit-function-declaration]
m3u8-segmenter.c:390:7: error: nested extern declaration of ‘avcodec_open2’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
make[1]: *** [m3u8_segmenter-m3u8-segmenter.o] Error 1
make[1]: Leaving directory '/home/kasper/src/m3u8-segmenter'
make: *** [all-recursive] Error 1
The text was updated successfully, but these errors were encountered: