Opened 8 years ago

Closed 8 years ago

#2365 closed defect (fixed)

AZBox build problem

Reported by: Arbabe Owned by: Admin
Priority: blocker Component: ! Please select...
Severity: high Keywords:
Cc: Sensitive: no

Description

Revision

<svn 6309>

Issue Description

<Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o>

When the issue occurs

<[ 51%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
/home/arbabe/Scrivania/oscam-svn/csctapi/ifd_azbox.c:110:7: no newline at end of file
make[2]: * [csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o] Errore 1
make[1]:
* [csctapi/CMakeFiles/csctapi.dir/all] Errore 2
make: * [all] Errore 2

How the issue is reproducable

<compiling>

Change History (6)

comment:1 Changed 8 years ago by Arbabe

Summary: AZBox build problem 6309AZBox build problem

comment:2 Changed 8 years ago by Arbabe

Also with new svn 6320 and lasts compilation problem

this is error of 6320

[ 94%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
/home/arbabe/Scrivania/oscam-svn/csctapi/ifd_cool.c:229:7: no newline at end of file
make[2]: * [csctapi/CMakeFiles/csctapi.dir/ifd_cool.o] Errore 1
make[1]:
* [csctapi/CMakeFiles/csctapi.dir/all] Errore 2
make: * [all] Errore 2

comment:3 Changed 8 years ago by Arbabe

svn 6327

[100%] Building C object CMakeFiles/oscam.dir/oscam.o
Linking C executable oscam
libcsreaders.a(reader-common.o)(.text+0xc34): In function `reader_reset':
: undefined reference to `Azbox_SetMode'
libcsreaders.a(reader-common.o)(.text+0xdb0): In function `reader_reset':
: undefined reference to `Azbox_SetMode'
csctapi/libcsctapi.a(icc_async.o)(.text+0x35c): In function `ICC_Async_Device_Init':
: undefined reference to `Azbox_Init'
csctapi/libcsctapi.a(icc_async.o)(.text+0x644): In function `ICC_Async_GetStatus':
: undefined reference to `Azbox_GetStatus'
csctapi/libcsctapi.a(icc_async.o)(.text+0xff4): In function `ICC_Async_Transmit':
: undefined reference to `Azbox_Transmit'
csctapi/libcsctapi.a(icc_async.o)(.text+0x1154): In function `ICC_Async_Receive':
: undefined reference to `Azbox_Receive'
csctapi/libcsctapi.a(icc_async.o)(.text+0x14e4): In function `ICC_Async_Close':
: undefined reference to `Azbox_Close'
csctapi/libcsctapi.a(icc_async.o)(.text+0x357c): In function `ICC_Async_Activate':
: undefined reference to `Azbox_Reset'
collect2: ld returned 1 exit status
make[2]: * [oscam] Errore 1
make[1]:
* [CMakeFiles/oscam.dir/all] Errore 2
make: * [all] Errore 2

Last edited 8 years ago by Arbabe (previous) (diff)

comment:4 Changed 8 years ago by pmanu

Owner: set to Admin
Priority: Please fill inblocker
Severity: Please fill inhigh

Hi all,
This trouble was introduced in 6309 version.
Can be solved with this patch :

diff -u -r oscam-svn/csctapi/ifd_azbox.c oscam_trunk/csctapi/ifd_azbox.c
--- oscam-svn/csctapi/ifd_azbox.c	2012-01-31 10:49:14.259972009 +0100
+++ oscam_trunk/csctapi/ifd_azbox.c	2012-01-31 10:49:59.810944716 +0100
@@ -1,4 +1,4 @@
-#ifdef WITH_CARDREADER
+// #ifdef WITH_CARDREADER
 #ifdef AZBOX
 #include "ifd_azbox.h"
 #include"icc_async.h"
@@ -107,4 +107,4 @@
   return OK;
 }
 #endif
-#endif
+// #endif

comment:5 Changed 8 years ago by grantor

I pointed out a related problem in ticket # 2377.

The solution I found is to add the following define the beginning of the file oscam-svn/csctapi/ifd_azbox.c
# include ".. / globals.h"

Regards

comment:6 Changed 8 years ago by pmanu

Resolution: fixed
Status: newclosed

Resolved by #6330.
Thanks grantor & Admin.

Note: See TracTickets for help on using tickets.