[OpenAFS-devel] Rebuilding 1.4.1 on i386 fails.

Derek Atkins warlord@MIT.EDU
Mon, 24 Apr 2006 13:23:51 -0400


What was your rpmbuild commandline?
What's the first 15ish lines of output from the rpmbuild command?

-derek

Ulrich Seidl <Ulrich.Seidl@muneda.com> writes:

> While trying to rebuild openafs 1.4.1 from the provided source rpm 
> package (openafs-1.4.1-rhel3.3.src.rpm) on a i386 Red Hat Enterprise 
> Linux ES release 3 (Taroon Update 7), I encoutered the following problem:
>
> In file included from 
> /home/uis/rpm/BUILD/openafs-1.4.1/src/afs/sysincludes.h:96,
>                 from 
> /home/uis/rpm/BUILD/openafs-1.4.1/src/afs/afs_analyze.c:20:
> ../linux/mm.h:203: syntax error before "pte_addr_t"
> ../linux/mm.h:203: warning: no semicolon at end of struct or union
> ../linux/mm.h:203: warning: no semicolon at end of struct or union
> ../linux/mm.h:204: warning: data definition has no type or storage class
> ../linux/mm.h:223: syntax error before '}' token
> ../linux/mm.h:223: warning: data definition has no type or storage class
> ../linux/mm.h: In function `page_zone':
> ../linux/mm.h:416: dereferencing pointer to incomplete type
> ../linux/mm.h: In function `set_page_zone':
> ../linux/mm.h:421: dereferencing pointer to incomplete type
> ../linux/mm.h:422: dereferencing pointer to incomplete type
> ../linux/mm.h: In function `page_mapped':
> ../linux/mm.h:602: dereferencing pointer to incomplete type
> ../linux/mm.h: At top level:
> ../linux/mm.h:612: syntax error before '*' token
> ../linux/mm.h:612: warning: data definition has no type or storage class
> ../linux/mm.h: In function `page_pin_hash':
> ../linux/mm.h:908: sizeof applied to an incomplete type
> ../linux/mm.h:908: warning: division by zero
>
> Any ideas?

-- 
       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