appunite / AndroidFFmpeg

[DEPRECATED] FFmpeg build for android random architectures with example jni
Apache License 2.0
1.07k stars 470 forks source link

option 'subdir-objects' is disabled #144

Open ashokgujju opened 8 years ago

ashokgujju commented 8 years ago

I am following the installation instructions. when I executed ./fetch.sh I many of these warnings (warning:source file '$(ENC_SRC)/grp_data.c' is in a subdirectory, Makefile.am:26: but option 'subdir-objects' is disabled) and execution terminated. full log is attached. could anyone help me on this? log.txt

CptCattivo commented 8 years ago

Hi, if you haven't found a solution by yourself yet, this one worked for me:

  1. Go to ".../library-jni/jni/vo-aacenc" and open the "configure.ac" file.
  2. Add the line "AM_INIT_AUTOMAKE([subdir-objects])" and save the file. (I even had to replace the line "AM_INIT_AUTOMAKE([tar-ustar])", but i don't know, if this was really necessary).
  3. Repeat 1 and 2 for the ".../library-jni/jni/vo-amrwbenc" directory and wherever else the problem occurs.
  4. Try again ^^.
  5. In my case, there was an additional problem, where i had to run the command "automake --add-missing" in the same directories. Maybe you should do this, too.