Bug 213539

Summary: conflicting types for dm_create in kernel headers
Product: [Fedora] Fedora Reporter: Sampo Soini <sampos>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.18-1.2849 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-23 19:57:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sampo Soini 2006-11-01 21:49:53 UTC
Description of problem:
Truecrypt does not compile because of conflicting declarations
of dm_create function in kernel headers.
Here's the error message from compilation:
In file included from /usr/local/src/truecrypt-4.2a/Linux/Kernel/Dm-target.c:18:
/usr/src/kernels/2.6.18-1.2798.fc6-i686/drivers/md/dm.h:48: error: conflicting
types for ‘dm_create’
include/linux/device-mapper.h:144: error: previous declaration of ‘dm_create’
was here


Version-Release number of selected component (if applicable):
kernel-devel-2.6.18-1.2798.fc6

How reproducible:
Only tried this on one computer.

Steps to Reproduce:
1. Try to compile the truecrypt sources
(http://www.truecrypt.org/downloads/truecrypt-4.2a-source-code.tar.gz)
2.
3.
  
Actual results:
Should compile

Expected results:
Won't compile

Additional info: