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

compilation error: conflicting types for 'dev_name' #2

Open
igilham opened this issue Nov 14, 2013 · 4 comments
Open

compilation error: conflicting types for 'dev_name' #2

igilham opened this issue Nov 14, 2013 · 4 comments

Comments

@igilham
Copy link

igilham commented Nov 14, 2013

I'm encountering an error building the driver:

# make
for n in src Examples; do make -C $n || exit 1; done
make[1]: Entering directory `/mnt/hgfs/workspace/dveo-linux-master/src'
make -C /lib/modules/2.6.18-371.1.2.el5/build M=/mnt/hgfs/workspace/dveo-linux-master/src modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-371.1.2.el5-x86_64'
  CC [M]  /mnt/hgfs/workspace/dveo-linux-master/src/asicore.o
  CC [M]  /mnt/hgfs/workspace/dveo-linux-master/src/miface.o
  CC [M]  /mnt/hgfs/workspace/dveo-linux-master/src/mdma.o
  CC [M]  /mnt/hgfs/workspace/dveo-linux-master/src/dvbmaster.o
  CC [M]  /mnt/hgfs/workspace/dveo-linux-master/src/mdev.o
/mnt/hgfs/workspace/dveo-linux-master/src/mdev.c:43: error: conflicting types for ‘dev_name’
include/linux/device.h:408: error: previous definition of ‘dev_name’ was here
make[3]: *** [/mnt/hgfs/workspace/dveo-linux-master/src/mdev.o] Error 1
make[2]: *** [_module_/mnt/hgfs/workspace/dveo-linux-master/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-371.1.2.el5-x86_64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/hgfs/workspace/dveo-linux-master/src'
make: *** [all] Error 1

Machine details:

# uname -a
Linux host.name 2.6.18-371.1.2.el5 #1 SMP Tue Oct 22 12:51:53 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release 
CentOS release 5.10 (Final)
@kierank
Copy link
Owner

kierank commented Nov 14, 2013

It's a lot of work to support all the kernels from 2.6 to the latest. I've asked DVEO to update their driver but no response. There have been patches in the past but then other kernel versions break.

@igilham
Copy link
Author

igilham commented Nov 14, 2013

I'll take your word for it; I've never tried to maintain a kernel driver. It works in our playout environment but not in our continuous integration environment or development VMs.

@kierank
Copy link
Owner

kierank commented Nov 14, 2013

I would suggest writing to DVEO because if they see more people wanting fixes they'll have to respond: http://dveo.com/contact-tech-support.shtml

@igilham
Copy link
Author

igilham commented Nov 14, 2013

I have followed your suggestion.

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

2 participants