[etherlab-users] Compiler-Fehler --> class_device_create
Viktor Rees
viktor.rees at gmx.de
Mon May 4 19:28:20 CEST 2009
Hallo,
using the newest available Etherlab version 1.2-rc5 I got following compiler
error:
make -C "/usr/src/linux" M="/usr/src/etherlab-1.2-rc5/tools/rt_appcore" \
V="" DEFS="-DHAVE_CONFIG_H" \
RTAI_DIR="/usr/realtime" \
STAGING_DIR="" \
RT_APPCORE_SRCS="rt_main.c app_chardev.c rt_vars.c
etl_data_types.c"
make[4]: Entering directory `/usr/src/linux-2.6.27.19'
CC [M] /usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.o
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c: In function
rtp_fio_init_app:
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:600: error:
implicit declaration of function class_device_create
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:601: warning:
assignment makes pointer from integer without a cast
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c: In function
rtp_fio_init:
/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.c:781: warning:
assignment makes pointer from integer without a cast
make[5]: *** [/usr/src/etherlab-1.2-rc5/tools/rt_appcore/app_chardev.o]
Fehler 1
make[4]: *** [_module_/usr/src/etherlab-1.2-rc5/tools/rt_appcore] Fehler 2
make[4]: Leaving directory `/usr/src/linux-2.6.27.19'
make[3]: *** [kernel-cflags] Fehler 2
make[3]: Leaving directory `/usr/src/etherlab-1.2-rc5/tools/rt_appcore'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/etherlab-1.2-rc5/tools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/etherlab-1.2-rc5'
make: *** [all] Fehler 2
As I found in the forum the depricated function "class_device_create()" has
to be changed to "device_create()" in new kernel versions. I am using kernel
2.6.27.19. Is there a new version of etherlab available/planned?
Thanks for yout help?
Viktor Rees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090504/0ad25d4a/attachment-0003.htm>
More information about the Etherlab-users
mailing list