[OpenWrt-Devel] Ask help for v4l2 build error.

shengkai shengkai_81 at 163.com
Sat Aug 29 10:54:30 EDT 2015


Hi All,


I used the 15.05 load and configured the "libv4l2" and "v4l2", but I hit following error. After defined the "ICONV_CONST" in config.h, then hit another issue.
Appreciat your help in advance!


mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib/libintl-stub/include -fpic -std=gnu99 -MT libdvbv5_la-parse_string.lo -MD -MP -MF .deps/libdvbv5_la-parse_string.Tpo -c parse_string.c -o libdvbv5_la-parse_string.o
parse_string.c: In function 'dvb_iconv_to_charset':
parse_string.c:323:14: error: 'ICONV_CONST' undeclared (first use in this function)
   iconv(cd, (ICONV_CONST char **)&src, &len, &p, &destlen);
              ^
parse_string.c:323:14: note: each undeclared identifier is reported only once for each function it appears in
parse_string.c:323:26: error: expected ')' before 'char'
   iconv(cd, (ICONV_CONST char **)&src, &len, &p, &destlen);
                          ^
make[7]: *** [libdvbv5_la-parse_string.lo] Error 1
-----------------
After defined the "ICONV_CONST", hit following error.


parse_string.c:(.text+0xa4): undefined reference to `iconv_open'
parse_string.c:(.text+0x110): undefined reference to `iconv'
parse_string.c:(.text+0x130): undefined reference to `iconv_close'
collect2: error: ld returned 1 exit status


Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150829/8adeb2e3/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list