Bug #5372
Compilation failure
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2018-11-30
Due date:
% Done:
100%
Estimated time:
Found in version:
4.3-1601~gf024531ee-dirty
Affected Versions:
Description
In file included from src/queue.h:8, from src/htsmsg.h:22, from src/settings.h:24, from src/imagecache.c:21: src/imagecache.c: In function 'imagecache_image_save': src/imagecache.c:175:24: error: 'imagecache_queue' undeclared (first use in this function); did you mean 'imagecache_skel'? TAILQ_INSERT_TAIL(&imagecache_queue, img, q_link); ^~~~~~~~~~~~~~~~ src/../vendor/include/sys/queue.h:404:27: note: in definition of macro 'TAILQ_INSERT_TAIL' (elm)->field.tqe_prev = (head)->tqh_last; \ ^~~~ src/imagecache.c:175:24: note: each undeclared identifier is reported only once for each function it appears in TAILQ_INSERT_TAIL(&imagecache_queue, img, q_link); ^~~~~~~~~~~~~~~~ src/../vendor/include/sys/queue.h:404:27: note: in definition of macro 'TAILQ_INSERT_TAIL' (elm)->field.tqe_prev = (head)->tqh_last; \ ^~~~ src/imagecache.c:176:22: error: 'imagecache_cond' undeclared (first use in this function); did you mean 'imagecache_conf'? tvh_cond_signal(&imagecache_cond, 1); ^~~~~~~~~~~~~~~ imagecache_conf
History
Updated by Jaroslav Kysela almost 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|fb6c9fa88bd888a9650111f602aaa3de1db7b326.
Updated by Dave Pickles almost 6 years ago
Now the link fails:
/usr/bin/ld: /tmp/makepkg/tvheadend/src/tvheadend/build.linux/src/imagecache.o: in function `imagecache_thread': /tmp/makepkg/tvheadend/src/tvheadend/src/imagecache.c:425: undefined reference to `imagecache_conf' collect2: error: ld returned 1 exit status
These are my configure settings:
--prefix=/usr \ --disable-libav \ --disable-libvpx \ --disable-libvpx_static \ --enable-libx265 \ --disable-libx264_static \ --disable-libx265_static \ --disable-libvorbis \ --disable-libvorbis_static \ --disable-libtheora_static \ --disable-libtheora \ --disable-libopus \ --disable-libopus_static \ --disable-ffmpeg_static \ --disable-ffmpeg \ --disable-libfdkaac-static \ --disable-hdhomerun_static \ --disable-hdhomerun_client \ --disable-satip_server \ --disable-satip_client \ --disable-imagecache \ --disable-dvbscan \ --disable-cwc \ --disable-cccam \ --disable-capmt \ --disable-constcw \ --enable-ddci \ --enable-iptv \ --disable-avahi \ --disable-trace
Updated by Dave Pickles almost 6 years ago
Confirm 4.3-1603~gf048c549c-dirty builds without error. Many thanks, please close this report.