[Pidgin] #3142: Compile the 2.2.0 pidgin's error
Pidgin
trac at pidgin.im
Sun Sep 16 22:54:52 EDT 2007
#3142: Compile the 2.2.0 pidgin's error
--------------------------+-------------------------------------------------
Reporter: visor | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.2.0
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
I build the pigin 2.1.1 is success in my machine before,but when I compile
the 2.20, it have some errors
my machine is centos4.4
my kernal is 2.6.9-55.0.2
it is how I configure the pidgin:
./configure --prefix=/usr/local/pidgin --with-nss-
includes=/usr/local/nss/include --with-nspr-
includes=/usr/local/nspr/include --with-nss-libs=/usr/local/nss/lib
--with-nspr-libs=/usr/local/nspr/lib ;make;make install;
if /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -DDATADIR=\"/usr/local/pidgin/share\"
-I../../libpurple -I../../libpurple -Wall -Waggregate-return -Wcast-align
-Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-
declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self
-Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wnested-
externs -Wpointer-arith -Wundef -Wp,-D_FORTIFY_SOURCE=2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -g -O2 -MT
helloworld.lo -MD -MP -MF ".deps/helloworld.Tpo" -c -o helloworld.lo
helloworld.c; \
then mv -f ".deps/helloworld.Tpo" ".deps/helloworld.Plo"; else rm -f
".deps/helloworld.Tpo"; exit 1; fi
In file included from ../../libpurple/blist.h:79,
from ../../libpurple/buddyicon.h:31,
from ../../libpurple/conversation.h:141,
from ../../libpurple/log.h:53,
from ../../libpurple/account.h:43,
from ../../libpurple/connection.h:59,
from ../../libpurple/notify.h:37,
from helloworld.c:36:
../../libpurple/status.h:240: error: syntax error before
"G_GNUC_NULL_TERMINATED"
../../libpurple/status.h:240: warning: type defaults to `int' in
declaration of `G_GNUC_NULL_TERMINATED'
../../libpurple/status.h:240: warning: data definition has no type or
storage class
../../libpurple/status.h:283: error: syntax error before
"G_GNUC_NULL_TERMINATED"
../../libpurple/status.h:283: warning: type defaults to `int' in
declaration of `G_GNUC_NULL_TERMINATED'
../../libpurple/status.h:283: warning: data definition has no type or
storage class
In file included from ../../libpurple/buddyicon.h:33,
from ../../libpurple/conversation.h:141,
from ../../libpurple/log.h:53,
from ../../libpurple/account.h:43,
from ../../libpurple/connection.h:59,
from ../../libpurple/notify.h:37,
from helloworld.c:36:
../../libpurple/prpl.h:411: error: syntax error before
"G_GNUC_NULL_TERMINATED"
../../libpurple/prpl.h:411: warning: type defaults to `int' in declaration
of `G_GNUC_NULL_TERMINATED'
../../libpurple/prpl.h:411: warning: data definition has no type or
storage class
../../libpurple/prpl.h:451: error: syntax error before
"G_GNUC_NULL_TERMINATED"
../../libpurple/prpl.h:451: warning: type defaults to `int' in declaration
of `G_GNUC_NULL_TERMINATED'
../../libpurple/prpl.h:451: warning: data definition has no type or
storage class
In file included from ../../libpurple/connection.h:59,
from ../../libpurple/notify.h:37,
from helloworld.c:36:
../../libpurple/account.h:424: error: syntax error before
"G_GNUC_NULL_TERMINATED"
../../libpurple/account.h:424: warning: type defaults to `int' in
declaration of `G_GNUC_NULL_TERMINATED'
../../libpurple/account.h:424: warning: data definition has no type or
storage class
make[4]: *** [helloworld.lo] 错误 1
make[4]: Leaving directory `/root/pidgin-2.2.0/libpurple/plugins'
make[3]: *** [install-recursive] 错误 1
make[3]: Leaving directory `/root/pidgin-2.2.0/libpurple/plugins'
make[2]: *** [install-recursive] 错误 1
make[2]: Leaving directory `/root/pidgin-2.2.0/libpurple'
make[1]: *** [install] 错误 2
make[1]: Leaving directory `/root/pidgin-2.2.0/libpurple'
--
Ticket URL: <http://developer.pidgin.im/ticket/3142>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list