jabberd-2.0.5 fails to compile with expat warnings

Mike Jakubik mikej at rogers.com
Wed Dec 8 14:51:37 PST 2004


I just tried to compile jabbered2 on a 5.3-stable amd64 box. All installed
ports are up to date, ports tree was cvsuped before building. Here is
there error:

---
source='main.c' object='main.o' libtool=no  depfile='.deps/main.Po'
tmpdepfile='.deps/main.TPo'  depmode=gcc3 /bin/sh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -DCONFIG_DIR=\"/usr/local/etc/jabberd\"  
-I/usr/local/include/mysql -I/usr/local/include  -O -pipe -c `test -f
'main.c' || echo './'`main.c
In file included from ../sx/sx.h:30,
                 from c2s.h:26,
                 from main.c:21:
../expat/expat.h:216: warning: `cdecl' attribute ignored
../expat/expat.h:220: warning: `cdecl' attribute ignored
../expat/expat.h:236: warning: `cdecl' attribute ignored
../expat/expat.h:240: warning: `cdecl' attribute ignored
../expat/expat.h:253: warning: `cdecl' attribute ignored
../expat/expat.h:257: warning: `cdecl' attribute ignored
../expat/expat.h:261: warning: `cdecl' attribute ignored
../expat/expat.h:262: warning: `cdecl' attribute ignored
../expat/expat.h:263: warning: `cdecl' attribute ignored
../expat/expat.h:270: warning: `cdecl' attribute ignored
../expat/expat.h:284: warning: `cdecl' attribute ignored
../expat/expat.h:299: warning: `cdecl' attribute ignored
../expat/expat.h:311: warning: `cdecl' attribute ignored
../expat/expat.h:318: warning: `cdecl' attribute ignored
../expat/expat.h:321: warning: `cdecl' attribute ignored
../expat/expat.h:327: warning: `cdecl' attribute ignored
../expat/expat.h:333: warning: `cdecl' attribute ignored
../expat/expat.h:337: warning: `cdecl' attribute ignored
../expat/expat.h:339: warning: `cdecl' attribute ignored
../expat/expat.h:340: warning: `cdecl' attribute ignored
../expat/expat.h:357: warning: `cdecl' attribute ignored
../expat/expat.h:367: warning: `cdecl' attribute ignored
../expat/expat.h:373: warning: `cdecl' attribute ignored
../expat/expat.h:402: warning: `cdecl' attribute ignored
../expat/expat.h:406: warning: `cdecl' attribute ignored
../expat/expat.h:423: warning: `cdecl' attribute ignored
../expat/expat.h:434: warning: `cdecl' attribute ignored
../expat/expat.h:445: warning: `cdecl' attribute ignored
../expat/expat.h:449: warning: `cdecl' attribute ignored
../expat/expat.h:460: warning: `cdecl' attribute ignored
../expat/expat.h:501: warning: `cdecl' attribute ignored
../expat/expat.h:516: warning: `cdecl' attribute ignored
../expat/expat.h:573: warning: `cdecl' attribute ignored
../expat/expat.h:574: warning: `cdecl' attribute ignored
../expat/expat.h:595: warning: `cdecl' attribute ignored
../expat/expat.h:600: warning: `cdecl' attribute ignored
../expat/expat.h:603: warning: `cdecl' attribute ignored
../expat/expat.h:606: warning: `cdecl' attribute ignored
../expat/expat.h:610: warning: `cdecl' attribute ignored
../expat/expat.h:614: warning: `cdecl' attribute ignored
../expat/expat.h:617: warning: `cdecl' attribute ignored
../expat/expat.h:622: warning: `cdecl' attribute ignored
../expat/expat.h:626: warning: `cdecl' attribute ignored
../expat/expat.h:630: warning: `cdecl' attribute ignored
../expat/expat.h:638: warning: `cdecl' attribute ignored
../expat/expat.h:646: warning: `cdecl' attribute ignored
../expat/expat.h:651: warning: `cdecl' attribute ignored
../expat/expat.h:655: warning: `cdecl' attribute ignored
../expat/expat.h:659: warning: `cdecl' attribute ignored
../expat/expat.h:663: warning: `cdecl' attribute ignored
../expat/expat.h:667: warning: `cdecl' attribute ignored
../expat/expat.h:672: warning: `cdecl' attribute ignored
../expat/expat.h:676: warning: `cdecl' attribute ignored
../expat/expat.h:680: warning: `cdecl' attribute ignored
../expat/expat.h:684: warning: `cdecl' attribute ignored
../expat/expat.h:688: warning: `cdecl' attribute ignored
../expat/expat.h:695: warning: `cdecl' attribute ignored
../expat/expat.h:699: warning: `cdecl' attribute ignored
../expat/expat.h:704: warning: `cdecl' attribute ignored
../expat/expat.h:711: warning: `cdecl' attribute ignored
../expat/expat.h:728: warning: `cdecl' attribute ignored
../expat/expat.h:732: warning: `cdecl' attribute ignored
../expat/expat.h:744: warning: `cdecl' attribute ignored
../expat/expat.h:751: warning: `cdecl' attribute ignored
../expat/expat.h:769: warning: `cdecl' attribute ignored
../expat/expat.h:781: warning: `cdecl' attribute ignored
../expat/expat.h:784: warning: `cdecl' attribute ignored
../expat/expat.h:793: warning: `cdecl' attribute ignored
../expat/expat.h:801: warning: `cdecl' attribute ignored
../expat/expat.h:813: warning: `cdecl' attribute ignored
../expat/expat.h:816: warning: `cdecl' attribute ignored
../expat/expat.h:819: warning: `cdecl' attribute ignored
../expat/expat.h:840: warning: `cdecl' attribute ignored
../expat/expat.h:873: warning: `cdecl' attribute ignored
../expat/expat.h:879: warning: `cdecl' attribute ignored
../expat/expat.h:897: warning: `cdecl' attribute ignored
../expat/expat.h:898: warning: `cdecl' attribute ignored
../expat/expat.h:899: warning: `cdecl' attribute ignored
../expat/expat.h:905: warning: `cdecl' attribute ignored
../expat/expat.h:920: warning: `cdecl' attribute ignored
../expat/expat.h:929: warning: `cdecl' attribute ignored
../expat/expat.h:933: warning: `cdecl' attribute ignored
../expat/expat.h:936: warning: `cdecl' attribute ignored
../expat/expat.h:939: warning: `cdecl' attribute ignored
../expat/expat.h:943: warning: `cdecl' attribute ignored
../expat/expat.h:947: warning: `cdecl' attribute ignored
../expat/expat.h:951: warning: `cdecl' attribute ignored
../expat/expat.h:963: warning: `cdecl' attribute ignored
../expat/expat.h:985: warning: `cdecl' attribute ignored
main.c:24: error: conflicting types for 'c2s_lost_router'
c2s.h:210: error: previous declaration of 'c2s_lost_router' was here
main.c:24: error: conflicting types for 'c2s_lost_router'
c2s.h:210: error: previous declaration of 'c2s_lost_router' was here
*** Error code 1

Stop in /usr/ports/net/jabberd/work/jabberd-2.0s5/c2s.
*** Error code 1

Stop in /usr/ports/net/jabberd/work/jabberd-2.0s5.
*** Error code 1

Stop in /usr/ports/net/jabberd/work/jabberd-2.0s5.
*** Error code 1

Stop in /usr/ports/net/jabberd.
---

Also, this warning is shown during the configure script, not sure if it
matters, but i thought i would mention it.

---
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h:     check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to the jabberd lists.  ##
configure: WARNING:     ## ---------------------------------- ##
checking for resolv.h... yes
---

Thanks.






More information about the freebsd-ports mailing list