Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile fail for nfs v3 support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gohmdoree
Guru
Guru


Joined: 12 Oct 2004
Posts: 533

PostPosted: Tue Nov 09, 2004 7:25 am    Post subject: kernel compile fail for nfs v3 support Reply with quote

following this guide:

http://www.gentoo.org/proj/en/cluster/hpc-howto.xml

compiling the kernel fails when i add the following:

CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_NFSD_V3=y
CONFIG_LOCKD_V4=y

below is the error as its trying to compile lockd. the kernel is linux-2.4.26-gentoo-r9

[code]
make -C lockd
make[2]: Entering directory `/usr/src/linux-2.4.26-gentoo-r9/fs/lockd'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.26-gentoo-r9/fs/lockd'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=svc4proc -c -o svc4proc.o svc4proc.c
svc4proc.c:562: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:562: error: initializer element is not constant
svc4proc.c:562: error: (near initialization for `nlmsvc_procedures4[0].pc_decode')
svc4proc.c:562: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:562: error: initializer element is not constant
svc4proc.c:562: error: (near initialization for `nlmsvc_procedures4[0].pc_encode')
svc4proc.c:562: error: initializer element is not constant
svc4proc.c:562: error: (near initialization for `nlmsvc_procedures4[0]')
svc4proc.c:563: error: `nlm4svc_decode_testargs' undeclared here (not in a function)
svc4proc.c:563: error: initializer element is not constant
svc4proc.c:563: error: (near initialization for `nlmsvc_procedures4[1].pc_decode')
svc4proc.c:563: error: `nlm4svc_encode_testres' undeclared here (not in a function)
svc4proc.c:563: error: initializer element is not constant
svc4proc.c:563: error: (near initialization for `nlmsvc_procedures4[1].pc_encode')
svc4proc.c:563: error: initializer element is not constant
svc4proc.c:563: error: (near initialization for `nlmsvc_procedures4[1]')
svc4proc.c:564: error: `nlm4svc_decode_lockargs' undeclared here (not in a function)
svc4proc.c:564: error: initializer element is not constant
svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[2].pc_decode')
svc4proc.c:564: error: `nlm4svc_encode_res' undeclared here (not in a function)
svc4proc.c:564: error: initializer element is not constant
svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[2].pc_encode')
svc4proc.c:564: error: initializer element is not constant
svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4[2]')
svc4proc.c:565: error: `nlm4svc_decode_cancargs' undeclared here (not in a function)
svc4proc.c:565: error: initializer element is not constant
svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[3].pc_decode')
svc4proc.c:565: error: `nlm4svc_encode_res' undeclared here (not in a function)
svc4proc.c:565: error: initializer element is not constant
svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[3].pc_encode')
svc4proc.c:565: error: initializer element is not constant
svc4proc.c:565: error: (near initialization for `nlmsvc_procedures4[3]')
svc4proc.c:566: error: `nlm4svc_decode_unlockargs' undeclared here (not in a function)
svc4proc.c:566: error: initializer element is not constant
svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[4].pc_decode')
svc4proc.c:566: error: `nlm4svc_encode_res' undeclared here (not in a function)
svc4proc.c:566: error: initializer element is not constant
svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[4].pc_encode')
svc4proc.c:566: error: initializer element is not constant
svc4proc.c:566: error: (near initialization for `nlmsvc_procedures4[4]')
svc4proc.c:567: error: `nlm4svc_decode_testargs' undeclared here (not in a function)
svc4proc.c:567: error: initializer element is not constant
svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[5].pc_decode')
svc4proc.c:567: error: `nlm4svc_encode_res' undeclared here (not in a function)
svc4proc.c:567: error: initializer element is not constant
svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[5].pc_encode')
svc4proc.c:567: error: initializer element is not constant
svc4proc.c:567: error: (near initialization for `nlmsvc_procedures4[5]')
svc4proc.c:568: error: `nlm4svc_decode_testargs' undeclared here (not in a function)
svc4proc.c:568: error: initializer element is not constant
svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[6].pc_decode')
svc4proc.c:568: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:568: error: initializer element is not constant
svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[6].pc_encode')
svc4proc.c:568: error: initializer element is not constant
svc4proc.c:568: error: (near initialization for `nlmsvc_procedures4[6]')
svc4proc.c:569: error: `nlm4svc_decode_lockargs' undeclared here (not in a function)
svc4proc.c:569: error: initializer element is not constant
svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[7].pc_decode')
svc4proc.c:569: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:569: error: initializer element is not constant
svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[7].pc_encode')
svc4proc.c:569: error: initializer element is not constant
svc4proc.c:569: error: (near initialization for `nlmsvc_procedures4[7]')
svc4proc.c:570: error: `nlm4svc_decode_cancargs' undeclared here (not in a function)
svc4proc.c:570: error: initializer element is not constant
svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[8].pc_decode')
svc4proc.c:570: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:570: error: initializer element is not constant
svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[8].pc_encode')
svc4proc.c:570: error: initializer element is not constant
svc4proc.c:570: error: (near initialization for `nlmsvc_procedures4[8]')
svc4proc.c:571: error: `nlm4svc_decode_unlockargs' undeclared here (not in a function)
svc4proc.c:571: error: initializer element is not constant
svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[9].pc_decode')
svc4proc.c:571: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:571: error: initializer element is not constant
svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[9].pc_encode')
svc4proc.c:571: error: initializer element is not constant
svc4proc.c:571: error: (near initialization for `nlmsvc_procedures4[9]')
svc4proc.c:572: error: `nlm4svc_decode_testargs' undeclared here (not in a function)
svc4proc.c:572: error: initializer element is not constant
svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[10].pc_decode')
svc4proc.c:572: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:572: error: initializer element is not constant
svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[10].pc_encode')
svc4proc.c:572: error: initializer element is not constant
svc4proc.c:572: error: (near initialization for `nlmsvc_procedures4[10]')
svc4proc.c:573: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:573: error: initializer element is not constant
svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[11].pc_decode')
svc4proc.c:573: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:573: error: initializer element is not constant
svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[11].pc_encode')
svc4proc.c:573: error: initializer element is not constant
svc4proc.c:573: error: (near initialization for `nlmsvc_procedures4[11]')
svc4proc.c:574: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:574: error: initializer element is not constant
svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[12].pc_decode')
svc4proc.c:574: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:574: error: initializer element is not constant
svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[12].pc_encode')
svc4proc.c:574: error: initializer element is not constant
svc4proc.c:574: error: (near initialization for `nlmsvc_procedures4[12]')
svc4proc.c:575: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:575: error: initializer element is not constant
svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[13].pc_decode')
svc4proc.c:575: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:575: error: initializer element is not constant
svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[13].pc_encode')
svc4proc.c:575: error: initializer element is not constant
svc4proc.c:575: error: (near initialization for `nlmsvc_procedures4[13]')
svc4proc.c:576: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:576: error: initializer element is not constant
svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[14].pc_decode')
svc4proc.c:576: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:576: error: initializer element is not constant
svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[14].pc_encode')
svc4proc.c:576: error: initializer element is not constant
svc4proc.c:576: error: (near initialization for `nlmsvc_procedures4[14]')
svc4proc.c:577: error: `nlm4svc_decode_res' undeclared here (not in a function)
svc4proc.c:577: error: initializer element is not constant
svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[15].pc_decode')
svc4proc.c:577: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:577: error: initializer element is not constant
svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[15].pc_encode')
svc4proc.c:577: error: initializer element is not constant
svc4proc.c:577: error: (near initialization for `nlmsvc_procedures4[15]')
svc4proc.c:579: error: `nlm4svc_decode_reboot' undeclared here (not in a function)
svc4proc.c:579: error: initializer element is not constant
svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[16].pc_decode')
svc4proc.c:579: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:579: error: initializer element is not constant
svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[16].pc_encode')
svc4proc.c:579: error: initializer element is not constant
svc4proc.c:579: error: (near initialization for `nlmsvc_procedures4[16]')
svc4proc.c:580: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:580: error: initializer element is not constant
svc4proc.c:580: error: (near initialization for `nlmsvc_procedures4[17].pc_decode')
svc4proc.c:580: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:580: error: initializer element is not constant
svc4proc.c:580: error: (near initialization for `nlmsvc_procedures4[17].pc_encode')
svc4proc.c:580: error: initializer element is not constant
svc4proc.c:580: error: (near initialization for `nlmsvc_procedures4[17]')
svc4proc.c:581: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:581: error: initializer element is not constant
svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[18].pc_decode')
svc4proc.c:581: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:581: error: initializer element is not constant
svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[18].pc_encode')
svc4proc.c:581: error: initializer element is not constant
svc4proc.c:581: error: (near initialization for `nlmsvc_procedures4[18]')
svc4proc.c:582: error: `nlm4svc_decode_void' undeclared here (not in a function)
svc4proc.c:582: error: initializer element is not constant
svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[19].pc_decode')
svc4proc.c:582: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:582: error: initializer element is not constant
svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[19].pc_encode')
svc4proc.c:582: error: initializer element is not constant
svc4proc.c:582: error: (near initialization for `nlmsvc_procedures4[19]')
svc4proc.c:583: error: `nlm4svc_decode_shareargs' undeclared here (not in a function)
svc4proc.c:583: error: initializer element is not constant
svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[20].pc_decode')
svc4proc.c:583: error: `nlm4svc_encode_shareres' undeclared here (not in a function)
svc4proc.c:583: error: initializer element is not constant
svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[20].pc_encode')
svc4proc.c:583: error: initializer element is not constant
svc4proc.c:583: error: (near initialization for `nlmsvc_procedures4[20]')
svc4proc.c:584: error: `nlm4svc_decode_shareargs' undeclared here (not in a function)
svc4proc.c:584: error: initializer element is not constant
svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[21].pc_decode')
svc4proc.c:584: error: `nlm4svc_encode_shareres' undeclared here (not in a function)
svc4proc.c:584: error: initializer element is not constant
svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[21].pc_encode')
svc4proc.c:584: error: initializer element is not constant
svc4proc.c:584: error: (near initialization for `nlmsvc_procedures4[21]')
svc4proc.c:585: error: `nlm4svc_decode_lockargs' undeclared here (not in a function)
svc4proc.c:585: error: initializer element is not constant
svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[22].pc_decode')
svc4proc.c:585: error: `nlm4svc_encode_res' undeclared here (not in a function)
svc4proc.c:585: error: initializer element is not constant
svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[22].pc_encode')
svc4proc.c:585: error: initializer element is not constant
svc4proc.c:585: error: (near initialization for `nlmsvc_procedures4[22]')
svc4proc.c:586: error: `nlm4svc_decode_notify' undeclared here (not in a function)
svc4proc.c:586: error: initializer element is not constant
svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[23].pc_decode')
svc4proc.c:586: error: `nlm4svc_encode_void' undeclared here (not in a function)
svc4proc.c:586: error: initializer element is not constant
svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[23].pc_encode')
svc4proc.c:586: error: initializer element is not constant
svc4proc.c:586: error: (near initialization for `nlmsvc_procedures4[23]')
make[3]: *** [svc4proc.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r9/fs/lockd'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r9/fs/lockd'
make[1]: *** [_subdir_lockd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r9/fs'
make: *** [_dir_fs] Error 2
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum