Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 5 of 5
  1. #1
    Complicated & Antisocial Mentor
    Join Date
    Jun 2008
    Posts
    792
    Posts Thanks / Likes

    Default Compilare oscam windows x32

    I - instalare cygwin
    - download cygwin setup http://cygwin.com/setup.exe
    - dubluclick setup.exe, "Install from internet".
    alegeti un director, de preferat in radacina partitiei (ex: F:\cygwin).
    alegeti un director local pentru salvare componente ce vor fi instalate in directorul cygwin.
    specificati tipul de conectare la net, "Direct connection".
    alegeti una din sursele de download.
    selectati ramura "Devel".
    selectati urmatoarele aplicatii/biblioteci:
    -cmake
    -gcc4-core
    -gcc4-g++
    -libusb1.0
    -libusb1.0-devel
    -make
    -openssl-devel
    -subversion
    Nota: setup-ul va selecta celelalte componente necesare pentru compilare.

    II - Download fisiere sursa & compilare oscam.
    dubluclick pe shortcut "Cygwin Terminal" aflat pe desktop.
    introduceti comanda fara ghilimele: "svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn"
    daca doriti o anumita revizie introduceti : "svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-xxxx -rxxxx" unde xxxx reprezinta nr reviziei.
    schimbati directorul : cd oscam-svn
    creati directorul "build" cu comanda : mkdir build
    intrati in directorul "build": cd build
    se porneste cmake.exe cu comanda : cmake ..
    dupa ce termina cmake, se executa make cu comanda : make
    daca totul este in regula va in cepe compilarea iar oscam.exe va fi salvat in directorul build.
    calea catre directorul build este urmatoarea: x:\cygwin\home\nume utilizator\oscam-svn\build
    x=litera partitiei
    nume utilizator = numele utilizatorului logat

    Code:
    [email protected] ~
    $ svn co http://streamboard.tv/svn/oscam/trunk oscam-svn
    
    A    oscam-svn/module-cccam.h
    A    oscam-svn/Distribution
    A    oscam-svn/Distribution/doc
    A    oscam-svn/Distribution/doc/txt
    A    oscam-svn/Distribution/doc/txt/oscam.cacheex.txt
    A    oscam-svn/Distribution/doc/txt/oscam.txt
    A    oscam-svn/Distribution/doc/txt/oscam.provid.txt
    A    oscam-svn/Distribution/doc/txt/oscam.dvbapi.txt
    A    oscam-svn/Distribution/doc/txt/oscam.server.txt
    A    oscam-svn/Distribution/doc/txt/oscam.whitelist.txt
    A    oscam-svn/Distribution/doc/txt/oscam.ird.txt
    A    oscam-svn/Distribution/doc/txt/oscam.user.txt
    A    oscam-svn/Distribution/doc/txt/list_smargo.txt
    A    oscam-svn/Distribution/doc/txt/oscam.ac.txt
    A    oscam-svn/Distribution/doc/txt/oscam.services.txt
    A    oscam-svn/Distribution/doc/txt/oscam.conf.txt
    A    oscam-svn/Distribution/doc/txt/oscam.guess.txt
    A    oscam-svn/Distribution/doc/txt/oscam.tiers.txt
    A    oscam-svn/Distribution/doc/txt/oscam.srvid.txt
    A    oscam-svn/Distribution/doc/txt/oscam.cert.txt
    A    oscam-svn/Distribution/doc/html
    A    oscam-svn/Distribution/doc/html/oscam.whitelist.5.html
    A    oscam-svn/Distribution/doc/html/list_smargo.1.html
    A    oscam-svn/Distribution/doc/html/oscam.ird.5.html
    A    oscam-svn/Distribution/doc/html/oscam.user.5.html
    A    oscam-svn/Distribution/doc/html/oscam.ac.5.html
    A    oscam-svn/Distribution/doc/html/oscam.services.5.html
    A    oscam-svn/Distribution/doc/html/oscam.conf.5.html
    A    oscam-svn/Distribution/doc/html/oscam.guess.5.html
    A    oscam-svn/Distribution/doc/html/oscam.tiers.5.html
    A    oscam-svn/Distribution/doc/html/oscam.srvid.5.html
    A    oscam-svn/Distribution/doc/html/oscam.1.html
    A    oscam-svn/Distribution/doc/html/oscam.cert.5.html
    A    oscam-svn/Distribution/doc/html/oscam.cacheex.5.html
    A    oscam-svn/Distribution/doc/html/oscam.provid.5.html
    A    oscam-svn/Distribution/doc/html/oscam.dvbapi.5.html
    A    oscam-svn/Distribution/doc/html/oscam.server.5.html
    A    oscam-svn/Distribution/doc/example
    A    oscam-svn/Distribution/doc/example/oscam.ird
    A    oscam-svn/Distribution/doc/example/oscam.user
    A    oscam-svn/Distribution/doc/example/oscam.cacheex
    A    oscam-svn/Distribution/doc/example/oscam.ac
    A    oscam-svn/Distribution/doc/example/oscam.provid
    A    oscam-svn/Distribution/doc/example/oscam.services
    A    oscam-svn/Distribution/doc/example/oscam.conf
    A    oscam-svn/Distribution/doc/example/oscam.dvbapi
    A    oscam-svn/Distribution/doc/example/oscam.guess
    A    oscam-svn/Distribution/doc/example/oscam.server
    A    oscam-svn/Distribution/doc/example/oscam.tiers
    A    oscam-svn/Distribution/doc/example/oscam.srvid
    A    oscam-svn/Distribution/doc/example/oscam.whitelist
    A    oscam-svn/Distribution/doc/example/oscam.cert
    A    oscam-svn/Distribution/doc/man
    A    oscam-svn/Distribution/doc/man/oscam.whitelist.5
    A    oscam-svn/Distribution/doc/man/list_smargo.1
    A    oscam-svn/Distribution/doc/man/oscam.ird.5
    A    oscam-svn/Distribution/doc/man/oscam.user.5
    A    oscam-svn/Distribution/doc/man/oscam.ac.5
    A    oscam-svn/Distribution/doc/man/oscam.services.5
    A    oscam-svn/Distribution/doc/man/oscam.conf.5
    A    oscam-svn/Distribution/doc/man/oscam.guess.5
    A    oscam-svn/Distribution/doc/man/oscam.tiers.5
    A    oscam-svn/Distribution/doc/man/oscam.srvid.5
    A    oscam-svn/Distribution/doc/man/oscam.1
    A    oscam-svn/Distribution/doc/man/oscam.cert.5
    A    oscam-svn/Distribution/doc/man/oscam.cacheex.5
    A    oscam-svn/Distribution/doc/man/oscam.provid.5
    A    oscam-svn/Distribution/doc/man/oscam.dvbapi.5
    A    oscam-svn/Distribution/doc/man/oscam.server.5
    A    oscam-svn/Distribution/monitor
    A    oscam-svn/Distribution/monitor/mpcsmon-src-0.6.tar.bz2
    A    oscam-svn/Distribution/monitor/mpcsmon.sh
    A    oscam-svn/module-camd35.c
    A    oscam-svn/openxcas
    A    oscam-svn/openxcas/openxcas_api.h
    A    oscam-svn/openxcas/libOpenXCASAPI.a
    A    oscam-svn/openxcas/openxcas.conf
    A    oscam-svn/openxcas/openxcas_smartcard.h
    A    oscam-svn/openxcas/openxcas_message.h
    A    oscam-svn/reader-viaccess.c
    A    oscam-svn/reader-cryptoworks.c
    A    oscam-svn/module-dvbapi-stapi.c
    A    oscam-svn/README.build
    A    oscam-svn/module-dvbapi-stapi.h
    A    oscam-svn/reader-videoguard-common.c
    A    oscam-svn/module-webif.c
    A    oscam-svn/oscam-log.c
    A    oscam-svn/toolchains
    A    oscam-svn/toolchains/toolchain-arm-dockstar-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-mips-dir825.cmake
    A    oscam-svn/toolchains/toolchain-mipsel-tuxbox-broken-pthread.cmake
    A    oscam-svn/toolchains/toolchain-sh4-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-arm-coolstream.cmake
    A    oscam-svn/toolchains/toolchain-arm-friendlyarm.cmake
    A    oscam-svn/toolchains/toolchain-mips-azbox.cmake
    A    oscam-svn/toolchains/toolchain-tripledragon.cmake
    A    oscam-svn/toolchains/toolchain-mips-agv2_w.cmake
    A    oscam-svn/toolchains/toolchain-sh4-amino.cmake
    A    oscam-svn/toolchains/toolchain-mips-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-sparc-padre.cmake
    A    oscam-svn/toolchains/toolchain-mips-fonera2.cmake
    A    oscam-svn/toolchains/toolchain-mips-wrt54g.cmake
    A    oscam-svn/toolchains/toolchain-sh4-tuxbox-stapi.cmake
    A    oscam-svn/toolchains/toolchain-arm-wrt350nv2-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-powerpc-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-arm-nslu2-unslung.cmake
    A    oscam-svn/toolchains/toolchain-arm-nslu2-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-arm-none.cmake
    A    oscam-svn/toolchains/toolchain-mipsel-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-sh4-qboxhd.cmake
    A    oscam-svn/module-gbox.c
    A    oscam-svn/reader-videoguard-common.h
    A    oscam-svn/module-webif.h
    A    oscam-svn/COPYING
    A    oscam-svn/module-dvbapi.c
    A    oscam-svn/oscam-conf-mk.c
    A    oscam-svn/Makefile
    A    oscam-svn/module-dvbapi.h
    A    oscam-svn/oscam.c
    A    oscam-svn/module-serial.c
    A    oscam-svn/reader-tongfang.c
    A    oscam-svn/oscam-config.c
    A    oscam-svn/cscrypt
    A    oscam-svn/cscrypt/bn_lcl.h
    A    oscam-svn/cscrypt/bn_asm.c
    A    oscam-svn/cscrypt/rc6.h
    A    oscam-svn/cscrypt/idea_lcl.h
    A    oscam-svn/cscrypt/i_ecb.c
    A    oscam-svn/cscrypt/bn_div.c
    A    oscam-svn/cscrypt/sha1.h
    A    oscam-svn/cscrypt/bn_add.c
    A    oscam-svn/cscrypt/bn_print.c
    A    oscam-svn/cscrypt/crc32.c
    A    oscam-svn/cscrypt/bn_mul.c
    A    oscam-svn/cscrypt/bn_sqr.c
    A    oscam-svn/cscrypt/md5.c
    A    oscam-svn/cscrypt/md5.h
    A    oscam-svn/cscrypt/bn_word.c
    A    oscam-svn/cscrypt/Makefile
    A    oscam-svn/cscrypt/CMakeLists.txt
    A    oscam-svn/cscrypt/i_cbc.c
    A    oscam-svn/cscrypt/bn.h
    A    oscam-svn/cscrypt/idea.h
    A    oscam-svn/cscrypt/aes.c
    A    oscam-svn/cscrypt/openssl_mods.h
    A    oscam-svn/cscrypt/bn_exp.c
    A    oscam-svn/cscrypt/des.c
    A    oscam-svn/cscrypt/bn_ctx.c
    A    oscam-svn/cscrypt/aes.h
    A    oscam-svn/cscrypt/buffer.h
    A    oscam-svn/cscrypt/mem.c
    A    oscam-svn/cscrypt/des.h
    A    oscam-svn/cscrypt/i_skey.c
    A    oscam-svn/cscrypt/bn_lib.c
    A    oscam-svn/cscrypt/rc6.c
    A    oscam-svn/cscrypt/cscrypt.h
    A    oscam-svn/cscrypt/bn_shift.c
    A    oscam-svn/cscrypt/sha1.c
    A    oscam-svn/reader-conax.c
    A    oscam-svn/module-dvbapi-azbox.c
    A    oscam-svn/oscam-config.h
    A    oscam-svn/reader-videoguard1.c
    A    oscam-svn/global-functions.h
    A    oscam-svn/oscam-simples.c
    A    oscam-svn/module-radegast.c
    A    oscam-svn/module-dvbapi-azbox.h
    A    oscam-svn/oscam-conf.c
    A    oscam-svn/reader-******.c
    A    oscam-svn/oscam-llist.c
    A    oscam-svn/reader-nagra.c
    A    oscam-svn/reader-common.c
    A    oscam-svn/oscam-garbage.c
    A    oscam-svn/oscam-conf.h
    A    oscam-svn/reader-videoguard12.c
    A    oscam-svn/oscam-llist.h
    A    oscam-svn/reader-common.h
    A    oscam-svn/module-newcamd.c
    A    oscam-svn/reader-bulcrypt.c
    A    oscam-svn/csctapi
    A    oscam-svn/csctapi/ifd_smartreader.h
    A    oscam-svn/csctapi/ifd_phoenix.h
    A    oscam-svn/csctapi/smartreader_types.h
    A    oscam-svn/csctapi/sci_global.h
    A    oscam-svn/csctapi/ifd_azbox.c
    A    oscam-svn/csctapi/ifd_mp35.c
    A    oscam-svn/csctapi/ifd_azbox.h
    A    oscam-svn/csctapi/ifd_pcsc.c
    A    oscam-svn/csctapi/ifd_mp35.h
    A    oscam-svn/csctapi/ifd_pcsc.h
    A    oscam-svn/csctapi/defines.h
    A    oscam-svn/csctapi/atr.c
    A    oscam-svn/csctapi/atr.h
    A    oscam-svn/csctapi/icc_async.c
    A    oscam-svn/csctapi/CMakeLists.txt
    A    oscam-svn/csctapi/Makefile
    A    oscam-svn/csctapi/t1_block.c
    A    oscam-svn/csctapi/icc_async.h
    A    oscam-svn/csctapi/ifd_sci.c
    A    oscam-svn/csctapi/ifd_stapi.c
    A    oscam-svn/csctapi/t1_block.h
    A    oscam-svn/csctapi/protocol_t0.c
    A    oscam-svn/csctapi/ifd_sci.h
    A    oscam-svn/csctapi/protocol_t1.c
    A    oscam-svn/csctapi/io_serial.c
    A    oscam-svn/csctapi/ifd_stapi.h
    A    oscam-svn/csctapi/protocol_t0.h
    A    oscam-svn/csctapi/ifd_smargo.c
    A    oscam-svn/csctapi/io_serial.h
    A    oscam-svn/csctapi/sci_ioctl.h
    A    oscam-svn/csctapi/ifd_cool.c
    A    oscam-svn/csctapi/ifd_cool.h
    A    oscam-svn/csctapi/mc_global.h
    A    oscam-svn/csctapi/ifd_sc8in1.c
    A    oscam-svn/csctapi/ifd_smartreader.c
    A    oscam-svn/csctapi/ifd_sc8in1.h
    A    oscam-svn/csctapi/ifd_phoenix.c
    A    oscam-svn/module-pandora.c
    A    oscam-svn/module-anticasc.c
    A    oscam-svn/reader-dre.c
    A    oscam-svn/module-lcd.c
    A    oscam-svn/oscam-config-funcs.h
    A    oscam-svn/coolapi.h
    A    oscam-svn/CMakeLists.txt
    A    oscam-svn/config.sh
    A    oscam-svn/module-cccshare.c
    A    oscam-svn/module-stat.c
    A    oscam-svn/algo
    A    oscam-svn/algo/lzoconf.h
    A    oscam-svn/algo/minilzo.c
    A    oscam-svn/algo/minilzo.h
    A    oscam-svn/algo/CMakeLists.txt
    A    oscam-svn/algo/Makefile
    A    oscam-svn/oscam-reader.c
    A    oscam-svn/module-constcw.c
    A    oscam-svn/module-cccshare.h
    A    oscam-svn/oscam-chk.c
    A    oscam-svn/module-csp.c
    A    oscam-svn/oscam-types.h
    A    oscam-svn/module-monitor.c
    A    oscam-svn/reader-seca.c
    A    oscam-svn/reader-videoguard2.c
    A    oscam-svn/module-webif-pages.c
    A    oscam-svn/README
    A    oscam-svn/module-dvbapi-coolapi.c
    A    oscam-svn/Makefile.extra
    A    oscam-svn/cygwin
    A    oscam-svn/cygwin/WinSCard.h
    A    oscam-svn/cygwin/SCardErr.h
    A    oscam-svn/cygwin/WinSmCrd.h
    A    oscam-svn/utils
    A    oscam-svn/utils/list_smargo.c
    A    oscam-svn/utils/CMakeLists.txt
    A    oscam-svn/module-dvbapi-coolapi.h
    A    oscam-svn/module-webif-lib.c
    A    oscam-svn/.gitignore
    A    oscam-svn/oscam-conf-chk.c
    A    oscam-svn/globals.h
    A    oscam-svn/module-cccam.c
    A    oscam-svn/oscam-conf-chk.h
    A    oscam-svn/module-camd33.c
     U   oscam-svn
    Checked out revision 7436.
    Code:
    [email protected] ~/oscam-svn/build
    $ cmake ..
    -- The C compiler identification is GNU 4.5.3
    CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
      CMake no longer defines WIN32 on Cygwin!
    
      (1) If you are just trying to build this project, ignore this warning or
      quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
      the CMake cache.  If later configuration or build errors occur then this
      project may have been written under the assumption that Cygwin is WIN32.
      In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
    
      (2) If you are developing this project, add the line
    
        set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
    
      at the top of your top-level CMakeLists.txt file or set the minimum
      required version of CMake to 2.8.4 or higher.  Then teach your project to
      build on Cygwin without WIN32.
    Call Stack (most recent call first):
      /usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
      CMakeLists.txt:1 (project)
    
    
    -- Check for working C compiler: /usr/bin/gcc.exe
    -- Check for working C compiler: /usr/bin/gcc.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    --   pthread found. Adding pthread support
    -- Looking for openssl/aes.h
    -- Looking for openssl/aes.h - found
    --   openssl found.
    -- Looking for time.h
    -- Looking for time.h - found
    --   librt found (needed by libusb).
    -- Looking for libusb-1.0/libusb.h
    -- Looking for libusb-1.0/libusb.h - found
    --   static libusb 1.0 found (/usr/lib/libusb-1.0.a). Adding smartreader support
    -- Looking for PCSC/wintypes.h
    -- Looking for PCSC/wintypes.h - found
    --   PCSC headers found (/usr/include/PCSC). Adding PCSC support
    -- The CXX compiler identification is GNU 4.5.3
    -- Check for working CXX compiler: /usr/bin/c++.exe
    -- Check for working CXX compiler: /usr/bin/c++.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    --   librt found (needed by libusb).
    -- Utils: pthread found. Adding pthread support
    -- Utils: static libusb 1.0 found : /usr/lib/libusb-1.0.a . Adding smartreader support
    -- Utils: operating system: Windows/Cygwin
    -- Utils: target system: i686-pc-cygwin
    
    -- Utils: use system static libusb
    --
    -- Windows system PCSC : winscard.dll
    --
    --   operating system: Windows/Cygwin
    --   target system: i686-pc-cygwin
    --   revision: 7200
    --   use libcrypto functions
    --   use system pcsc functions
    --   use system pthread functions
    --   use system libusb functions
    --
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/Administrator/oscam-svn/build
    Code:
    [email protected] ~/oscam-svn/build
    $ make
    Scanning dependencies of target csmodules
    [  1%] Building C object CMakeFiles/csmodules.dir/module-anticasc.o
    [  2%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
    [  3%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
    [  4%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
    [  5%] Building C object CMakeFiles/csmodules.dir/module-cccshare.o
    [  6%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
    [  8%] Building C object CMakeFiles/csmodules.dir/module-csp.o
    [  9%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-azbox.o
    [ 10%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi.o
    [ 11%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi.o
    [ 12%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
    [ 13%] Building C object CMakeFiles/csmodules.dir/module-gbox.o
    [ 15%] Building C object CMakeFiles/csmodules.dir/module-lcd.o
    [ 16%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
    [ 17%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
    [ 18%] Building C object CMakeFiles/csmodules.dir/module-pandora.o
    [ 19%] Building C object CMakeFiles/csmodules.dir/module-radegast.o
    [ 20%] Building C object CMakeFiles/csmodules.dir/module-serial.o
    [ 22%] Building C object CMakeFiles/csmodules.dir/module-stat.o
    [ 23%] Building C object CMakeFiles/csmodules.dir/module-webif-lib.o
    /home/Administrator/oscam-svn/module-webif-lib.c: In function ‘urlencode’:
    /home/Administrator/oscam-svn/module-webif-lib.c:842:3: warning: array subscript has type ‘char’
    [ 24%] Building C object CMakeFiles/csmodules.dir/module-webif-pages.o
    [ 25%] Building C object CMakeFiles/csmodules.dir/module-webif.o
    Linking C static library libcsmodules.a
    [ 25%] Built target csmodules
    Scanning dependencies of target svnversion-log
    [ 25%] Built target svnversion-log
    Scanning dependencies of target csoscam
    [ 26%] Building C object CMakeFiles/csoscam.dir/oscam-chk.o
    [ 27%] Building C object CMakeFiles/csoscam.dir/oscam-conf-chk.o
    [ 29%] Building C object CMakeFiles/csoscam.dir/oscam-conf-mk.o
    [ 30%] Building C object CMakeFiles/csoscam.dir/oscam-conf.o
    [ 31%] Building C object CMakeFiles/csoscam.dir/oscam-config.o
    [ 32%] Building C object CMakeFiles/csoscam.dir/oscam-garbage.o
    [ 33%] Building C object CMakeFiles/csoscam.dir/oscam-llist.o
    [ 34%] Building C object CMakeFiles/csoscam.dir/oscam-log.o
    [ 36%] Building C object CMakeFiles/csoscam.dir/oscam-reader.o
    [ 37%] Building C object CMakeFiles/csoscam.dir/oscam-simples.o
    /home/Administrator/oscam-svn/oscam-simples.c: In function ‘cs_strnicmp’:
    /home/Administrator/oscam-svn/oscam-simples.c:988:3: warning: array subscript has type ‘char’
    /home/Administrator/oscam-svn/oscam-simples.c:988:3: warning: array subscript has type ‘char’
    Linking C static library libcsoscam.a
    [ 37%] Built target csoscam
    Scanning dependencies of target csreaders
    [ 38%] Building C object CMakeFiles/csreaders.dir/reader-bulcrypt.o
    /home/Administrator/oscam-svn/reader-bulcrypt.c: In function ‘bulcrypt_card_init’:
    /home/Administrator/oscam-svn/reader-bulcrypt.c:226:3: warning: array subscript has type ‘char’
    [ 39%] Building C object CMakeFiles/csreaders.dir/reader-common.o
    [ 40%] Building C object CMakeFiles/csreaders.dir/reader-conax.o
    [ 41%] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.o
    [ 43%] Building C object CMakeFiles/csreaders.dir/reader-dre.o
    [ 44%] Building C object CMakeFiles/csreaders.dir/reader-******.o
    [ 45%] Building C object CMakeFiles/csreaders.dir/reader-nagra.o
    [ 46%] Building C object CMakeFiles/csreaders.dir/reader-seca.o
    [ 47%] Building C object CMakeFiles/csreaders.dir/reader-tongfang.o
    [ 48%] Building C object CMakeFiles/csreaders.dir/reader-viaccess.o
    [ 50%] Building C object CMakeFiles/csreaders.dir/reader-videoguard-common.o
    [ 51%] Building C object CMakeFiles/csreaders.dir/reader-videoguard1.o
    [ 52%] Building C object CMakeFiles/csreaders.dir/reader-videoguard12.o
    [ 53%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o
    Linking C static library libcsreaders.a
    [ 53%] Built target csreaders
    Scanning dependencies of target cscrypt
    [ 54%] Building C object cscrypt/CMakeFiles/cscrypt.dir/aes.o
    [ 55%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
    [ 56%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
    [ 58%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
    [ 59%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
    [ 60%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
    [ 61%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
    [ 62%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
    [ 63%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
    [ 65%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
    [ 66%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
    [ 67%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
    [ 68%] Building C object cscrypt/CMakeFiles/cscrypt.dir/crc32.o
    [ 69%] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.o
    [ 70%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
    [ 72%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_ecb.o
    [ 73%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
    [ 74%] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.o
    [ 75%] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.o
    [ 76%] Building C object cscrypt/CMakeFiles/cscrypt.dir/rc6.o
    [ 77%] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha1.o
    Linking C static library libcscrypt.a
    [ 77%] Built target cscrypt
    Scanning dependencies of target csctapi
    [ 79%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
    [ 80%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
    [ 81%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
    [ 82%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
    [ 83%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
    [ 84%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
    [ 86%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
    [ 87%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
    [ 88%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
    /home/Administrator/oscam-svn/csctapi/ifd_sci.c:23:0: warning: "ERROR" redefined
    /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/wingdi.h:313:0: note: this is the location of the previous definition
    [ 89%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
    [ 90%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
    [ 91%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stapi.o
    [ 93%] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.o
    [ 94%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
    [ 95%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
    [ 96%] Building C object csctapi/CMakeFiles/csctapi.dir/t1_block.o
    Linking C static library libcsctapi.a
    [ 96%] Built target csctapi
    Scanning dependencies of target svnversion
    [ 96%] Built target svnversion
    Scanning dependencies of target algo
    [ 97%] Building C object algo/CMakeFiles/algo.dir/minilzo.o
    Linking C static library libalgo.a
    [ 97%] Built target algo
    Scanning dependencies of target oscam
    [ 98%] Building C object CMakeFiles/oscam.dir/oscam.o
    Linking C executable oscam.exe
    Warning: resolving [email protected] by linking to _SCardEstablishContext
    Use --enable-stdcall-fixup to disable these warnings
    Use --disable-stdcall-fixup to disable these fixups
    Warning: resolving [email protected] by linking to _SCardListReadersA
    Warning: resolving [email protected] by linking to _SCardTransmit
    Warning: resolving [email protected] by linking to _SCardReconnect
    Warning: resolving [email protected] by linking to _SCardStatusA
    Warning: resolving [email protected] by linking to _SCardConnectA
    Warning: resolving [email protected] by linking to _SCardDisconnect
    Warning: resolving [email protected] by linking to _SCardReleaseContext
    [ 98%] Built target oscam
    Scanning dependencies of target list_smargo
    [100%] Building C object utils/CMakeFiles/list_smargo.dir/list_smargo.o
    Linking C executable list_smargo.exe
    [100%] Built target list_smargo
    ponturi:
    pt o compilare reusita, in oscam.c cautati functia "restart_daemon" si comentati urmatoarele linii:

    din:
    if (cs_restart_mode==2 && WIFSIGNALED(status) && WTERMSIG(status)==SIGSEGV)
    status=99; //restart on segfault!
    else
    status = WEXITSTATUS(status);

    in:
    // if (cs_restart_mode==2 && WIFSIGNALED(status) && WTERMSIG(status)==SIGSEGV)
    // status=99; //restart on segfault!
    // else
    // status = WEXITSTATUS(status);

    pentru a nu aparea avertismentele:
    Code:
    Warning: resolving [email protected] by linking to _SCardEstablishContext
    Warning: resolving [email protected] by linking to _SCardListReadersA
    Warning: resolving [email protected] by linking to _SCardTransmit
    Warning: resolving [email protected] by linking to _SCardReconnect
    Warning: resolving [email protected] by linking to _SCardStatusA
    Warning: resolving [email protected] by linking to _SCardConnectA
    Warning: resolving [email protected] by linking to _SCardDisconnect
    Warning: resolving [email protected] by linking to _SCardReleaseContext
    cautati in "CMakeLists.txt"
    linia:
    " set (CMAKE_EXE_LINKER_FLAGS "--enable-stdcall-fixup") "
    devine:
    " set (CMAKE_EXE_LINKER_FLAGS "-enable-stdcall-fixup") "

    daca doriti sa dezactivati/activati componente/module, cautati in "oscam-config.h" numele componentei/modulului, si comentati-l.
    ex: "#define WITH_DEBUG" = debug activat, "//#define WITH_DEBUG" = debug dezactivat

    succes.
    Cumpar/colectez Caut TT-connect S2-3600/Pinnacle PCTV Pro 452e

    Vand

  2. #2
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,529
    Posts Thanks / Likes

    Default

    Quote Originally Posted by Un_Q_ View Post
    I - instalare cygwin
    - download cygwin setup http://cygwin.com/setup.exe
    - dubluclick setup.exe, "Install from internet".
    alegeti un director, de preferat in radacina partitiei (ex: F:\cygwin).
    alegeti un director local pentru salvare componente ce vor fi instalate in directorul cygwin.
    specificati tipul de conectare la net, "Direct connection".
    alegeti una din sursele de download.
    selectati ramura "Devel".
    selectati urmatoarele aplicatii/biblioteci:
    -cmake
    -gcc4-core
    -gcc4-g++
    -libusb1.0
    -libusb1.0-devel
    -make
    -openssl-devel
    -subversion
    Nota: setup-ul va selecta celelalte componente necesare pentru compilare.

    II - Download fisiere sursa & compilare oscam.
    dubluclick pe shortcut "Cygwin Terminal" aflat pe desktop.
    introduceti comanda fara ghilimele: "svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn"
    daca doriti o anumita revizie introduceti : "svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-xxxx -rxxxx" unde xxxx reprezinta nr reviziei.
    schimbati directorul : cd oscam-svn
    creati directorul "build" cu comanda : mkdir build
    intrati in directorul "build": cd build
    se porneste cmake.exe cu comanda : cmake ..
    dupa ce termina cmake, se executa make cu comanda : make
    daca totul este in regula va in cepe compilarea iar oscam.exe va fi salvat in directorul build.
    calea catre directorul build este urmatoarea: x:\cygwin\home\nume utilizator\oscam-svn\build
    x=litera partitiei
    nume utilizator = numele utilizatorului logat

    Code:
    [email protected] ~
    $ svn co http://streamboard.tv/svn/oscam/trunk oscam-svn
    
    A    oscam-svn/module-cccam.h
    A    oscam-svn/Distribution
    A    oscam-svn/Distribution/doc
    A    oscam-svn/Distribution/doc/txt
    A    oscam-svn/Distribution/doc/txt/oscam.cacheex.txt
    A    oscam-svn/Distribution/doc/txt/oscam.txt
    A    oscam-svn/Distribution/doc/txt/oscam.provid.txt
    A    oscam-svn/Distribution/doc/txt/oscam.dvbapi.txt
    A    oscam-svn/Distribution/doc/txt/oscam.server.txt
    A    oscam-svn/Distribution/doc/txt/oscam.whitelist.txt
    A    oscam-svn/Distribution/doc/txt/oscam.ird.txt
    A    oscam-svn/Distribution/doc/txt/oscam.user.txt
    A    oscam-svn/Distribution/doc/txt/list_smargo.txt
    A    oscam-svn/Distribution/doc/txt/oscam.ac.txt
    A    oscam-svn/Distribution/doc/txt/oscam.services.txt
    A    oscam-svn/Distribution/doc/txt/oscam.conf.txt
    A    oscam-svn/Distribution/doc/txt/oscam.guess.txt
    A    oscam-svn/Distribution/doc/txt/oscam.tiers.txt
    A    oscam-svn/Distribution/doc/txt/oscam.srvid.txt
    A    oscam-svn/Distribution/doc/txt/oscam.cert.txt
    A    oscam-svn/Distribution/doc/html
    A    oscam-svn/Distribution/doc/html/oscam.whitelist.5.html
    A    oscam-svn/Distribution/doc/html/list_smargo.1.html
    A    oscam-svn/Distribution/doc/html/oscam.ird.5.html
    A    oscam-svn/Distribution/doc/html/oscam.user.5.html
    A    oscam-svn/Distribution/doc/html/oscam.ac.5.html
    A    oscam-svn/Distribution/doc/html/oscam.services.5.html
    A    oscam-svn/Distribution/doc/html/oscam.conf.5.html
    A    oscam-svn/Distribution/doc/html/oscam.guess.5.html
    A    oscam-svn/Distribution/doc/html/oscam.tiers.5.html
    A    oscam-svn/Distribution/doc/html/oscam.srvid.5.html
    A    oscam-svn/Distribution/doc/html/oscam.1.html
    A    oscam-svn/Distribution/doc/html/oscam.cert.5.html
    A    oscam-svn/Distribution/doc/html/oscam.cacheex.5.html
    A    oscam-svn/Distribution/doc/html/oscam.provid.5.html
    A    oscam-svn/Distribution/doc/html/oscam.dvbapi.5.html
    A    oscam-svn/Distribution/doc/html/oscam.server.5.html
    A    oscam-svn/Distribution/doc/example
    A    oscam-svn/Distribution/doc/example/oscam.ird
    A    oscam-svn/Distribution/doc/example/oscam.user
    A    oscam-svn/Distribution/doc/example/oscam.cacheex
    A    oscam-svn/Distribution/doc/example/oscam.ac
    A    oscam-svn/Distribution/doc/example/oscam.provid
    A    oscam-svn/Distribution/doc/example/oscam.services
    A    oscam-svn/Distribution/doc/example/oscam.conf
    A    oscam-svn/Distribution/doc/example/oscam.dvbapi
    A    oscam-svn/Distribution/doc/example/oscam.guess
    A    oscam-svn/Distribution/doc/example/oscam.server
    A    oscam-svn/Distribution/doc/example/oscam.tiers
    A    oscam-svn/Distribution/doc/example/oscam.srvid
    A    oscam-svn/Distribution/doc/example/oscam.whitelist
    A    oscam-svn/Distribution/doc/example/oscam.cert
    A    oscam-svn/Distribution/doc/man
    A    oscam-svn/Distribution/doc/man/oscam.whitelist.5
    A    oscam-svn/Distribution/doc/man/list_smargo.1
    A    oscam-svn/Distribution/doc/man/oscam.ird.5
    A    oscam-svn/Distribution/doc/man/oscam.user.5
    A    oscam-svn/Distribution/doc/man/oscam.ac.5
    A    oscam-svn/Distribution/doc/man/oscam.services.5
    A    oscam-svn/Distribution/doc/man/oscam.conf.5
    A    oscam-svn/Distribution/doc/man/oscam.guess.5
    A    oscam-svn/Distribution/doc/man/oscam.tiers.5
    A    oscam-svn/Distribution/doc/man/oscam.srvid.5
    A    oscam-svn/Distribution/doc/man/oscam.1
    A    oscam-svn/Distribution/doc/man/oscam.cert.5
    A    oscam-svn/Distribution/doc/man/oscam.cacheex.5
    A    oscam-svn/Distribution/doc/man/oscam.provid.5
    A    oscam-svn/Distribution/doc/man/oscam.dvbapi.5
    A    oscam-svn/Distribution/doc/man/oscam.server.5
    A    oscam-svn/Distribution/monitor
    A    oscam-svn/Distribution/monitor/mpcsmon-src-0.6.tar.bz2
    A    oscam-svn/Distribution/monitor/mpcsmon.sh
    A    oscam-svn/module-camd35.c
    A    oscam-svn/openxcas
    A    oscam-svn/openxcas/openxcas_api.h
    A    oscam-svn/openxcas/libOpenXCASAPI.a
    A    oscam-svn/openxcas/openxcas.conf
    A    oscam-svn/openxcas/openxcas_smartcard.h
    A    oscam-svn/openxcas/openxcas_message.h
    A    oscam-svn/reader-viaccess.c
    A    oscam-svn/reader-cryptoworks.c
    A    oscam-svn/module-dvbapi-stapi.c
    A    oscam-svn/README.build
    A    oscam-svn/module-dvbapi-stapi.h
    A    oscam-svn/reader-videoguard-common.c
    A    oscam-svn/module-webif.c
    A    oscam-svn/oscam-log.c
    A    oscam-svn/toolchains
    A    oscam-svn/toolchains/toolchain-arm-dockstar-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-mips-dir825.cmake
    A    oscam-svn/toolchains/toolchain-mipsel-tuxbox-broken-pthread.cmake
    A    oscam-svn/toolchains/toolchain-sh4-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-arm-coolstream.cmake
    A    oscam-svn/toolchains/toolchain-arm-friendlyarm.cmake
    A    oscam-svn/toolchains/toolchain-mips-azbox.cmake
    A    oscam-svn/toolchains/toolchain-tripledragon.cmake
    A    oscam-svn/toolchains/toolchain-mips-agv2_w.cmake
    A    oscam-svn/toolchains/toolchain-sh4-amino.cmake
    A    oscam-svn/toolchains/toolchain-mips-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-sparc-padre.cmake
    A    oscam-svn/toolchains/toolchain-mips-fonera2.cmake
    A    oscam-svn/toolchains/toolchain-mips-wrt54g.cmake
    A    oscam-svn/toolchains/toolchain-sh4-tuxbox-stapi.cmake
    A    oscam-svn/toolchains/toolchain-arm-wrt350nv2-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-powerpc-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-arm-nslu2-unslung.cmake
    A    oscam-svn/toolchains/toolchain-arm-nslu2-openwrt.cmake
    A    oscam-svn/toolchains/toolchain-arm-none.cmake
    A    oscam-svn/toolchains/toolchain-mipsel-tuxbox.cmake
    A    oscam-svn/toolchains/toolchain-sh4-qboxhd.cmake
    A    oscam-svn/module-gbox.c
    A    oscam-svn/reader-videoguard-common.h
    A    oscam-svn/module-webif.h
    A    oscam-svn/COPYING
    A    oscam-svn/module-dvbapi.c
    A    oscam-svn/oscam-conf-mk.c
    A    oscam-svn/Makefile
    A    oscam-svn/module-dvbapi.h
    A    oscam-svn/oscam.c
    A    oscam-svn/module-serial.c
    A    oscam-svn/reader-tongfang.c
    A    oscam-svn/oscam-config.c
    A    oscam-svn/cscrypt
    A    oscam-svn/cscrypt/bn_lcl.h
    A    oscam-svn/cscrypt/bn_asm.c
    A    oscam-svn/cscrypt/rc6.h
    A    oscam-svn/cscrypt/idea_lcl.h
    A    oscam-svn/cscrypt/i_ecb.c
    A    oscam-svn/cscrypt/bn_div.c
    A    oscam-svn/cscrypt/sha1.h
    A    oscam-svn/cscrypt/bn_add.c
    A    oscam-svn/cscrypt/bn_print.c
    A    oscam-svn/cscrypt/crc32.c
    A    oscam-svn/cscrypt/bn_mul.c
    A    oscam-svn/cscrypt/bn_sqr.c
    A    oscam-svn/cscrypt/md5.c
    A    oscam-svn/cscrypt/md5.h
    A    oscam-svn/cscrypt/bn_word.c
    A    oscam-svn/cscrypt/Makefile
    A    oscam-svn/cscrypt/CMakeLists.txt
    A    oscam-svn/cscrypt/i_cbc.c
    A    oscam-svn/cscrypt/bn.h
    A    oscam-svn/cscrypt/idea.h
    A    oscam-svn/cscrypt/aes.c
    A    oscam-svn/cscrypt/openssl_mods.h
    A    oscam-svn/cscrypt/bn_exp.c
    A    oscam-svn/cscrypt/des.c
    A    oscam-svn/cscrypt/bn_ctx.c
    A    oscam-svn/cscrypt/aes.h
    A    oscam-svn/cscrypt/buffer.h
    A    oscam-svn/cscrypt/mem.c
    A    oscam-svn/cscrypt/des.h
    A    oscam-svn/cscrypt/i_skey.c
    A    oscam-svn/cscrypt/bn_lib.c
    A    oscam-svn/cscrypt/rc6.c
    A    oscam-svn/cscrypt/cscrypt.h
    A    oscam-svn/cscrypt/bn_shift.c
    A    oscam-svn/cscrypt/sha1.c
    A    oscam-svn/reader-conax.c
    A    oscam-svn/module-dvbapi-azbox.c
    A    oscam-svn/oscam-config.h
    A    oscam-svn/reader-videoguard1.c
    A    oscam-svn/global-functions.h
    A    oscam-svn/oscam-simples.c
    A    oscam-svn/module-radegast.c
    A    oscam-svn/module-dvbapi-azbox.h
    A    oscam-svn/oscam-conf.c
    A    oscam-svn/reader-******.c
    A    oscam-svn/oscam-llist.c
    A    oscam-svn/reader-nagra.c
    A    oscam-svn/reader-common.c
    A    oscam-svn/oscam-garbage.c
    A    oscam-svn/oscam-conf.h
    A    oscam-svn/reader-videoguard12.c
    A    oscam-svn/oscam-llist.h
    A    oscam-svn/reader-common.h
    A    oscam-svn/module-newcamd.c
    A    oscam-svn/reader-bulcrypt.c
    A    oscam-svn/csctapi
    A    oscam-svn/csctapi/ifd_smartreader.h
    A    oscam-svn/csctapi/ifd_phoenix.h
    A    oscam-svn/csctapi/smartreader_types.h
    A    oscam-svn/csctapi/sci_global.h
    A    oscam-svn/csctapi/ifd_azbox.c
    A    oscam-svn/csctapi/ifd_mp35.c
    A    oscam-svn/csctapi/ifd_azbox.h
    A    oscam-svn/csctapi/ifd_pcsc.c
    A    oscam-svn/csctapi/ifd_mp35.h
    A    oscam-svn/csctapi/ifd_pcsc.h
    A    oscam-svn/csctapi/defines.h
    A    oscam-svn/csctapi/atr.c
    A    oscam-svn/csctapi/atr.h
    A    oscam-svn/csctapi/icc_async.c
    A    oscam-svn/csctapi/CMakeLists.txt
    A    oscam-svn/csctapi/Makefile
    A    oscam-svn/csctapi/t1_block.c
    A    oscam-svn/csctapi/icc_async.h
    A    oscam-svn/csctapi/ifd_sci.c
    A    oscam-svn/csctapi/ifd_stapi.c
    A    oscam-svn/csctapi/t1_block.h
    A    oscam-svn/csctapi/protocol_t0.c
    A    oscam-svn/csctapi/ifd_sci.h
    A    oscam-svn/csctapi/protocol_t1.c
    A    oscam-svn/csctapi/io_serial.c
    A    oscam-svn/csctapi/ifd_stapi.h
    A    oscam-svn/csctapi/protocol_t0.h
    A    oscam-svn/csctapi/ifd_smargo.c
    A    oscam-svn/csctapi/io_serial.h
    A    oscam-svn/csctapi/sci_ioctl.h
    A    oscam-svn/csctapi/ifd_cool.c
    A    oscam-svn/csctapi/ifd_cool.h
    A    oscam-svn/csctapi/mc_global.h
    A    oscam-svn/csctapi/ifd_sc8in1.c
    A    oscam-svn/csctapi/ifd_smartreader.c
    A    oscam-svn/csctapi/ifd_sc8in1.h
    A    oscam-svn/csctapi/ifd_phoenix.c
    A    oscam-svn/module-pandora.c
    A    oscam-svn/module-anticasc.c
    A    oscam-svn/reader-dre.c
    A    oscam-svn/module-lcd.c
    A    oscam-svn/oscam-config-funcs.h
    A    oscam-svn/coolapi.h
    A    oscam-svn/CMakeLists.txt
    A    oscam-svn/config.sh
    A    oscam-svn/module-cccshare.c
    A    oscam-svn/module-stat.c
    A    oscam-svn/algo
    A    oscam-svn/algo/lzoconf.h
    A    oscam-svn/algo/minilzo.c
    A    oscam-svn/algo/minilzo.h
    A    oscam-svn/algo/CMakeLists.txt
    A    oscam-svn/algo/Makefile
    A    oscam-svn/oscam-reader.c
    A    oscam-svn/module-constcw.c
    A    oscam-svn/module-cccshare.h
    A    oscam-svn/oscam-chk.c
    A    oscam-svn/module-csp.c
    A    oscam-svn/oscam-types.h
    A    oscam-svn/module-monitor.c
    A    oscam-svn/reader-seca.c
    A    oscam-svn/reader-videoguard2.c
    A    oscam-svn/module-webif-pages.c
    A    oscam-svn/README
    A    oscam-svn/module-dvbapi-coolapi.c
    A    oscam-svn/Makefile.extra
    A    oscam-svn/cygwin
    A    oscam-svn/cygwin/WinSCard.h
    A    oscam-svn/cygwin/SCardErr.h
    A    oscam-svn/cygwin/WinSmCrd.h
    A    oscam-svn/utils
    A    oscam-svn/utils/list_smargo.c
    A    oscam-svn/utils/CMakeLists.txt
    A    oscam-svn/module-dvbapi-coolapi.h
    A    oscam-svn/module-webif-lib.c
    A    oscam-svn/.gitignore
    A    oscam-svn/oscam-conf-chk.c
    A    oscam-svn/globals.h
    A    oscam-svn/module-cccam.c
    A    oscam-svn/oscam-conf-chk.h
    A    oscam-svn/module-camd33.c
     U   oscam-svn
    Checked out revision 7436.
    Code:
    [email protected] ~/oscam-svn/build
    $ cmake ..
    -- The C compiler identification is GNU 4.5.3
    CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
      CMake no longer defines WIN32 on Cygwin!
    
      (1) If you are just trying to build this project, ignore this warning or
      quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
      the CMake cache.  If later configuration or build errors occur then this
      project may have been written under the assumption that Cygwin is WIN32.
      In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
    
      (2) If you are developing this project, add the line
    
        set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
    
      at the top of your top-level CMakeLists.txt file or set the minimum
      required version of CMake to 2.8.4 or higher.  Then teach your project to
      build on Cygwin without WIN32.
    Call Stack (most recent call first):
      /usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
      CMakeLists.txt:1 (project)
    
    
    -- Check for working C compiler: /usr/bin/gcc.exe
    -- Check for working C compiler: /usr/bin/gcc.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    --   pthread found. Adding pthread support
    -- Looking for openssl/aes.h
    -- Looking for openssl/aes.h - found
    --   openssl found.
    -- Looking for time.h
    -- Looking for time.h - found
    --   librt found (needed by libusb).
    -- Looking for libusb-1.0/libusb.h
    -- Looking for libusb-1.0/libusb.h - found
    --   static libusb 1.0 found (/usr/lib/libusb-1.0.a). Adding smartreader support
    -- Looking for PCSC/wintypes.h
    -- Looking for PCSC/wintypes.h - found
    --   PCSC headers found (/usr/include/PCSC). Adding PCSC support
    -- The CXX compiler identification is GNU 4.5.3
    -- Check for working CXX compiler: /usr/bin/c++.exe
    -- Check for working CXX compiler: /usr/bin/c++.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    --   librt found (needed by libusb).
    -- Utils: pthread found. Adding pthread support
    -- Utils: static libusb 1.0 found : /usr/lib/libusb-1.0.a . Adding smartreader support
    -- Utils: operating system: Windows/Cygwin
    -- Utils: target system: i686-pc-cygwin
    
    -- Utils: use system static libusb
    --
    -- Windows system PCSC : winscard.dll
    --
    --   operating system: Windows/Cygwin
    --   target system: i686-pc-cygwin
    --   revision: 7200
    --   use libcrypto functions
    --   use system pcsc functions
    --   use system pthread functions
    --   use system libusb functions
    --
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/Administrator/oscam-svn/build
    Code:
    [email protected] ~/oscam-svn/build
    $ make
    Scanning dependencies of target csmodules
    [  1%] Building C object CMakeFiles/csmodules.dir/module-anticasc.o
    [  2%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
    [  3%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
    [  4%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
    [  5%] Building C object CMakeFiles/csmodules.dir/module-cccshare.o
    [  6%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
    [  8%] Building C object CMakeFiles/csmodules.dir/module-csp.o
    [  9%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-azbox.o
    [ 10%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi.o
    [ 11%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi.o
    [ 12%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
    [ 13%] Building C object CMakeFiles/csmodules.dir/module-gbox.o
    [ 15%] Building C object CMakeFiles/csmodules.dir/module-lcd.o
    [ 16%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
    [ 17%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
    [ 18%] Building C object CMakeFiles/csmodules.dir/module-pandora.o
    [ 19%] Building C object CMakeFiles/csmodules.dir/module-radegast.o
    [ 20%] Building C object CMakeFiles/csmodules.dir/module-serial.o
    [ 22%] Building C object CMakeFiles/csmodules.dir/module-stat.o
    [ 23%] Building C object CMakeFiles/csmodules.dir/module-webif-lib.o
    /home/Administrator/oscam-svn/module-webif-lib.c: In function ‘urlencode’:
    /home/Administrator/oscam-svn/module-webif-lib.c:842:3: warning: array subscript has type ‘char’
    [ 24%] Building C object CMakeFiles/csmodules.dir/module-webif-pages.o
    [ 25%] Building C object CMakeFiles/csmodules.dir/module-webif.o
    Linking C static library libcsmodules.a
    [ 25%] Built target csmodules
    Scanning dependencies of target svnversion-log
    [ 25%] Built target svnversion-log
    Scanning dependencies of target csoscam
    [ 26%] Building C object CMakeFiles/csoscam.dir/oscam-chk.o
    [ 27%] Building C object CMakeFiles/csoscam.dir/oscam-conf-chk.o
    [ 29%] Building C object CMakeFiles/csoscam.dir/oscam-conf-mk.o
    [ 30%] Building C object CMakeFiles/csoscam.dir/oscam-conf.o
    [ 31%] Building C object CMakeFiles/csoscam.dir/oscam-config.o
    [ 32%] Building C object CMakeFiles/csoscam.dir/oscam-garbage.o
    [ 33%] Building C object CMakeFiles/csoscam.dir/oscam-llist.o
    [ 34%] Building C object CMakeFiles/csoscam.dir/oscam-log.o
    [ 36%] Building C object CMakeFiles/csoscam.dir/oscam-reader.o
    [ 37%] Building C object CMakeFiles/csoscam.dir/oscam-simples.o
    /home/Administrator/oscam-svn/oscam-simples.c: In function ‘cs_strnicmp’:
    /home/Administrator/oscam-svn/oscam-simples.c:988:3: warning: array subscript has type ‘char’
    /home/Administrator/oscam-svn/oscam-simples.c:988:3: warning: array subscript has type ‘char’
    Linking C static library libcsoscam.a
    [ 37%] Built target csoscam
    Scanning dependencies of target csreaders
    [ 38%] Building C object CMakeFiles/csreaders.dir/reader-bulcrypt.o
    /home/Administrator/oscam-svn/reader-bulcrypt.c: In function ‘bulcrypt_card_init’:
    /home/Administrator/oscam-svn/reader-bulcrypt.c:226:3: warning: array subscript has type ‘char’
    [ 39%] Building C object CMakeFiles/csreaders.dir/reader-common.o
    [ 40%] Building C object CMakeFiles/csreaders.dir/reader-conax.o
    [ 41%] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.o
    [ 43%] Building C object CMakeFiles/csreaders.dir/reader-dre.o
    [ 44%] Building C object CMakeFiles/csreaders.dir/reader-******.o
    [ 45%] Building C object CMakeFiles/csreaders.dir/reader-nagra.o
    [ 46%] Building C object CMakeFiles/csreaders.dir/reader-seca.o
    [ 47%] Building C object CMakeFiles/csreaders.dir/reader-tongfang.o
    [ 48%] Building C object CMakeFiles/csreaders.dir/reader-viaccess.o
    [ 50%] Building C object CMakeFiles/csreaders.dir/reader-videoguard-common.o
    [ 51%] Building C object CMakeFiles/csreaders.dir/reader-videoguard1.o
    [ 52%] Building C object CMakeFiles/csreaders.dir/reader-videoguard12.o
    [ 53%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o
    Linking C static library libcsreaders.a
    [ 53%] Built target csreaders
    Scanning dependencies of target cscrypt
    [ 54%] Building C object cscrypt/CMakeFiles/cscrypt.dir/aes.o
    [ 55%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
    [ 56%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
    [ 58%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
    [ 59%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
    [ 60%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
    [ 61%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
    [ 62%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
    [ 63%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
    [ 65%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
    [ 66%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
    [ 67%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
    [ 68%] Building C object cscrypt/CMakeFiles/cscrypt.dir/crc32.o
    [ 69%] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.o
    [ 70%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
    [ 72%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_ecb.o
    [ 73%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
    [ 74%] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.o
    [ 75%] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.o
    [ 76%] Building C object cscrypt/CMakeFiles/cscrypt.dir/rc6.o
    [ 77%] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha1.o
    Linking C static library libcscrypt.a
    [ 77%] Built target cscrypt
    Scanning dependencies of target csctapi
    [ 79%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
    [ 80%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
    [ 81%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
    [ 82%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
    [ 83%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
    [ 84%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
    [ 86%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
    [ 87%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
    [ 88%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
    /home/Administrator/oscam-svn/csctapi/ifd_sci.c:23:0: warning: "ERROR" redefined
    /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/wingdi.h:313:0: note: this is the location of the previous definition
    [ 89%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
    [ 90%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
    [ 91%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stapi.o
    [ 93%] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.o
    [ 94%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
    [ 95%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
    [ 96%] Building C object csctapi/CMakeFiles/csctapi.dir/t1_block.o
    Linking C static library libcsctapi.a
    [ 96%] Built target csctapi
    Scanning dependencies of target svnversion
    [ 96%] Built target svnversion
    Scanning dependencies of target algo
    [ 97%] Building C object algo/CMakeFiles/algo.dir/minilzo.o
    Linking C static library libalgo.a
    [ 97%] Built target algo
    Scanning dependencies of target oscam
    [ 98%] Building C object CMakeFiles/oscam.dir/oscam.o
    Linking C executable oscam.exe
    Warning: resolving [email protected] by linking to _SCardEstablishContext
    Use --enable-stdcall-fixup to disable these warnings
    Use --disable-stdcall-fixup to disable these fixups
    Warning: resolving [email protected] by linking to _SCardListReadersA
    Warning: resolving [email protected] by linking to _SCardTransmit
    Warning: resolving [email protected] by linking to _SCardReconnect
    Warning: resolving [email protected] by linking to _SCardStatusA
    Warning: resolving [email protected] by linking to _SCardConnectA
    Warning: resolving [email protected] by linking to _SCardDisconnect
    Warning: resolving [email protected] by linking to _SCardReleaseContext
    [ 98%] Built target oscam
    Scanning dependencies of target list_smargo
    [100%] Building C object utils/CMakeFiles/list_smargo.dir/list_smargo.o
    Linking C executable list_smargo.exe
    [100%] Built target list_smargo
    ponturi:
    pt o compilare reusita, in oscam.c cautati functia "restart_daemon" si comentati urmatoarele linii:

    din:
    if (cs_restart_mode==2 && WIFSIGNALED(status) && WTERMSIG(status)==SIGSEGV)
    status=99; //restart on segfault!
    else
    status = WEXITSTATUS(status);

    in:
    // if (cs_restart_mode==2 && WIFSIGNALED(status) && WTERMSIG(status)==SIGSEGV)
    // status=99; //restart on segfault!
    // else
    // status = WEXITSTATUS(status);

    pentru a nu aparea avertismentele:
    Code:
    Warning: resolving [email protected] by linking to _SCardEstablishContext
    Warning: resolving [email protected] by linking to _SCardListReadersA
    Warning: resolving [email protected] by linking to _SCardTransmit
    Warning: resolving [email protected] by linking to _SCardReconnect
    Warning: resolving [email protected] by linking to _SCardStatusA
    Warning: resolving [email protected] by linking to _SCardConnectA
    Warning: resolving [email protected] by linking to _SCardDisconnect
    Warning: resolving [email protected] by linking to _SCardReleaseContext
    cautati in "CMakeLists.txt"
    linia:
    " set (CMAKE_EXE_LINKER_FLAGS "--enable-stdcall-fixup") "
    devine:
    " set (CMAKE_EXE_LINKER_FLAGS "-enable-stdcall-fixup") "

    daca doriti sa dezactivati/activati componente/module, cautati in "oscam-config.h" numele componentei/modulului, si comentati-l.
    ex: "#define WITH_DEBUG" = debug activat, "//#define WITH_DEBUG" = debug dezactivat

    succes.
    De ce sa te chinui cu o gramada de editari cand poti face totul simplu executand ./config.sh -g, pentru asta insa trebuie instalat in prealabil "dialog" in cygwin.

  3. #3
    Complicated & Antisocial Mentor
    Join Date
    Jun 2008
    Posts
    792
    Posts Thanks / Likes

    Default

    Quote Originally Posted by ovidiumarius View Post
    De ce sa te chinui cu o gramada de editari cand poti face totul simplu executand ./config.sh -g, pentru asta insa trebuie instalat in prealabil "dialog" in cygwin.
    asta stiam, doar ca merge sub linux. pt cine vrea gui sub win, baga eclipse.
    Cumpar/colectez Caut TT-connect S2-3600/Pinnacle PCTV Pro 452e

    Vand

  4. #4
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,529
    Posts Thanks / Likes

    Default

    Quote Originally Posted by Un_Q_ View Post
    asta stiam, doar ca merge sub linux. pt cine vrea gui sub win, baga eclipse.
    Cygwin are dialog si merge foarte bine, folosesc/compilez oscam pe win de vreo 2 ani, asa ca stiu ce vorbesc.

  5. #5
    Complicated & Antisocial Mentor
    Join Date
    Jun 2008
    Posts
    792
    Posts Thanks / Likes

    Default

    pt mine nu e o problema, in anumite cazuri prefer linia de comanda. referitor la pachetul de dialog, l-am instalat, merge.
    vreau sa mentionez, din cate setup-uri de cygwin am instalat, in nici-unul nu am gasit pachetul "dialog" din acest motiv am presupus ca acest pachet este pt linux.

    De ce sa te chinui cu o gramada de editari...
    cred, in unele cazuri, ca inveti mai multe daca iti bati capul, decat daca merge din prima si il lasi asa.
    Cumpar/colectez Caut TT-connect S2-3600/Pinnacle PCTV Pro 452e

    Vand

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top