Hello, why can't I find this method when I compile and install ffmpeg? Is there something wrong with my practice? I follow readme.md step by step.

root@fb0f71201404:/data/gmf/examples# pkg-config --libs libavformat libavdevice libavfilter
-L/usr/local/ffmpeg/lib -lavformat -lavdevice -lavfilter
../format_go112.go:287:26: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../format_go112.go:333:45: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../format_go112.go:335:45: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../frame_go112.go:114:24: f.avFrame.pkt_pts undefined (type *_Ctype_struct_AVFrame has no field or method pkt_pts)
../frame_go112.go:122:11: f.avFrame.pkt_pts undefined (type *_Ctype_struct_AVFrame has no field or method pkt_pts)
../stream.go:48:12: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)
../stream.go:60:38: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)
../stream.go:78:40: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)
Hello, why can't I find this method when I compile and install ffmpeg? Is there something wrong with my practice? I follow readme.md step by step.
root@fb0f71201404:/data/gmf/examples# pkg-config --libs libavformat libavdevice libavfilter
-L/usr/local/ffmpeg/lib -lavformat -lavdevice -lavfilter
../format_go112.go:287:26: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../format_go112.go:333:45: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../format_go112.go:335:45: ctx.avCtx.filename undefined (type *_Ctype_struct_AVFormatContext has no field or method filename)
../frame_go112.go:114:24: f.avFrame.pkt_pts undefined (type *_Ctype_struct_AVFrame has no field or method pkt_pts)
../frame_go112.go:122:11: f.avFrame.pkt_pts undefined (type *_Ctype_struct_AVFrame has no field or method pkt_pts)
../stream.go:48:12: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)
../stream.go:60:38: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)
../stream.go:78:40: s.avStream.codec undefined (type *_Ctype_struct_AVStream has no field or method codec)