#2945 closed defect (invalid)
Compiling Cygwin version via Cygwin Terminal
Reported by: | enigma13 | Owned by: | |
---|---|---|---|
Priority: | major | Component: | General |
Severity: | medium | Keywords: | compiling cygwin |
Cc: | Sensitive: | no |
Description
Revision
<All ?>
Issue Description
<make fails>
When the issue occurs
<tested for version 7436 and last>
How the issue is reproducable
<all time at make stage>
<I'm not very familiar with Eclipse
So i have read a tuto on a other board, description :
- Download cygwin setup : OK
- lunch it, and add packages uder devel:
*cmake
*gcc4-core
*gcc4-g++
*libusb1.0
*libusb1.0-devel
*make
*openssl-devel
*subversion : Done
- lunch Cygwin Terminal
- get trunk : svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn :done
- cd oscam-svn mkdir build, cd build : done
- CMake .. -> done :
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxxx/oscam-svn/build
than it hangs at make stage:
$ make
Scanning dependencies of target csmodules
[ 1%] Building C object CMakeFiles/csmodules.dir/module-anticasc.o
In file included from /home/xxxxx/oscam-svn/globals.h:78:0,
from /home/xxxxx/oscam-svn/module-anticasc.c:2:
/home/xxxxx/oscam-svn/extapi/cygwin/WinSCard.h:103:11: error: expected ‘)’ before ‘DWORD’
/home/xxxxx/oscam-svn/extapi/cygwin/WinSCard.h:110:15: error: expected ‘)’ before ‘SCARDCONTEXT’
/home/xxxxx/oscam-svn/extapi/cygwin/WinSCard.h:114:15: error: expected ‘)’ before ‘SCARDCONTEXT’
/home/xxxxx/oscam-svn/extapi/cygwin/WinSCard.h:141:13: error: expected ‘)’ before ‘SCARDCONTEXT’
etc..
make[2]: * [CMakeFiles/csmodules.dir/module-anticasc.o] Error 1
CMakeFiles/Makefile2:63: recipe for target `CMakeFiles/csmodules.dir/all' failed
make[1]: * [CMakeFiles/csmodules.dir/all] Error 2
Makefile:136: recipe for target `all' failed
make: * [all] Error 2
Any Idea ?
seems something is missing in the process (or not compatible) ...
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
cmake issue. Solution is don't use it!
cd oscam-svn
make cygwin
Works perfect.
comment:3 by , 11 years ago
yes that's compiling the exe file, good.
But now at lauching, i'll get the message :
C:\Oscam>oscam
ERROR: Cannot open file "/usr/local/etc/oscam.conf" (errno=2 No such file or dir
ectory)
Seems that paths are not included as default directory for oscam directory.
comment:4 by , 11 years ago
$ make cygwin
make --no-print-directory \
EXTRA_FLAGS="-I /tmp/include" \
+-------------------------------------------------------------------------------
| OSCam ver: 1.20-unstable_svn rev: 7891 target: i686-pc-cygwin
| Tools:
| CROSS =
| CC = gcc
| STRIP = strip
| Settings:
| CONF_DIR = /usr/local/etc
| CC_OPTS = -O2 -ggdb -ffunction-sections -fdata-sections
| CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-styl e-definition
| CFLAGS = -I /tmp/include
| LDFLAGS = -Wl,--gc-sections -I /tmp/include
| LIBS = -lpthread -ldl
| Config:
| Addons : WEBIF TOUCH HAVE_DVBAPI IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MOD ULE_MONITOR WITH_LB CS_CACHEEX
| Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SERIAL CONS TCW PANDORA
| Readers : WITH_CARDREADER NAGRA IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEO GUARD DRE TONGFANG BULCRYPT
| Compiler : gcc (GCC) 4.5.3
| Linker : GNU ld (GNU Binutils) 2.22.52.20120326
| Binary : Distribution/oscam-1.20-unstable_svn7891-i686-pc-cygwin.exe
+-------------------------------------------------------------------------------
CC algo/minilzo.c
CC cscrypt/aes.c
etc
Where to change CONF_DIR = /usr/local/etc and is it enough ?
comment:5 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:7 by , 11 years ago
@lattjo: Works still perfect with mouse support but no pcsc support.
Tekreader's one have scpc support.
Is this compatible with cgywin terminal compiling ?
Same error under win32 and win64