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
||There is already a patch for this in the patches repo and
it should be
included in the book.
http://www.linuxfromscra
tch.org/patches/downloads/nfs-utils/nfs-utils-1.0.7-gcc4-1.p
atch|
||
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
|