Hi Joss, Am Tuesday 03 November 2009 13:34:45 schrieb Josselin Mouette: > Le dimanche 11 octobre 2009 à 16:04 +0200, Stefan Potyra a écrit : > > during Ubuntu's rebuild test, libsoup failed to build with the newer > > eglibc [1], since it provides a definition for dprintf. > > > > Attached is a patch that changes the local defintions of dprintf to > > dprintf_local. > > Wouldn’t it be sufficient to build it with -Bsymbolic instead?
No, it doesn't fail at link time, but rather at compile time, so -Bsymbolic
wouldn't help[1]:
cc -DHAVE_CONFIG_H -I. -I.. -I.. -DSRCDIR=\""."\" -I/usr/include/libxml2
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g
-Wall -O2 -Wall -Wstrict-prototypes -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c
context-test.c
context-test.c:31: error: conflicting types for 'dprintf'
Maybe there's a way to disable the eglibc prototype of getline, but I haven't
found one :(.
Cheers,
Stefan.
--
[1]: Side note: Ubuntu has -Bsymbolic-functions enabled by default.
signature.asc
Description: This is a digitally signed message part.

