Bug#747960: Conflicting declarations of function clean_exit
Michael Tautschnig
mt at debian.org
Tue May 13 10:27:04 UTC 2014
Package: esound
Version: 0.2.41-11
Usertags: goto-cc
During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.
[...]
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -Wl,-z -Wl,relro -o .libs/esd esd.o clients.o filter.o mix.o players.o proto.o samples.o -lwrap ./.libs/libesd.so -lm -lasound -laudiofile
file /usr/include/tcpd.h line 92: error: conflicting function declarations "clean_exit"
old definition in module esd file esd.c line 201
void (signed int signum)
new definition in module clients file /usr/include/tcpd.h line 92
void (struct request_info *)
make[3]: *** [esd] Error 64
As the linker does not provide any guarantees on which of the implementations
will be chosen, the code of "clients" may choose to call clean_exit from esd.c
rather than that of libraries.
Possibly the best fix is renaming clean_exit of esd.c to avoid the name clash.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20140513/e7c6e7d4/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list