David Eriksson wrote: > On Mon, 2005-08-15 at 15:37 -0700, Derek Harding wrote: > >>Hi folks, >> >>I have an error trying to build libsyncml on RedHat Fedora Core 4. >> >>gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 >>-I/usr/lib/glib-2.0/include -I.. -Wall -I/usr/include/libxml2 -Werror -g >>-O2 -MT sml_transport.lo -MD -MP -MF .deps/sml_transport.Tpo -c >>sml_transport.c -fPIC -DPIC -o .libs/sml_transport.o >>cc1: warnings being treated as errors >>sml_transport.c: In function 'smlTransportReceive': >>sml_transport.c:234: warning: pointer targets in passing argument 1 of >>'smlPrintBinary' differ in signedness >>make[3]: *** [sml_transport.lo] Error 1 >>make[3]: Leaving directory `/root/libsyncml/libsyncml' >>make[2]: *** [all-recursive] Error 1 >>make[2]: Leaving directory `/root/libsyncml/libsyncml' >>make[1]: *** [all-recursive] Error 1 >>make[1]: Leaving directory `/root/libsyncml' >>make: *** [all] Error 2 >> >>The line is >> >>smlTrace(TRACE_INTERNAL, "wbxml received: %s", smlPrintBinary(data, >>size)); >> >>A prototyping issue perhaps? FC4 uses gcc 4.0.1 btw. > > > Version 4 of gcc is much more sensitive to signedness issues. >
Yes thats very correct. Im still using 3.4 so im not seeing these errors... > Please remove -Werror from all Makefile.am files, then use the > top-level ./autogen.sh instead of ./configure. > a autogen.sh is not distributed anymore (since it makes no sense anymore today). instead please run: autoreconf -sfi and then ./configure
signature.asc
Description: OpenPGP digital signature