[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] make world error: symbols.c:123: warning: ignoring return value of 'fgets'



Hello,
I'm running Linux (hlfs, 2.6.21.3-grsec, gcc version 4.1.2,) and tried to install xen-3.0.4_1-src and xen-3.1.0-src but got each time:

-----------------------------------------------------------------
make[5]: Entering directory `/home/admin/sources/xen-3.1.0-src/xen/tools'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -Wdeclaration-after-statement -o symbols symbols.c
cc1: warnings being treated as errors
symbols.c: In function 'read_symbol':
symbols.c:83: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[5]: *** [symbols] Error 1
make[5]: Leaving directory `/home/admin/sources/xen-3.1.0-src/xen/tools'
make[4]: *** [default] Error 2
make[4]: Leaving directory `/home/admin/sources/xen-3.1.0-src/xen/tools'
make[3]: *** [/home/admin/sources/xen-3.1.0-src/xen/xen] Error 2
make[3]: Leaving directory `/home/admin/sources/xen-3.1.0-src/xen'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/admin/sources/xen-3.1.0-src/xen'
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/home/admin/sources/xen-3.1.0-src'
make: *** [world] Error 2
-----------------------------------------------------------------

Any hints?


Thanks
Zoran


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.