[jadmin] make fails [auf Viren überprüft]

Jonathan Siegle jsiegle at psu.edu
Fri Jun 9 07:17:30 CDT 2006


AIX does not define ss_family. It defines __ss_family. This is found in 
/usr/include/sys/socket.h


I also found this link describing the problem and the fix:

http://mailman.jabber.org/pipermail/jadmin/2004-May/016023.html

I'm not sure why this was not accepted. Maybe someone else can shed some 
light on that one.

Hans Moser said the following on 5/30/06 10:53 AM:
> Hi!
> 
> make with gcc on AIX 5.3 fails at mio:
> 
> -------------------------------------
> gmake[1]: Leaving directory `/SOURCE/jabberd-2.0s11/expat'
> Making all in mio
> gmake[1]: Entering directory `/SOURCE/jabberd-2.0s11/mio'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I. -I..     -O2 -MT mio.lo -MD -MP -MF ".deps/mio.Tpo" -c -o mio.lo 
> mio.c; \
> then mv -f ".deps/mio.Tpo" ".deps/mio.Plo"; else rm -f ".deps/mio.Tpo"; 
> exit 1; fi
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -MT mio.lo -MD -MP -MF 
> .deps/mio.Tpo -c mio.c  -DPIC -o .libs/mio.o
> mio.c: In function `mio_listen':
> mio.c:360: error: structure has no member named `ss_family'
> mio.c:361: error: structure has no member named `ss_family'
> mio.c:364: error: structure has no member named `ss_family'
> mio.c: In function `mio_connect':
> mio.c:412: error: structure has no member named `ss_family'
> gmake[1]: *** [mio.lo] Error 1
> gmake[1]: Leaving directory `/SOURCE/jabberd-2.0s11/mio'
> gmake: *** [all-recursive] Error 1
> make: 1254-004 The error code from the last command is 2.
> 
> 
> Stop.
> -------------------------------------
> export CC=gcc
> export CFLAGS="-O2"
> export CXXFLAGS="-O2"
> export MAKE=gmake
> 
> configure seems to be ok.
> # ./configure --prefix=/opt/jabber --enable-static --disable-mysql 
> --enable-db --disable-idn --enable-ldap --enable-debug 
> --with-ldap=/opt/mail/lib
> 
> 
> What to do now?
> 
> _______________________________________________
> jadmin mailing list
> jadmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3357 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/jadmin/attachments/20060609/1fcd915e/smime-0004.bin


More information about the JAdmin mailing list