Opened 12 years ago
Closed 12 years ago
#1382 closed defect (fixed)
Rev 4169 compile error !!!
Reported by: | cybernando | Owned by: | |
---|---|---|---|
Priority: | blocker | Component: | General |
Severity: | high | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
<4169>
Issue Description
[ 21%] Building C object CMakeFiles/csoscam.dir/oscam-http.o /home/Oscam/oscam-svn/oscam-http.c: In function 'send_oscam_entitlement': /home/Oscam/oscam-svn/oscam-http.c:1676: warning: unused parameter 'in' /home/Oscam/oscam-svn/oscam-http.c:1676: warning: unused parameter 'apicall'
[ 55%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o /home/Oscam/oscam-svn/csctapi/icc_async.c:42:30: error: csctapi/ifd_pcsc.h: No such file or directory /home/Oscam/oscam-svn/csctapi/icc_async.c: In function 'ICC_Async_Close': /home/Oscam/oscam-svn/csctapi/icc_async.c:516: error: void value not ignored as it ought to be make[2]: *** [csctapi/CMakeFiles/csctapi.dir/icc_async.o] Errore 1 make[1]: *** [csctapi/CMakeFiles/csctapi.dir/all] Errore 2 make: *** [all] Errore 2
When the issue occurs
<Compiling>
How the issue is reproducable
<Compile>
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
I get a compiler Error at that point. Compiled 4172 for i386.
[ 62%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
/soft3/oscam/oscamStream/csctapi/icc_async.c: In function 'ICC_Async_Activate':
/soft3/oscam/oscamStream/csctapi/icc_async.c:322: error: a label can only be part of a statement and a declaration is not a statement
/soft3/oscam/oscamStream/csctapi/icc_async.c:323: error: expected expression before 'ushort'
/soft3/oscam/oscamStream/csctapi/icc_async.c:324: error: 'atr_size' undeclared (first use in this function)
/soft3/oscam/oscamStream/csctapi/icc_async.c:324: error: (Each undeclared identifier is reported only once
/soft3/oscam/oscamStream/csctapi/icc_async.c:324: error: for each function it appears in.)
/soft3/oscam/oscamStream/csctapi/icc_async.c: In function 'ICC_Async_Close':
/soft3/oscam/oscamStream/csctapi/icc_async.c:538: error: void value not ignored as it ought to be
make[2]: * [csctapi/CMakeFiles/csctapi.dir/icc_async.o] Error 1
make[1]: * [csctapi/CMakeFiles/csctapi.dir/all] Error 2
make: * [all] Error 2
comment:4 by , 12 years ago
For me the i386 compile works now. I compile for i386, freetz, 7020, 8000. The freetz-compile did not work. But that is maybe an other problem?!
[ 52%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
In file included from /soft3/oscam/oscamStream/csctapi/ifd_sci.h:7,
from /soft3/oscam/oscamStream/csctapi/ifd_sci.c:6:
/soft3/oscam/oscamStream/csctapi/../globals.h:103:31: error: libusb-1.0/libusb.h: No such file or directory
In file included from /soft3/oscam/oscamStream/csctapi/ifd_sci.h:7,
from /soft3/oscam/oscamStream/csctapi/ifd_sci.c:6:
/soft3/oscam/oscamStream/csctapi/../globals.h:416: error: expected specifier-qualifier-list before 'libusb_device'
make[2]: * [csctapi/CMakeFiles/csctapi.dir/ifd_sci.o] Error 1
make[1]: * [csctapi/CMakeFiles/csctapi.dir/all] Error 2
make: * [all] Error 2
comment:5 by , 12 years ago
this seems to be some problem with your smartreader libusb library; this one compiles fine at my fritzbox toolchain.
Thanks for the help splitti, could you also check whether the compiled binary works ok?
No exciting stuff done, but you never know ...
THX!!!
comment:6 by , 12 years ago
I found my problem eith the usblib for freetz. Now all compiles work fine.
The i386 and 7020 bins are up and running fine. Thanks for the quick help! ;-)
comment:7 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
please test 4172; sorry for this, cannot test compiling for PCSC reader ...