[Pidgin] #15176: Bonjour SDK unusable for building pidgin

Pidgin trac at pidgin.im
Fri Jun 22 06:05:55 EDT 2012


#15176: Bonjour SDK unusable for building pidgin
--------------------------+-------------------------------------------------
 Reporter:  Darksun       |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.10.3    
 Keywords:                |  
--------------------------+-------------------------------------------------
 I have been following the instruction from this page:
 http://developer.pidgin.im/wiki/BuildingWinPidgin, but face an error while
 performing the "make -f Makefile.mingw install" under Build Pidgin

 *skip successful areas*
 {{{
 make[3]: Entering directory `/pidgin-
 devel/pidgin-2.10.3/libpurple/protocols/bonjour'
 gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-
 statement -Werror-implicit-function-declaration -Wextra -Wno-sign-compare
 -Wno-unused-parameter -Winit-self -Wmissing-declarations -Wmissing-
 prototypes -Wnested-externs -Wpointer-arith -Wundef -pipe -mms-bitfields
 -g -DUSE_BONJOUR_APPLE -DHAVE_CYRUS_SASL -DHAVE_CONFIG_H
 -DWIN32_LEAN_AND_MEAN -I.  -I../../../../win32-dev/gtk_2_0-2.14/include
 -I../../../../win32-dev/gtk_2_0-2.14/include/glib-2.0
 -I../../../../win32-dev/gtk_2_0-2.14/lib/glib-2.0/include
 -I../../../../win32-dev/Bonjour_SDK/Include
 -I../../../../win32-dev/libxml2-2.7.4/include/libxml2
 -I../../../libpurple  -I../../../libpurple/win32  -I../../.. -o bonjour.o
 -c bonjour.c
 In file included from bonjour.c:30:
 dns_sd_proxy.h:34:20: error: dns_sd.h: No such file or directory
 In file included from bonjour.c:30:
 dns_sd_proxy.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceAddRecord'
 dns_sd_proxy.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceBrowse'
 dns_sd_proxy.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceGetAddrInfo'
 dns_sd_proxy.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceProcessResult'
 dns_sd_proxy.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceQueryRecord'
 dns_sd_proxy.h:68: error: expected ')' before 'sdRef'
 dns_sd_proxy.h:72: error: expected ')' before 'sdRef'
 dns_sd_proxy.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceRegister'
 In file included from bonjour.c:30:
 dns_sd_proxy.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceResolve'
 dns_sd_proxy.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceRemoveRecord'
 dns_sd_proxy.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before '_wpurple_DNSServiceUpdateRecord'
 dns_sd_proxy.h:96: error: expected ')' before '*' token
 dns_sd_proxy.h:100: error: expected ')' before '*' token
 dns_sd_proxy.h:104: warning: type defaults to 'int' in declaration of
 'TXTRecordRef'
 dns_sd_proxy.h:104: error: expected ';', ',' or ')' before '*' token
 dns_sd_proxy.h:108: warning: type defaults to 'int' in declaration of
 'TXTRecordRef'
 dns_sd_proxy.h:108: error: expected ';', ',' or ')' before '*' token
 dns_sd_proxy.h:116: error: expected '=', ',', ';', 'asm' or
 '__attribute__' before '_wpurple_TXTRecordSetValue'
 In file included from ../../../libpurple/internal.h:50,
                  from bonjour.c:33:
 ../../../../win32-dev/gtk_2_0-2.14/include/libintl.h:91:25: warning:
 "__APPLE_CC__" is not defined
 ../../../../win32-dev/gtk_2_0-2.14/include/libintl.h:113:24: warning:
 "__APPLE_CC__" is not defined
 ../../../libpurple/win32/rules.mak:4: recipe for target `bonjour.o' failed
 make[3]: *** [bonjour.o] Error 1
 make[3]: Leaving directory `/pidgin-
 devel/pidgin-2.10.3/libpurple/protocols/bonjour'
 Makefile.mingw:16: recipe for target `all' failed
 make[2]: *** [all] Error 1
 make[2]: Leaving directory `/pidgin-
 devel/pidgin-2.10.3/libpurple/protocols'
 Makefile.mingw:123: recipe for target `all' failed
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/pidgin-devel/pidgin-2.10.3/libpurple'
 Makefile.mingw:83: recipe for target `all' failed
 make: *** [all] Error 2
 }}}

 After checking the old tickets, I realise that the links related to
 Bonjour_SDK are outdated, and the files within Bonjour_SDK have completely
 changed from the past. I believe this is what is causing the error

 Please tell me if there is a way around this

-- 
Ticket URL: <http://developer.pidgin.im/ticket/15176>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list