WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] build error: symbols.c:83: warning: ignoring return value of

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] build error: symbols.c:83: warning: ignoring return value of 'fgets'
From: Zoran Kikic <lists@xxxxxxxxxx>
Date: Fri, 20 Jul 2007 12:29:17 +0200
Delivery-date: Fri, 20 Jul 2007 03:26:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (Windows/20070716)
Hello,

I'm trying to build xen-3.1.0-src and get this error:

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


I'm running (LFS/2.6.21.3) Linux on a dual opteron box.


What does this error mean?


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] build error: symbols.c:83: warning: ignoring return value of 'fgets', Zoran Kikic <=