Opened 11 years ago
Closed 11 years ago
#2458 closed defect (fixed)
#6540 Compile Error in module-dvbapi.c
Reported by: | JoSquillo | Owned by: | |
---|---|---|---|
Priority: | Please fill in | Component: | DVBApi |
Severity: | Please fill in | Keywords: | |
Cc: | Sensitive: | no |
Description
The Compile stops with this error
lib/libcs-mipsel-tuxbox-linux-glibc.a(module-dvbapi.o): In function `dvbapi_resort_ecmpids':
module-dvbapi.c:(.text+0x4990): undefined reference to `get_betatunnel_caid_to'
module-dvbapi.c:(.text+0x4ed4): undefined reference to `get_betatunnel_caid_to'
collect2: ld returned 1 exit status
make[1]: * [Distribution/oscam-1.20-unstable_svn6540-mipsel-tuxbox-linux-glibc] Error 1
make: [cross-mipsel-tuxbox-linux-glibc] Error 2 (ignored)
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Thanks. I suppose that the last code block is preceded by a "-". Is this right?
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Change this Lines and Compile will work again.
Index: trunk/module-stat.c
===================================================================
--- a/trunk/module-stat.c
+++ b/trunk/module-stat.c
@@ -45,5 +45,18 @@
-
+#endif
+
+uint16_t get_betatunnel_caid_to(uint16_t caid)
+{
+ if (caid == 0x1801) return 0x1722;
+ if (caid == 0x1833) return 0x1702;
+ if (caid == 0x1834) return 0x1722;
+ if (caid == 0x1835) return 0x1722;
+ return 0;
+}
+#endif
+
+#ifdef WITH_LB
@@ -750,13 +763,4 @@
-}
-
-uint16_t get_betatunnel_caid_to(uint16_t caid)
-{