[etherlab-users] Compiler-Fehler --> class_device_create
Richard Hacker (MSc Eng)
ha at igh-essen.com
Thu May 7 11:28:47 CEST 2009
Hi
Thanks. It will be incorporated in new releases
- Richard
On Monday 04 May 2009 19:28, Viktor Rees wrote:
> 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
--
------------------------------------------------------------------------
Richard Hacker
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Baecker-Str. 34
D-45356 Essen
Tel.: +49 201 / 360-14-16
Fax.: +49 201 / 360-14-14
Mobil: +49 175 6822089
E-mail: ha at igh-essen.com
------------------------------------------------------------------------
More information about the Etherlab-users
mailing list