OSS modules won't build Kernel 3.10

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

cvnmjs
New Member
Posts: 5
Joined: Sun Aug 04, 2013 6:07 pm
Contact:

Build from opensound-git on Kernel 3.11 with gcc-4.8

Postby cvnmjs » Sun Sep 29, 2013 5:43 pm

Hi,
I wonder if anyone is able to build with the above configuration?

I ended up with gcc-4.8 from here "ubuntu-toolchain-r/test" because of the dependencies of the liquorix kernel on gcc-4.7 .
eventually i had to set "CC" equal to gcc-4.7 to be able to build & install.

Cheers.

fk00
New Member
Posts: 2
Joined: Tue Oct 01, 2013 12:10 pm

Re: OSS modules won't build Kernel 3.10

Postby fk00 » Tue Oct 01, 2013 12:15 pm

Hi,

today I've faced to this problem after upgrading to Ubuntu 13.10. Thanks to sqeeze's work I was able to apply patch but build failed with error
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:987:6: error: ‘struct file_operations’ has no member named ‘readdir’
fop->readdir = NULL; /* tmp_readdir; */

So I had to comment this line 987 in osscore.c

Code: Select all

//fop->readdir = NULL;        /* tmp_readdir; */

after that build went ok

Hope this help to somebody.

cvnmjs
New Member
Posts: 5
Joined: Sun Aug 04, 2013 6:07 pm
Contact:

Re: OSS modules won't build Kernel 3.10

Postby cvnmjs » Wed Oct 02, 2013 11:46 am

@fk00
I was wondering:
    this is done with the source archive squeeze provided?
    Or did you download an unpatched 2008 release from the developer site, patch it and then do the above?
    i see the compiler in 13.10 is gcc-4.8.

Thanks.

fk00
New Member
Posts: 2
Joined: Tue Oct 01, 2013 12:10 pm

Re: OSS modules won't build Kernel 3.10

Postby fk00 » Thu Oct 03, 2013 9:39 am

I've used this http://www.opensound.com/forum/viewtopic.php?f=3&t=5247#p19714 small and clear howto, applied both patches against already installed .deb (dpkg -i ossv4-*2008*.deb; cd /usr/lib/oss/build;). Then, upon executing install.sh (or I used soundon command which does the same after checking the kernel modules availability), mentioned error appeared. I solved it by just commenting that line of code.

Matti
Member
Posts: 42
Joined: Sun May 29, 2011 12:34 pm

Re: OSS modules won't build Kernel 3.10

Postby Matti » Thu Oct 03, 2013 3:28 pm

I already moved to Ubuntu 13.10 and I didn't have problems with building a .deb package. I cloned git repo into /usr/src/opensound-git directory. This repo already incorporates Linux kernel patches for 3.8, 3.10 and 3.11 kernels.

Code: Select all

$ sudo git clone git://git.code.sf.net/p/opensound/git opensound-git


Then I started building the package the way it is described in Ubuntu Community Help Wiki.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests