Problems during compiling dect_raw_event with lasted libdect

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/linux-dect@lists.osmocom.org/.

Patrick McHardy kaber at trash.net
Mon Oct 18 09:08:40 UTC 2010


Am 17.10.2010 02:30, schrieb Oscar Soriano Riera:
> Hi
> I would like to install the lasted libdect modification , but on the make
> step i see a posible problem with a pointer
> 
> root at DECT:/usr/src/libdect# make
>   SUBDIR	include/
>   SUBDIR	src/
>   CC		src/raw.c
> src/raw.c: In function ‘dect_raw_event’:
> src/raw.c:140: error: ‘slot’ undeclared (first use in this function)
> src/raw.c:140: error: (Each undeclared identifier is reported only once
> src/raw.c:140: error: for each function it appears in.)
> src/raw.c:142: warning: passing argument 3 of ‘dh->ops->raw_ops->raw_rcv’
> makes integer from pointer without a cast
> src/raw.c:142: note: expected ‘uint8_t’ but argument is of type ‘struct
> dect_msg_buf *’
> src/raw.c:142: error: too few arguments to function
> ‘dh->ops->raw_ops->raw_rcv’
> make[1]: *** [src/raw.o] Error 1
> make: *** [src] Error 2

Fixed now in git.




More information about the linux-dect mailing list