[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] GSL in RTAI-3.2 (kernel module)
From: |
Stefan Lænner |
Subject: |
[Help-gsl] GSL in RTAI-3.2 (kernel module) |
Date: |
Tue, 28 Mar 2006 09:52:49 +0200 |
Hello!
Im currently working on a realtime control algorithm implemented under
RTAI-3.2. For this purpose I would like to use functionalities in Gnu
Scientific Library. The error occurs when the control algorithm is compiled
as a kernel module. Heres a cut-out of the errors from the compilation:
In file included from /usr/include/stdlib.h:416,
from /usr/include/gsl/gsl_vector_complex_long_double.h:23,
from /usr/include/gsl/gsl_vector.h:4,
from /usr/include/gsl/gsl_eigen.h:23,
from
/home/stefan/source/helicopter/rt/sensorfusion/functions.c:4,
from /home/stefan/source/helicopter/rt/controller.c:16:
/usr/include/sys/types.h:35: error: redefinition of `u_char'
include/linux/types.h:93: error: `u_char' previously declared here
/usr/include/sys/types.h:36: error: redefinition of `u_short'
include/linux/types.h:94: error: `u_short' previously declared here
/usr/include/sys/types.h:37: error: redefinition of `u_int'
include/linux/types.h:95: error: `u_int' previously declared here
/usr/include/sys/types.h:38: error: redefinition of `u_long'
include/linux/types.h:96: error: `u_long' previously declared here
/usr/include/sys/types.h:46: error: redefinition of `loff_t'
include/linux/types.h:55: error: `loff_t' previously declared here
/usr/include/sys/types.h:50: error: redefinition of `ino_t'
include/linux/types.h:22: error: `ino_t' previously declared here
/usr/include/sys/types.h:62: error: conflicting types for `dev_t'
include/linux/types.h:21: error: previous declaration of `dev_t'
/usr/include/sys/types.h:67: error: redefinition of `gid_t'
include/linux/types.h:36: error: `gid_t' previously declared here
/usr/include/sys/types.h:72: error: conflicting types for `mode_t'
include/linux/types.h:23: error: previous declaration of `mode_t'
/usr/include/sys/types.h:77: error: conflicting types for `nlink_t'
include/linux/types.h:24: error: previous declaration of `nlink_t'
/usr/include/sys/types.h:82: error: redefinition of `uid_t'
include/linux/types.h:35: error: `uid_t' previously declared here
/usr/include/sys/types.h:88: error: redefinition of `off_t'
include/linux/types.h:25: error: `off_t' previously declared here
/usr/include/sys/types.h:100: error: redefinition of `pid_t'
include/linux/types.h:26: error: `pid_t' previously declared here
/usr/include/sys/types.h:110: error: redefinition of `ssize_t'
include/linux/types.h:69: error: `ssize_t' previously declared here
/usr/include/sys/types.h:116: error: redefinition of `daddr_t'
include/linux/types.h:27: error: `daddr_t' previously declared here
/usr/include/sys/types.h:117: error: redefinition of `caddr_t'
include/linux/types.h:89: error: `caddr_t' previously declared here
/usr/include/sys/types.h:123: error: redefinition of `key_t'
include/linux/types.h:28: error: `key_t' previously declared here
Does anyone know if it is possible to use GSL in a kernel module??
Is GSL a user space library which makes usage of types defined in
/usr/include/sys/types.h, and thereby conflicting with the types used when
compiling a kernel module defined in /usr/src/linux/include/linux/types.h?
Best regards
Stefan Lænner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gsl] GSL in RTAI-3.2 (kernel module),
Stefan Lænner <=