Bug 213539 - conflicting types for dm_create in kernel headers
Summary: conflicting types for dm_create in kernel headers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-01 21:49 UTC by Sampo Soini
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.6.18-1.2849
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-23 19:57:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.