From: Mark D. <ma...@ki...> - 2005-01-28 02:58:28
|
On Thu, 27 Jan 2005 23:04:43 +0100 (CET), Bjoern Voigt wrote > Hello! > > I tried to compile gaim-1.1.2 for Solaris 5.9. I got the following error > message in gaim/src/protocols/msn: > > if /bin/bash ../../../libtool --silent --mode=compile --tag=CC gcc > -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src > -I/home/pub/lib/gtk26/include/glib-2.0 > -I/home/pub/lib/gtk26/lib/glib-2.0/include -I/home/pub/include > -O2 -threads -Wall -g3 -MT httpconn.lo -MD -MP -MF > ".deps/httpconn.Tpo" -c -o httpconn.lo httpconn.c; \ then mv -f > ".deps/httpconn.Tpo" ".deps/httpconn.Plo"; else rm -f > ".deps/httpconn.Tpo"; exit 1; fi httpconn.c:170: error: conflicting > types for 'poll' /usr/include/sys/poll.h:124: error: previous > declaration of 'poll' was here httpconn.c:170: error: conflicting > types for 'poll' /usr/include/sys/poll.h:124: error: previous > declaration of 'poll' was here *** Error code 1 > > As far as I can see, the include files have a dependency to > /usr/include/sys/poll.h. There and in httpconn.c are two functions named > poll. > > As a temporary workaround, I renamed poll() in httpconn.c. > > Regards, Bjoern Nathan fixed this a day or two ago. http://cvs.sourceforge.net/viewcvs.py/gaim/gaim/src/protocols/msn/httpconn.c?r1=1.5&r2=1.6 -Mark |