Skip to contentSkip to conversation

libv4l compile on uclibc

DISCUSSION Francesco 2 participants 2 messages Feb 2, 2011 Media (V4L/DVB)

lore
Share & tools
lore

Francesco

author
#0 lore raw

Good afternoon.
I'm trying to compile v4l-utils for uclibc, but i need only libv4l for my purpose.

In order to compile correctly, is should have argp.h, but in the distribution i'm using uclibc is not compiled with argp.h. Because this library is used in :

v4l2grab.c:#include <argp.h>
decode_tm6000/decode_tm6000.c:#include <argp.h>
utils/keytable/keytable.c:#include <argp.h>

but i don't need this part of utils, is possible compile only libv4l without using argp.h ?

Thanks in advance.

--
:: Francesco ::
Jabber: [email protected]
E-Mail: [email protected]
GnuPG: FE9DDD5F

#1 lore raw

Em 02-02-2011 10:30, Francesco escreveu:

Quoted 11 lines

Good afternoon.
I'm trying to compile v4l-utils for uclibc, but i need only libv4l for my purpose.

In order to compile correctly, is should have argp.h, but in the distribution i'm using uclibc is not compiled with argp.h. Because this library is used in :

v4l2grab.c:#include <argp.h>
decode_tm6000/decode_tm6000.c:#include <argp.h>
utils/keytable/keytable.c:#include <argp.h>

but i don't need this part of utils, is possible compile only libv4l without using argp.h ?

I think you can just go to the lib directory and do a make there.

If you want, feel free to submit us a patch detecting that argp.h is not available and disabling the compilation for the above.

Quoted 2 lines

Thanks in advance.

Cheers,
Mauro