OSSv4.2 build 2000 rpm fails to install on F11 32-bit

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

OSSv4.2 build 2000 rpm fails to install on F11 32-bit

Postby phalenor » Sat Sep 26, 2009 12:45 am

when installing oss-linux-v4.2-2000.i386.rpm .....

Building module oss_allegro
Compiling module oss_allegro failed
make -C /lib/modules/2.6.29.6-217.2.16.fc11.i686.PAE/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.6-217.2.16.fc11.i686.PAE'
CC [M] /usr/lib/oss/build/oss_allegro.o
In file included from /usr/lib/oss/build/oss_allegro.c:36:
/usr/lib/oss/build/module.inc:36: error: expected ',' or ';' before 'DRIVER_PURPOSE'
In file included from /usr/lib/oss/build/module.inc:45,
from /usr/lib/oss/build/oss_allegro.c:36:
/usr/lib/oss/build/pci_wrapper.inc: In function 'osspci_probe':
/usr/lib/oss/build/pci_wrapper.inc:54: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result
make[2]: *** [/usr/lib/oss/build/oss_allegro.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.29.6-217.2.16.fc11.i686.PAE'
make: *** [default] Error 2
phalenor
New Member
 
Posts: 2
Joined: Tue Apr 28, 2009 2:26 am

Re: OSSv4.2 build 2000 rpm fails to install on F11 32-bit

Postby Temüjin » Sat Sep 26, 2009 5:46 am

If you're not using the allegro driver, you can probably work around the issue by only building the drivers you need. For example, if you only wanted to build the HDA and USB audio driver, you could use this switch in the configure command:
Code: Select all
--only_drv=oss_hdaudio,oss_usb

EDIT: Nevermind, I didn't see you were using an .rpm
Temüjin
Member
 
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: OSSv4.2 build 2000 rpm fails to install on F11 32-bit

Postby phalenor » Sat Sep 26, 2009 2:55 pm

I just ended up pulling down the build 2000 source tarball and did a "make package" after realizing allegro was one of the deprecated drivers, and was most likely being built by accident with the provided rpm.

Though, I did have to edit some scripts within the source distribution to get the rpm to build. Had to pass --buildroot and change a couple of variables to get the "make package" to work correctly.
phalenor
New Member
 
Posts: 2
Joined: Tue Apr 28, 2009 2:26 am

Re: OSSv4.2 build 2000 rpm fails to install on F11 32-bit

Postby cesium » Wed Oct 07, 2009 9:21 pm

I suspect the problem isn't in the package, but rather that new OSS install didn't erase the oss_allegro.c file from a previous OSSv4.1 install?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron