[FFmpeg-trac] #7773(build system:reopened): make clean does not remove obsolete filter from filter_list.c

FFmpeg trac at avcodec.org
Fri Mar 8 19:18:05 EET 2019


#7773: make clean does not remove obsolete filter from filter_list.c
-------------------------------------+-------------------------------------
             Reporter:  UlfZibis     |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  build
                                     |  system
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by UlfZibis):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 Hi,
 this is not a help request, but a real bug report.

 Workaround is:
 - rm libavfilter/filter_list.c

 I followed  doc/writing_filters.txt to create a new filter foobar.c.
 Then I did:
 - ./configure
 - make
 - rm libavfilter/vf_foobar.c
 - delete foobar entry in libavfilter/MAKEFILE
 - delete foobar entry in libavfilter/allfilters.c
 - make clean
 - ./configure
 - make

 Result:
 [....]
 CC      libavfilter/allfilters.o
 In file included from libavfilter/allfilters.c:461:0:
 ./libavfilter/filter_list.c:169:6: error: ‘ff_vf_foobar’ undeclared here
 (not in a function); did you mean ‘ff_vf_format’?
      &ff_vf_foobar,
       ^~~~~~~~~~~~
       ff_vf_format
 ffbuild/common.mak:60: recipe for target 'libavfilter/allfilters.o' failed
 make: *** [libavfilter/allfilters.o] Error 1

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7773#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list