miniupnpd to 2.0.0 version,
Openwrt version :19.07
-
The build is successful If comment /define ENABLE_MANUFACTURER_INFO_CONFIGURATION/ in config.h file.
-
But for use of friendly name, manufacture name, etc, I have uncommented the
#define ENABLE_MANUFACTURER_INFO_CONFIGURATION in config.h file of miniupnpd.
During compilation, we received the error below.
natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o iptcrdr.o iptpinhole.o nfct_get.o -lip4tc -lip6tc -lssl -lcrypto -ldl -luuid -o miniupnpd
mips-openwrt-linux-musl-gcc -L/home/narendra/1907OWRT/openwrt/staging_dir/target-mips_24kc_musl/usr/lib -L/home/narendra/1907OWRT/openwrt/staging_dir/target-mips_24kc_musl/lib -L/home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/usr/lib -L/home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,--gc-sections,--as-needed -L/home/narendra/1907OWRT/openwrt/staging_dir/target-mips_24kc_musl/usr/lib testupnpdescgen.o upnpdescgen.o -lip4tc -lip6tc -lssl -lcrypto -ldl -luuid -o testupnpdescgen
/home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x34): undefined reference to friendly_name' /home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x3c): undefined reference to
manufacturer_name'
/home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x44): undefined reference to manufacturer_url' /home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x4c): undefined reference to
model_description'
/home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x54): undefined reference to model_name' /home/narendra/1907OWRT/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.5.0_musl/lib/gcc/mips-openwrt-linux-musl/7.5.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/narendra/1907OWRT/openwrt/tmp/ccZ9qp8y.ltrans0.ltrans.o:(.data.rel.ro+0x64): undefined reference to
model_url'
collect2: error: ld returned 1 exit status
make[4]: *** [: testupnpdescgen] Error 1
make[4]: Leaving directory '/home/narendra/1907OWRT/openwrt/build_dir/target-mips_24kc_musl/miniupnpd-2.2.0'
make[3]: *** [Makefile:77: /home/narendra/1907OWRT/openwrt/build_dir/target-mips_24kc_musl/miniupnpd-2.2.0/.built] Error 2
make[3]: Leaving directory '/home/narendra/1907OWRT/openwrt/feeds/packages/net/miniupnpd'
time: package/feeds/packages/miniupnpd/compile#3.67#1.47#5.05
make[2]: *** [package/Makefile:113: package/feeds/packages/miniupnpd/compile] Error 2
make[2]: Leaving directory '/home/narendra/1907OWRT/openwrt'
make[1]: *** [package/Makefile:107: /home/narendra/1907OWRT/openwrt/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/narendra/1907OWRT/openwrt'
make: *** [/home/narendra/1907OWRT/openwrt/include/toplevel.mk:227: world] Error 2