Building packages with 17.01.04 don't match repository packages

I am having a problem rebuilding a package for v17.01.04. (Note that I am building from the SDK because there is also a custom wireless driver involved, but that part worked fine.) In particular, a sub-module has a different size and behavior than the one that is retrieved by opkg from the repository. I need to make a change to the sub-module, but need to be able to build it without change first. Here's what I have done:

clone source from github
git checkout V17.01.04
scripts/feeds update -a
scripts/feeds install -a
make menuconfig

  • select carambola2
  • select baresip and sub-module avcodec

make

At this point, there is an error with libre complaining that a dependency on libz.so.1 is missing. I modified feeds/telephony/libs/re/Makefile to include +zlib on the DEPENDS line and make again.

This make succeeds.

The resulting avcodec.so has a file size of 10732, however if I do an opkg install baresip-mod-avcodec, the size of avcodec.so is 12164. If I enable other sub-modules in baresip, the sizes are identical. The two modules also behave differently, displaying different messages when used. Both versions are purportedly 0.4.19-1.

Am I missing something important here?

Thanks for any insight that you can provide.

Summary

This text will be hidden