View Single Post
Old 05-13-03, 04:57 AM   #4
Kennedy
Registered User
 
Join Date: May 2003
Posts: 9
Unhappy

OK so its Tuesday - things happen.

I tried this and it almost worked.

Problem seems to be with the audio drivers right near the end.

I'm not a 'C' person so a good chunk of this whistles past without landing.

Looking at other posts, this seems to be a common problem with RH9.

If there is anybody who has successfully done a src rebuild on RH9 then please let me know the secret.

Kennedy


[root@dbs kennedy]# rpmbuild --rebuild NVIDIA_nforce-1.0-0256.src.rpm

Installing NVIDIA_nforce-1.0-0256.src.rpm
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55610
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ echo '---- Copying Sources ----'
---- Copying Sources ----
+ cd /usr/src/redhat/BUILD
+ rm -rf nforce
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvnet.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:19:32 nforce/
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/nvnet/
-r--r--r-- buildmeister/adm 16904 2003-04-02 19:21:41 nforce/nvnet/adapter.h
-r--r--r-- buildmeister/adm 794 2003-04-02 19:21:41 nforce/nvnet/basetype.h
-r--r--r-- buildmeister/adm 6752 2003-04-02 19:21:41 nforce/nvnet/nvnet.h
-r--r--r-- buildmeister/adm 4437 2003-04-02 19:21:41 nforce/nvnet/os.h
-r--r--r-- buildmeister/adm 4749 2003-04-02 19:21:41 nforce/nvnet/phy.h
-r--r--r-- buildmeister/adm 37870 2003-04-02 19:21:41 nforce/nvnet/nvnet.c
-rw-r--r-- buildmeister/adm 21488 2003-04-02 19:21:41 nforce/nvnet/nvnetlib.o
-r--r--r-- buildmeister/adm 3088 2003-04-02 19:21:41 nforce/nvnet/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvaudio.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/nvaudio/
-r--r--r-- buildmeister/adm 2205 2003-04-02 19:21:41 nforce/nvaudio/Makefile
-r--r--r-- buildmeister/adm 57766 2003-04-02 19:21:41 nforce/nvaudio/nvcrush.c
-r--r--r-- buildmeister/adm 6925 2003-04-02 19:21:41 nforce/nvaudio/nvhw.c
-r--r--r-- buildmeister/adm 30753 2003-04-02 19:21:41 nforce/nvaudio/nvmain.c
-r--r--r-- buildmeister/adm 8314 2003-04-02 19:21:41 nforce/nvaudio/nvrec.c
-r--r--r-- buildmeister/adm 26224 2003-04-02 19:21:41 nforce/nvaudio/nvspdif.c
-r--r--r-- buildmeister/adm 10967 2003-04-02 19:21:41 nforce/nvaudio/nvwavout.c
-r--r--r-- buildmeister/adm 4546 2003-04-02 19:21:41 nforce/nvaudio/chaninfo.h
-r--r--r-- buildmeister/adm 2877 2003-04-02 19:21:41 nforce/nvaudio/nvhw.h
-r--r--r-- buildmeister/adm 1080 2003-04-02 19:21:41 nforce/nvaudio/nvioctl.h
-r--r--r-- buildmeister/adm 1392 2003-04-02 19:21:41 nforce/nvaudio/nvrec.h
-r--r--r-- buildmeister/adm 1618 2003-04-02 19:21:41 nforce/nvaudio/nvspdif.h
-r--r--r-- buildmeister/adm 1405 2003-04-02 19:21:41 nforce/nvaudio/nvwavout.h
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/nvmaster.tgz
+ tar -xvvf -
drwxr-xr-x buildmeister/adm 0 2003-04-02 19:21:41 nforce/
-r--r--r-- buildmeister/adm 1084 2003-04-02 19:21:41 nforce/Makefile
-r--r--r-- buildmeister/adm 5404 2003-04-02 19:21:41 nforce/NVLicense.txt
-r--r--r-- buildmeister/adm 18007 2003-04-02 19:21:41 nforce/GNULicense.txt
-r--r--r-- buildmeister/adm 21779 2003-04-02 19:21:41 nforce/ReleaseNotes.html
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nforce
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.44772
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nforce
+ LANG=C
+ export LANG
+ echo '---- Building Drivers ----'
---- Building Drivers ----
+ make
make -C nvnet
make[1]: Entering directory `/usr/src/redhat/BUILD/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
ld -r -o temp.o nvnet.o nvnetlib.o
objcopy --strip-symbol="gcc2_compiled." temp.o
cp temp.o nvnet.o
rm temp.o
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make -C nvaudio
make[1]: Entering directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make nvaudio.o
make[2]: Entering directory `/usr/src/redhat/BUILD/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvhw.o nvhw.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvrec.o nvrec.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvwavout.o nvwavout.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvspdif.o nvspdif.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -c -o nvcrush.o nvcrush.c

************* errors seem to start here ************

nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make[2]: *** [nvcrush.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make: *** [nvaudio_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.44772 (%build)


RPM build errors:
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.44772 (%build)
Kennedy is offline   Reply With Quote