The rpmbuild commandline was:
rpmbuild -ba openafs.spec --define "ksrcdir /usr/src/linux-2.4" --define "build_modules 1"

The /usr/src/linux-2.4 points to the sources from the kernel-source-2.4.21-40.EL package.

The output after rpmbuild was:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25688
+ umask 022
+ cd /home/uis/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ : @@@
+ : @@@ kernel version: 2.4.21-40.EL
+ : @@@ base kernel version:2.4.21-40.EL
+ : @@@ kernel modules dir: /lib/modules/2.4.21-40.EL
+ : @@@ kernel source dir: /usr/src/linux-2.4
+ : @@@ kernel variations: up smp
+ : @@@ PAM modules dir: /lib/security
+ : @@@ build userspace: 0
+ : @@@ build modules: 1
+ : @@@ arch: i386
+ : @@@ target cpu: i386
+ : @@@
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ cd /home/uis/rpm/BUILD
+ rm -rf openafs-1.4.1
+ /usr/bin/bzip2 -dc /home/uis/rpm/SOURCES/openafs-1.4.1-src.tar.bz2
+ tar -xf -

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

-derek

Ulrich Seidl <[EMAIL PROTECTED]> 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?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to