Package: kannel
Version: 1.4.3-2

The package build process produces an archive libwmlscript.a as follows:

ar rc libwmlscript.a wmlscript/wmlsc.o ...

with wmlsc already containing a "main" function. Subsequently libwmlscript.a is
linked to multiple object files containing their own main function (including
wmlscript/wmlsc.o, again), which leads to duplicate definitions of main, and
thus undefined behaviour as the linker is free to pick either of them.

Best,
Michael

Attachment: pgpfu68V1GDs1.pgp
Description: PGP signature

Reply via email to