[BLFS Trac] #1820: nfs-utils-1.0.7 and gcc4

BLFS Trac trac at linuxfromscratch.org
Sun Feb 26 09:46:59 PST 2006


#1820: nfs-utils-1.0.7 and gcc4
--------------------------------+-------------------------------------------
 Reporter:  jciccone at gmail.com  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect              |      Status:  new                           
 Priority:  low                 |   Milestone:  future                        
Component:  BOOK                |     Version:  a-SVN                         
 Severity:  minor               |    Keywords:                                
--------------------------------+-------------------------------------------
 The build of nfs-utils
 (http://www.linuxfromscratch.org/blfs/view/svn/server/nfs-utils.html)
 fails with the following error on gcc4 systems.

 gcc -g -O2 -D_GNU_SOURCE -DHAVE_TCP_WRAPPER -I../../support/include
 -I/include -Wall  -pipe  -DVERSION="\"nfs-utils 1.0.7\"" -DNFS3_SUPPORTED
 -I../../support/rpc/include -DDEBUG   -c -o svc_auth_gss.o svc_auth_gss.c
 svc_auth_gss.c: In function 'svcauth_gss_import_name':
 svc_auth_gss.c:124: warning: passing argument 3 of 'gss_import_name'
 discards qualifiers from pointer target type
 svc_auth_gss.c: In function '_svcauth_gss':
 svc_auth_gss.c:385: error: invalid lvalue in assignment
 make[2]: *** [svc_auth_gss.o] Error 1
 make[1]: *** [all] Error 2
 make: *** [all] Error 2

 A patch already exists in the patches repo to fix this issue.
 http://www.linuxfromscratch.org/patches/downloads/nfs-utils/nfs-
 utils-1.0.7-gcc4-1.patch

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/1820>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list