Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 3.19.0-21-generic #21-Ubuntu SMP wont compile #1

Open
jjarvela opened this issue Jul 3, 2015 · 0 comments
Open

Ubuntu 3.19.0-21-generic #21-Ubuntu SMP wont compile #1

jjarvela opened this issue Jul 3, 2015 · 0 comments

Comments

@jjarvela
Copy link

jjarvela commented Jul 3, 2015

Installing OpenVox G400P driver ... [ OK ]

make -C linux all
make[1]: Entering directory '/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory '/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory '/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.19.0-21-generic/build SUBDIRS=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory '/usr/src/linux-headers-3.19.0-21-generic'
CC [M] /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o
scripts/Makefile.build:257: recipe for target '/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o' failed
Makefile:1394: recipe for target 'module/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi' failed
make[2]: Leaving directory '/usr/src/linux-headers-3.19.0-21-generic'
Makefile:86: recipe for target 'modules' failed
make[1]: Leaving directory '/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux'
Makefile:9: recipe for target 'all' failed

         ^

/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘dahdi_unlocked_ioctl’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:106:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6571:13: note: in expansion of macro ‘UNIT’
int unit = UNIT(file);
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘_dahdi_assign_span’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6945:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
span->proc_entry = create_proc_entry(tempfile, 0444,
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6945:20: warning: assignment makes pointer from integer without a cast
span->proc_entry = create_proc_entry(tempfile, 0444,
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6952:19: error: dereferencing pointer to incomplete type
span->proc_entry->data = (void _)(long)span->spanno;
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6953:19: error: dereferencing pointer to incomplete type
span->proc_entry->proc_fops = &dahdi_proc_ops;
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘dahdi_unassign_span’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:7137:37: error: dereferencing pointer to incomplete type
remove_proc_entry(span->proc_entry->name, root_proc_entry);
^
In file included from include/linux/fs.h:7:0,
from include/linux/proc_fs.h:8,
from /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:41:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘dahdi_poll’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:106:30: error: ‘struct file’ has no member named ‘f_dentry’
#define UNIT(file) MINOR(file->f_dentry->d_inode->i_rdev)
^
include/linux/kdev_t.h:10:38: note: in definition of macro ‘MINOR’
#define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:9242:19: note: in expansion of macro ‘UNIT’
const int unit = UNIT(file);
^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘chan_from_file’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:482:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
make[3]: *
* [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [module/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi] Error 2
make[1]: *** [modules] Error 2

make: *** [all] Error 2

Installing /usr/src/dahdi-linux-complete-2.6.1+2.6.1: make ... [ Failure ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant