oss4-dkms fails to build on linux >=3.11 [error: implicit declaration of function ‘create_proc_entry’]

Bug #1208407 reported by Chris J Arges
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
oss4 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

There are two changes that need to be fixed. Here is the output from the build:

DKMS make.log for oss4-4.2-build2007 for kernel 3.11.0-0-generic (x86_64)
Mon Aug 5 10:41:00 BST 2013
make: Entering directory `/usr/src/linux-headers-3.11.0-0-generic'
  CC [M] /var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.o
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c: In function ‘init_proc_fs’:
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_root =
                      ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_devfiles =
                          ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:300:20: error: dereferencing pointer to incomplete type
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c: In function ‘alloc_fop’:
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:937:6: error: ‘struct file_operations’ has no member named ‘readdir’
   fop->readdir = NULL; /* tmp_readdir; */
      ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:945:14: warning: assignment from incompatible pointer type [enabled by default]
   fop->fsync = oss_no_fsync;
              ^
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c: In function ‘oss_pci_read_devpath’:
/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.c:1619:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
   return dev_name(&dip->pcidev->dev);
   ^
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/dkms/oss4/4.2-build2007/build/core/oss_core.o] Error 1

Revision history for this message
Chris J Arges (arges) wrote :

I also tested this with the 2008 version upstream and it had the same issue.

affects: ubuntu → oss4 (Ubuntu)
Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
Chris J Arges (arges) wrote :
summary: - oss4-dkms fails to build on linux-3.11
+ oss4-dkms fails to build on linux-3.11 [error: implicit declaration of
+ function ‘create_proc_entry’]
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: oss4-dkms fails to build on linux-3.11 [error: implicit declaration of function ‘create_proc_entry’]

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in oss4 (Ubuntu):
status: New → Confirmed
summary: - oss4-dkms fails to build on linux-3.11 [error: implicit declaration of
+ oss4-dkms fails to build on linux >=3.11 [error: implicit declaration of
function ‘create_proc_entry’]
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.