Bug 7839 - Не компилируется capi.h
Summary: Не компилируется capi.h
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: glibc-kernheaders (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 17:05 MSD by Vitaly Lipatov
Modified: 2005-09-05 03:18 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2005-09-02 17:05:58 MSD
Странный __user в заголовочном файле.  
 
--- capi.h.o    2005-09-02 17:00:15 +0400 
+++ capi.h  2005-09-02 17:00:21 +0400 
@@ -77,7 +77,7 @@ 
 
 typedef struct capi_manufacturer_cmd { 
    unsigned long cmd; 
-   void __user *data; 
+   void *data; 
 } capi_manufacturer_cmd; 
 
 /*
Comment 1 Dmitry V. Levin 2005-09-05 02:58:59 MSD
В glibc-kernheaders-2.4.29-alt1 я никакого __user в
/usr/include/linux-default/include/linux/capi.h не наблюдаю.

Скорее всего, это какой-то kernel-headers-std*.
Comment 2 Vitaly Lipatov 2005-09-05 03:18:49 MSD
Да, точно, запутался в ссылках похоже, извините. Это был  
$ rpm -qf /usr/include/linux/capi.h  
kernel-headers-std26-up-2.6.12-alt4