Project

General

Profile

Bug #2833

"ENABLE_IMAGECACHE" redefined

Added by virtual dj over 9 years ago. Updated over 9 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2015-05-10
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.2818~gf59c0bf
Affected Versions:

Description

Hi, I'm unable to build the latest master version (f59c0bf) on Debian armel 2.6.32-5 due to this redefined error:

...
CC              src/webui/webui.o
In file included from src/webui/webui.c:45:
/root/tvheadend/tvheadend/build.linux/config.h:14:1: error: "ENABLE_IMAGECACHE" redefined
In file included from /root/tvheadend/tvheadend/src/descrambler/libaesdec/libaesdec.h:11,
                 from /root/tvheadend/tvheadend/src/descrambler/tvhcsa.h:33,
                 from /root/tvheadend/tvheadend/src/descrambler.h:25,
                 from /root/tvheadend/tvheadend/src/service.h:24,
                 from /root/tvheadend/tvheadend/src/subscriptions.h:22,
                 from /root/tvheadend/tvheadend/src/dvr/dvr.h:25,
                 from src/webui/webui.c:37:
/root/tvheadend/tvheadend/build.linux/build.h:26:1: error: this is the location of the previous definition
In file included from /root/tvheadend/tvheadend/src/satip/server.h:23,
                 from src/webui/webui.c:51:
/root/tvheadend/tvheadend/build.linux/build.h:26:1: error: "ENABLE_IMAGECACHE" redefined
In file included from src/webui/webui.c:45:
/root/tvheadend/tvheadend/build.linux/config.h:14:1: error: this is the location of the previous definition
make: *** [/root/tvheadend/tvheadend/build.linux/src/webui/webui.o] Error 1

It's interesting to note that same error with the same sources DOES NOT appear on Debian x86 and x86_64.

History

#1

Updated by virtual dj over 9 years ago

I've retried adding the "--disable-imagecache" parameter to configure (even though, without it, it correctly reported "imagecache... no" in options, so the errors should be the same) and the error is different now:

CC              src/webui/webui.o
CC              src/webui/comet.o
CC              src/webui/extjs.o
cc1: warnings being treated as errors
src/webui/extjs.c: In function ‘extjs_config’:
src/webui/extjs.c:497: error: implicit declaration of function ‘config_get_all’
src/webui/extjs.c:497: error: assignment makes pointer from integer without a cast
src/webui/extjs.c:519: error: implicit declaration of function ‘config_set_muxconfpath’
src/webui/extjs.c:521: error: implicit declaration of function ‘config_set_language’
src/webui/extjs.c:523: error: implicit declaration of function ‘config_set_prefer_picon’
src/webui/extjs.c:525: error: implicit declaration of function ‘config_set_chicon_path’
src/webui/extjs.c:527: error: implicit declaration of function ‘config_set_picon_path’
src/webui/extjs.c:529: error: implicit declaration of function ‘config_set_int’
src/webui/extjs.c:553: error: implicit declaration of function ‘config_save’
src/webui/extjs.c: In function ‘extjs_start’:
src/webui/extjs.c:783: error: implicit declaration of function ‘extjs_start_v4l’
make: *** [/root/tvheadend/tvheadend/build.linux/src/webui/extjs.o] Error 1

So there's something broken when building on armel.

#2

Updated by Jaroslav Kysela over 9 years ago

  • Status changed from New to Invalid

The file build.linux/config.h should not be created with the recent tvh. Remove the whole build.linux directory, it seems that you mix builds using pieces from the ancient code (probably using the git pulls).

#3

Updated by virtual dj over 9 years ago

Thanks and sorry for my incompentence! I actually thought that a git pull followed by a make clean would have cleaned all those stuff.

Anyway, as you said, rm -rf build.linux solved.

Also available in: Atom PDF