[OpenAFS] where is the redhat 7.0 openafs source rpm?

Derek Atkins warlord@MIT.EDU
05 Apr 2001 10:58:16 -0400


Are you sure that you ran "make config" and "make dep" in the 2.2.16
directory?  You have this error:

ERROR: Cannot build for Linux kernel 2.2.16: /usr/src/linux-2.2.16/include/linux/version.h does not exist.

Similarly, you've got this set of errors:

/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:51: parse error before `suseconds_t'
/usr/include/linux/time.h:51: warning: no semicolon at end of struct or union
/usr/include/linux/time.h:88: field `it_interval' has incomplete type
/usr/include/linux/time.h:89: field `it_value' has incomplete type
...
/usr/include/linux/affs_fs_i.h:11: field `kc_lru_time' has incomplete type
...
../afs/osi_machdep.h:31:24: ../h/sched.h: No such file or directory
...
../rx/rx.h:40:27: ../netinet/in.h: No such file or directory
...

Now, I have no idea why /usr/include/linux is being used...  However,
this is clearly implying to me that you've got a problem with your
2.2.16 kernel headers.

-derek

Jason Edgecombe <javaman@vnet.net> writes:

> hi all,
> 
>   this is the end of the log that I get when I try to recompile the
> redhat 6.2 source rpm on redhat 7.0
> i have attached a full gzippped log of the session.
> 
> ../afs/afs_stats.h:894: field `sqrTime' has incomplete type
> ../afs/afs_stats.h:895: field `minTime' has incomplete type
> ../afs/afs_stats.h:896: field `maxTime' has incomplete type
> ../afs/afs_analyze.c: In function `afs_Analyze':
> ../afs/afs_analyze.c:339: storage size of `opStartTime' isn't known
> ../afs/afs_analyze.c:339: storage size of `opStopTime' isn't known
> ../afs/afs_analyze.c:339: storage size of `elapsedTime' isn't known
> make[4]: *** [afs_analyze.o] Error 1
> make[4]: Leaving directory
> `/usr/src/redhat/BUILD/openafs-1.0.3/i386_linux22/obj/libafs/MODLOAD-2.2.16-MP'
> make[3]: *** [linux_compdirs] Error 2
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/openafs-1.0.3/i386_linux22/obj/libafs'
> make[2]: *** [libafs] Error 2
> make[2]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.0.3'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.0.3'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.31414 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.31414 (%build)
> 
> a logs of the compilation and the commands that I used to run it are
> attached:
> 
> 
> 
> Derrick J Brashear wrote:
> > 
> > On Thu, 29 Mar 2001, Jason Edgecombe wrote:
> > 
> > > hi all,
> > >
> > >   could someone please tell me where the redhat 7.0 source rpm is? i
> > > tried the redhat 6.2 source rpm, but i can't rebuild it.
> > 
> > The RH7.0 binary RPMs were built from the 6.2 srpm. What problem are you
> > having?
> > 
> > >   i need to tweak the rpms for a custom installation. i need to change
> > > the config files and make new kernel modules.
> > 
> > -D
> > 
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo.cgi/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available