Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: unable to make apps/scan in HEAD



Hi,

jpulz@frm2.tu-muenchen.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi,
> 
> i have a problem to build apps/scan

(hmm, this one is far from being done;)


> the following errors occur..
> 
> gcc -M -g -Wall -O0 scan.c dump.c > .depend
> gcc -g -Wall -O0 -c scan.c -o scan.o
> scan.c: In function `find_or_alloc_entry_by_id':
> scan.c:176: warning: implicit declaration of function `memset'
> scan.c: In function `parse_network_name_descriptor':
> scan.c:203: warning: implicit declaration of function `memcpy'
> scan.c: In function `read_filters':
> scan.c:787: warning: implicit declaration of function `list_for_each_safe'
> scan.c:787: parse error before '{' token
> scan.c:791: `s' undeclared (first use in this function)
> scan.c:791: (Each undeclared identifier is reported only once
> scan.c:791: for each function it appears in.)
> scan.c: At top level:
> scan.c:805: parse error before '}' token
> make: *** [scan.o] Error 1
> 
> looks like there is an #include <string.h> missing..

thanks, I'll fix this.

> i've modified this, but i'm not a progammer so i couldn't fix the implicit
> declaration of `list_for_each_safe' and the undeclared `s'

you use pretty old kernel headers, right? list_for_each_safe() was 
introduced a long time ago.

Holger


> can somebody please fix this, and add a short description (README) for
> this application??

I'll do so when it's working and does something useful.

Holger



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index