nnn久以前还装上过……用的大概是03年九十月份的cvs,这回死活装不上了……晕啊~~~
装了automake,autoconf,gmake等等,也改了makedist.sh,在ythtlib/里还是出错了
gcc -Wall -g -c named_socket.c -Wall -O -I../include -I../ythtlib -I../libythtbbs -g -D_GNU_SOURCE
In file included from named_socket.c:2:
/usr/include/sys/socket.h:52: syntax error before `sa_family_t'
/usr/include/sys/socket.h:52: warning: type defaults to `int' in declaration of `sa_family_t'
/usr/include/sys/socket.h:52: warning: data definition has no type or storage class
/usr/include/sys/socket.h:163: syntax error before `u_char'
/usr/include/sys/socket.h:174: syntax error before `u_short'
。。。
。。。
。。。
In file included from named_socket.c:2:
/usr/include/sys/socket.h:444: syntax error before `recv'
/usr/include/sys/socket.h:444: warning: type defaults to `int' in declaration of `recv'
。。。
。。。
。。。
In file included from named_socket.c:3:
/usr/include/sys/un.h:44: syntax error before `u_char'
named_socket.c: In function `make_named_socket':
named_socket.c:17: structure has no member named `sun_family'
named_socket.c: In function `connect_named_socket':
named_socket.c:39: structure has no member named `sun_family'
gmake[1]: *** [named_socket.o] Error 1
gmake[1]: Leaving directory `/home/bbssrc/bbs/ythtlib'
gmake: *** [all] Error 2
--
FROM 202.196.65.27