Skip to content
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

Unable to compile ffmpeg.c #457

Closed
VanAxe opened this issue Jun 9, 2016 · 4 comments
Closed

Unable to compile ffmpeg.c #457

VanAxe opened this issue Jun 9, 2016 · 4 comments

Comments

@VanAxe
Copy link

VanAxe commented Jun 9, 2016

Unable to compile ffmpeg.c

I am trying to read alac m4a files and I can't get configure to grab onto ffmpeg.c . May this be related to #315 or #412 ?

  1. uname -a:
Linux nopehost.nopedomain 4.5.5-201.fc23.x86_64 #1 SMP Sat May 21 15:29:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  1. cmus --version:
cmus v2.7.1
  1. cmus --plugins:
Input Plugins: /usr/local/lib/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  cdio:
    Priority: 50
    File Types:
    MIME Types: x-content/audio-cdda
  cue:
    Priority: 50
    File Types:
    MIME Types: application/x-cue
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  opus:
    Priority: 50
    File Types: opus
    MIME Types:
  mp4:
    Priority: 50
    File Types: mp4 m4a m4b
    MIME Types:
  wav:
    Priority: 50
    File Types: wav
    MIME Types:

Output Plugins: /usr/local/lib/cmus/op
  alsa
  oss
  1. ./configure:
# Fedora require extra love to configure properly so here's what I'm actually running :

$ PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig" CONFIG_ALSA=y CONFIG_FFMPEG=y CONFIG_MP4=y ./configure

checking for program gcc... /usr/lib64/ccache/gcc
checking for program gcc... /usr/lib64/ccache/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security... yes
checking for CFLAGS -Wold-style-definition... yes
checking for CFLAGS -Wno-pointer-sign... yes
checking for CFLAGS -Werror-implicit-function-declaration... yes
checking for CFLAGS -Wno-unused-parameter... yes
checking if CC can generate dependency information... yes
checking byte order... little-endian
checking for DL_LIBS (-ldl -Wl,--export-dynamic)... yes
checking for PTHREAD_LIBS (-lpthread)... yes
checking for realtime scheduling... yes
checking for program pkg-config... /usr/bin/pkg-config
checking for NCURSES_LIBS (pkg-config)... -lncursesw 
checking for NCURSES_CFLAGS (pkg-config)... 
checking for working ncurses setup... yes
checking for function resizeterm... yes
checking for function use_default_colors... yes
checking for ICONV_LIBS (-liconv)... no
assuming libc contains iconv
checking for working iconv... yes
checking for header <byteswap.h>... yes
checking for function strdup... yes
checking for function strndup... yes
checking for CDDB_LIBS (pkg-config)... no
checking for CDDB_LIBS (-lcddb)... no
checking for CDIO_LIBS (pkg-config)... -lcdio_cdda -lcdio -lm -lcdio -lm 
checking for CDIO_CFLAGS (pkg-config)... -I/usr/include/cdio 
checking for FLAC_LIBS (pkg-config)... -lFLAC 
checking for FLAC_CFLAGS (pkg-config)... 
checking for MAD_LIBS (pkg-config)... no
checking for MAD_LIBS (-lmad -lm)... yes
checking for MODPLUG_LIBS (pkg-config)... no
checking for MODPLUG_LIBS (-lmodplug -lstdc++ -lm)... no
checking for header <mpc/mpcdec.h>... no
checking for header <mpcdec/mpcdec.h>... no
checking for VORBIS_LIBS (pkg-config)... -lvorbisfile 
checking for VORBIS_CFLAGS (pkg-config)... 
checking for OPUS_LIBS (pkg-config)... -lopusfile 
checking for OPUS_CFLAGS (pkg-config)... -I/usr/include/opus 
checking for WAVPACK_LIBS (pkg-config)... no
checking for WAVPACK_LIBS (-lwavpack)... no
checking for header <mp4v2/mp4v2.h>... yes
checking for header <neaacdec.h>... yes
checking for MP4_LIBS (-lmp4v2 -lfaad -lm)... yes
checking for header <neaacdec.h>... yes
checking for AAC_LIBS (-lfaad -lm)... yes
checking for FFMPEG_LIBS (pkg-config)... -L/usr/local/lib -lavformat 
checking for FFMPEG_CFLAGS (pkg-config)... -I/usr/local/include 
checking for header <libavcodec/avcodec.h>... yes
checking for successful build of ffmpeg.c... no
configure failed.
@VanAxe
Copy link
Author

VanAxe commented Jun 9, 2016

I just saw what this might be covered under PR #446 .

Please close if already addressed.

@nefthy
Copy link
Collaborator

nefthy commented Jun 9, 2016

#425 would be my guess

@nefthy
Copy link
Collaborator

nefthy commented Jun 9, 2016

have you tried compiling from git?

@VanAxe
Copy link
Author

VanAxe commented Jun 9, 2016

Oh, I forgot to mention that. I was indeed compiling from git, checking out tag v2.7.1 #d9bc784 .

I just tried compiling from HEAD #fdce44b, which fixes the issue.

@mahkoh 's branch on #446 also fixes it.

Horray! Thanks guys!

@VanAxe VanAxe closed this as completed Jun 9, 2016
@sergiomb2
Copy link

How about a new tag ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants