rpmbuild on FC2

Siddhartha Annapureddy reddy at scs.cs.nyu.edu
Wed Jan 11 01:48:21 CET 2006


Hi,
  I had a problem with rpmbuild for arla. Here are the details of the 
system and what I did. Let me know if you need more details.

uname output --
Linux cannon.scs.stanford.edu 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 
i686 athlon i386 GNU/Linux

Did the following on my machine:
 	# Downloaded heimdal-0.6.4-0.abo.1.3.src.rpm, then
 	rpmbuild --rebuild heimdal-0.6.4-0.abo.1.3.src.rpm
 	# Installed the resulting RPMS in /usr/src/redhat/RPMS

 	# Downloaded arla-0.39-0.abo.1.3.src.rpm, then
 	rpmbuild --rebuild arla-0.39-0.abo.1.3.src.rpm --target=`uname -m` 
--define "kernel `uname -r`"

Got the following errors:
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_load.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_dev.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_common.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_vfsops.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_node.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_message.o
   CC [M] 
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.o
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:267: 
error: unknown field `put_link' specified in initializer
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:267: 
error: `page_put_link' undeclared here (not in a function)
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:267: 
error: initializer element is not constant
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:267: 
error: (near initialization for `nnpfs_link_inode_operations.truncate')
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c: 
In function `nnpfs_readlink':
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:1341: 
warning: implicit declaration of function `generic_readlink'
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c: 
In function `nnpfs_follow_link':
/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:1368: 
warning: implicit declaration of function `page_follow_link_light'
make[4]: *** 
[/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work/nnpfs_inodeops.o] 
Error 1
make[3]: *** [/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kbuild-work] 
Error 2
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux/kernel-source-tree'
make[2]: *** [kbuild] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/arla-0.39/nnpfs/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/arla-0.39/nnpfs'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.89506 (%build)

Cheers,

A.Siddhartha.

#########################################################################
A.Siddhartha                    I CAN THINK, I CAN WAIT, I CAN FAST.
353 Serra Mall, Room 288,       	-- Siddhartha
Stanford University,            	in Siddhartha by Hermann Hesse
Stanford, CA -- 94305. 
#########################################################################


More information about the Arla-drinkers mailing list