ircd-hybrid 7.1.3 in x86_64 arch

Eric Tanguy eric.tanguy at univ-nantes.fr
Mon Nov 14 14:13:11 EST 2005


I try to package ircd-hybrib for fedora-extras and building it against
x86_64 arch i obtain these errors : 
irc_getaddrinfo.c: In function 'str_isnumber':
irc_getaddrinfo.c:196: warning: ignoring return value of 'strtoul',
declared with attribute warn_unused_result
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c irc_getnameinfo.c
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c irc_res.c
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c irc_reslib.c
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c irc_string.c
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c ircd.c
ircd.c: In function 'main':
ircd.c:654: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c ircd_signal.c
irc_string.c: In function 'inetntop':
irc_string.c:343: warning: 'cur.len' may be used uninitialized in this
function
irc_string.c:343: warning: 'best.len' may be used uninitialized in this
function
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -I. -c lex.yy.c
gcc -I../include   -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=nocona -c list.c
In file included from /usr/include/sys/stat.h:105,
                 from ../include/stdinc.h:112,
                 from ircd_lexer.l:34:
/usr/include/bits/stat.h:103: error: syntax error before '[' token
lex.yy.c: In function 'yylex':
ircd_lexer.l:391: warning: ignoring return value of 'fwrite', declared
with attribute warn_unused_result
make[1]: *** [lex.yy.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/builddir/build/BUILD/ircd-hybrid-7.1.3/src'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.99028 (%build)

Is it normal ?
Is it possible to build it against x86_64 arch ? And if yes is there a
patch for it ?
Thanks
Eric

PS : i tried to send an email to bugs at ircd-hybrid.org but the email was
refused!





More information about the hybrid mailing list