Just FYI/notice when preparing for Fedora 32 builds that for src/modules/siputils
, contact_flds_separator
is defined both in contact_ops.h
and siputils.c
make[2]: Entering directory '/builddir/build/BUILD/kamailio-5.3.2/src/modules/siputils'
gcc -shared -Wl,-O2 -Wl,-E -pthread -rdynamic -ldl -Wl,-Bsymbolic-functions sipops.o config.o siputils.o rpid.o ring.o contact_ops.o chargingvector.o options.o utils.o checks.o -L../../lib/srdb1/ -lsrdb1 -Wl,-rpath,/builddir/build/BUILD/kamailio-5.3.2/src/lib/srdb1 -o siputils.so
make[2]: Leaving directory '/builddir/build/BUILD/kamailio-5.3.2/src/modules/siputils'
/usr/bin/ld: contact_ops.o:/builddir/build/BUILD/kamailio-5.3.2/src/modules/siputils/contact_ops.h:51: multiple definition of `contact_flds_separator'; siputils.o:/builddir/build/BUILD/kamailio-5.3.2/src/modules/siputils/contact_ops.h:51: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [../../Makefile.rules:191: siputils.so] Error 1
make[1]: *** [Makefile:511: modules] Error 1
make: *** [Makefile:34: every-module] Error 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.