#7773 closed defect (invalid)
make clean does not remove obsolete filter from filter_list.c
Reported by: | Ulf Zibis | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
- Create a new filter and add it to libavfilter/Makefile.
- Build the project --> success.
- Remove the new filter and delete it from libavfilter/Makefile.
- Clean and build the project --> error: vf_newfilter.c in filter_list.c not declared.
Change History (4)
comment:1 by , 6 years ago
Component: | undetermined → build system |
---|---|
Version: | unspecified → git-master |
comment:2 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Hi,
this is not a help request, but a real bug report.
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
Workaround is:
- rm libavfilter/filter_list.c
Note:
See TracTickets
for help on using tickets.
This is not help channel for developing ffmpeg.