Bug #1848
error compilation new imagecache.c on arm soft float
100%
Description
Hello!
Could you help me with this error compiling. Last git ( 3.9.255 ) cant build due to a single file : src/imagecache.c I should say this is only happening on the platform armv5te (NAS Synology), on x86 and armhf (alwinnerA10) compiles fine. If I replace just this one file from a saved git 3.9.246 - compailing is also perfect .
Debian-chroot wheezy
- gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv4t --with-float=soft --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14)
So, in the begining of building:
CC src/imagecache.o
src/imagecache.c:117:1: warning: 'imagecache_image_save' defined but not used [-Wunused-function]
CC src/tvhtime.o
CC src/descrambler/descrambler.o
CC src/service_mapper.o
And in the end:
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/ffdecsa/ffdecsa_int.o
CC tvheadend
/home/tvheadend/build.linux/src/channels.o: In function `channel_class_icon_notify':
/home/tvheadend/src/channels.c:183: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/epg.o: In function `epg_brand_set_image':
/home/tvheadend/src/epg.c:453: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/epg.o: In function `epg_season_set_image':
/home/tvheadend/src/epg.c:626: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/epg.o: In function `epg_episode_set_image':
/home/tvheadend/src/epg.c:891: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/htsp_server.o: In function `htsp_method_file_open':
/home/tvheadend/src/htsp_server.c:1645: undefined reference to `imagecache_open'
/home/tvheadend/build.linux/src/htsp_server.o: In function `htsp_build_channel':
/home/tvheadend/src/htsp_server.c:525: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/webui/webui.o: In function `page_imagecache':
/home/tvheadend/src/webui/webui.c:1049: undefined reference to `imagecache_open'
/home/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_epgrelated':
/home/tvheadend/src/webui/extjs.c:834: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_epg':
/home/tvheadend/src/webui/extjs.c:747: undefined reference to `imagecache_get_id'
/home/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_dvrlist':
/home/tvheadend/src/webui/extjs.c:1255: undefined reference to `imagecache_get_id'
collect2: ld returned 1 exit status
make: *** [/home/tvheadend/build.linux/tvheadend] Error 1
Could you explain to me, if the code will does not change, what is bad to me replacing this file, will all work correctly?
Thank you!
Sergey
Related issues
History
Updated by Sergey Borsukov almost 11 years ago
Solved. We need libcurl. Libcurl installed and all is well built.
Updated by Christian F almost 11 years ago
Sergey Borsukov wrote:
Solved. We need libcurl. Libcurl installed and all is well built.
Hi. Ihave the same compile error on raspian on a raspberry pi. Which libcurl did you install?
CC tvheadend
/root/tvheadend/build.linux/src/channels.o: In function `channel_class_icon_notify':
/root/tvheadend/src/channels.c:183: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/epg.o: In function `epg_brand_set_image':
/root/tvheadend/src/epg.c:453: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/epg.o: In function `epg_season_set_image':
/root/tvheadend/src/epg.c:626: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/epg.o: In function `epg_episode_set_image':
/root/tvheadend/src/epg.c:891: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/htsp_server.o: In function `htsp_method_file_open':
/root/tvheadend/src/htsp_server.c:1645: undefined reference to `imagecache_open'
/root/tvheadend/build.linux/src/htsp_server.o: In function `htsp_build_channel':
/root/tvheadend/src/htsp_server.c:525: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/webui/webui.o: In function `page_imagecache':
/root/tvheadend/src/webui/webui.c:1049: undefined reference to `imagecache_open'
/root/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_epgrelated':
/root/tvheadend/src/webui/extjs.c:834: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_epg':
/root/tvheadend/src/webui/extjs.c:747: undefined reference to `imagecache_get_id'
/root/tvheadend/build.linux/src/webui/extjs.o: In function `extjs_dvrlist':
/root/tvheadend/src/webui/extjs.c:1255: undefined reference to `imagecache_get_id'
collect2: ld returned 1 exit status
make: *** [/root/tvheadend/build.linux/tvheadend] Fehler 1
CC src/imagecache.o
src/imagecache.c:117:1: warning: ‘imagecache_image_save’ defined but not used [-Wunused-function]
Updated by Christian F almost 11 years ago
I get back 3 Revisions and there are NO Errors.
Please Check the actual Revision for Compiling Errors.
Updated by Adam Sutton almost 11 years ago
It's a stupid mistake on my part, I'll make sure to fix it soon.
Updated by Adam Sutton almost 11 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset tvheadend|commit:e1443a4cc3c853465a56ea095ec2058148b41649.