You are not logged in.

#1 2011-03-03 18:51:32

cdwijs
Member
Registered: 2010-04-24
Posts: 289

kaffeine-sc-plugin 0.4.0-1 fails to compile

Hi All,

I am trying to compile kaffeine-sc-plugin 0.4.0-1 from aur, but I get the error below.
http://aur.archlinux.org/packages.php?ID=46842

My versions:

cedric@laptop:~/download/kaffeine-sc-plugin$ uname -a
Linux laptop 2.6.37-ARCH #1 SMP PREEMPT Sat Jan 29 19:40:04 UTC 2011 i686 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux
cedric@laptop:~/download/kaffeine-sc-plugin$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.5-20110127/configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --enable-gold --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --with-cloog-include=/usr/include/cloog-ppl --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.2 20110127 (prerelease) (GCC)
 
 
cedric@laptop:~/download/kaffeine-sc-plugin$ makepkg
==> Making package: kaffeine-sc-plugin 0.4.0-1 (Thu Mar  3 19:50:01 CET 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading kaffeine-sc-plugin-0.4.0.tar.gz...
--2011-03-03 19:50:01--  http://kaffeine-sc-plugin.googlecode.com/files/kaffeine-sc-plugin-0.4.0.tar.gz
Resolving kaffeine-sc-plugin.googlecode.com... 209.85.149.82
Connecting to kaffeine-sc-plugin.googlecode.com|209.85.149.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 807580 (789K) [application/x-gzip]
Saving to: “kaffeine-sc-plugin-0.4.0.tar.gz.part”

100%[==================================================================================>] 807,580     1.03M/s   in 0.8s    

2011-03-03 19:50:02 (1.03 MB/s) - “kaffeine-sc-plugin-0.4.0.tar.gz.part” saved [807580/807580]

==> Validating source files with md5sums...
    kaffeine-sc-plugin-0.4.0.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting kaffeine-sc-plugin-0.4.0.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde/bin/kde-config
checking where to install... /opt/kde (as requested)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc is blacklisted... no
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wno-non-virtual-dtor... yes
checking whether g++ supports -fno-reorder-blocks... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking whether system headers can cope with -O2 -fno-inline... irrelevant
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking for PIE support... yes
checking if enabling -pie/fPIE support... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/lib, headers .
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
checking for moc... /opt/qt/bin/moc
checking for uic... /opt/qt/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /opt/kde/lib, headers /opt/kde/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /opt/kde/bin/dcopidl
checking for dcopidl2cpp... /opt/kde/bin/dcopidl2cpp
checking for meinproc... /opt/kde/bin/meinproc
checking for kconfig_compiler... /opt/kde/bin/kconfig_compiler
checking for dcopidlng... /opt/kde/bin/dcopidlng
checking for makekdewidgets... /opt/kde/bin/makekdewidgets
checking for xmllint... /usr/bin/xmllint
checking for Qt docs... NO
checking for dot... /usr/bin/dot
checking for doxygen... /usr/bin/doxygen
checking if src should be compiled... yes
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1239.
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/mgcam/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0'
Making all in src
make[2]: Entering directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src'
Making all in mgcam
make[3]: Entering directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src/mgcam'
if /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -O2 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -MT seca.lo -MD -MP -MF ".deps/seca.Tpo" -c -o seca.lo seca.c; \
    then mv -f ".deps/seca.Tpo" ".deps/seca.Plo"; else rm -f ".deps/seca.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -O2 -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -MT irdeto.lo -MD -MP -MF ".deps/irdeto.Tpo" -c -o irdeto.lo irdeto.c; \
    then mv -f ".deps/irdeto.Tpo" ".deps/irdeto.Plo"; else rm -f ".deps/irdeto.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT viaccess.lo -MD -MP -MF ".deps/viaccess.Tpo" -c -o viaccess.lo viaccess.cpp; \
    then mv -f ".deps/viaccess.Tpo" ".deps/viaccess.Plo"; else rm -f ".deps/viaccess.Tpo"; exit 1; fi
irdeto.c:85:6: warning: no previous prototype for 'rotate'
irdeto.c:111:6: warning: no previous prototype for 'decryptIrd'
irdeto.c:136:6: warning: no previous prototype for 'sessionKeyCrypt'
irdeto.c:147:5: warning: no previous prototype for 'signatureCheck'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT nagra.lo -MD -MP -MF ".deps/nagra.Tpo" -c -o nagra.lo nagra.cpp; \
    then mv -f ".deps/nagra.Tpo" ".deps/nagra.Plo"; else rm -f ".deps/nagra.Tpo"; exit 1; fi
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT crypto.lo -MD -MP -MF ".deps/crypto.Tpo" -c -o crypto.lo crypto.cpp; \
    then mv -f ".deps/crypto.Tpo" ".deps/crypto.Plo"; else rm -f ".deps/crypto.Tpo"; exit 1; fi
In file included from /opt/qt/include/qfile.h:43:0,
                 from viaccess.cpp:6:
/opt/qt/include/qstring.h: In member function 'char QChar::latin1() const':
/opt/qt/include/qstring.h:194:58: warning: conversion to 'char' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/opt/qt/include/qstring.h:219:57: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/opt/qt/include/qstring.h:220:69: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/opt/qt/include/qstring.h:264:61: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from crypto.h:31:0,
                 from viaccess.h:4,
                 from viaccess.cpp:11:
misc.h: At global scope:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
viaccess.cpp: In member function 'void cViaccess::Via2Mod(const unsigned char*, unsigned char*)':
viaccess.cpp:207:75: warning: conversion to 'unsigned char' from 'int' may alter its value
viaccess.cpp:216:75: warning: conversion to 'unsigned char' from 'int' may alter its value
viaccess.cpp: In member function 'bool cViaccess::Decrypt(const unsigned char*, unsigned char*, int, unsigned char*, unsigned char*, bool, int*)':
viaccess.cpp:330:57: warning: conversion to 'short int' from 'int' may alter its value
In file included from crypto.h:31:0,
                 from crypto.cpp:29:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o misc.lo misc.cpp; \
    then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f ".deps/misc.Tpo"; exit 1; fi
crypto.cpp: In constructor 'cDes::cDes(const unsigned char*, const unsigned char*)':
crypto.cpp:287:39: warning: conversion to 'unsigned char' from 'int' may alter its value
crypto.cpp:288:42: warning: conversion to 'unsigned char' from 'int' may alter its value
crypto.cpp: In member function 'void cDes::Permute(unsigned char*, const unsigned char*, int) const':
crypto.cpp:300:12: warning: conversion to 'unsigned char' from 'int' may alter its value
In file included from crypto.h:31:0,
                 from nagra.cpp:26:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
crypto.cpp: In member function 'void cAES::Decrypt(unsigned char*, int) const':
crypto.cpp:376:16: warning: suggest braces around empty body in an 'if' statement
nagra.cpp: In member function 'virtual void cNagra1::CreatePQ(const unsigned char*, BIGNUM*, BIGNUM*)':
nagra.cpp:155:20: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp:167:24: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp: In member function 'virtual void cNagra2::CreatePQ(const unsigned char*, BIGNUM*, BIGNUM*)':
nagra.cpp:197:17: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp:200:17: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp: In member function 'bool cNagra2::DecryptECM(const unsigned char*, unsigned char*, const unsigned char*, int, const unsigned char*, BIGNUM*)':
nagra.cpp:236:12: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp: In member function 'bool cNagra2::DecryptEMM(const unsigned char*, unsigned char*, const unsigned char*, int, const unsigned char*, BIGNUM*)':
nagra.cpp:272:12: warning: conversion to 'unsigned char' from 'int' may alter its value
nagra.cpp: In member function 'bool cNagra2::MECM(unsigned char, int, unsigned char*)':
nagra.cpp:334:56: warning: conversion to 'unsigned char' from 'int' may alter its value
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT cryptoworks.lo -MD -MP -MF ".deps/cryptoworks.Tpo" -c -o cryptoworks.lo cryptoworks.cpp; \
    then mv -f ".deps/cryptoworks.Tpo" ".deps/cryptoworks.Plo"; else rm -f ".deps/cryptoworks.Tpo"; exit 1; fi
In file included from misc.cpp:28:0:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
misc.cpp: In function 'void SetSctLen(unsigned char*, int)':
misc.cpp:35:22: warning: conversion to 'unsigned char' from 'int' may alter its value
misc.cpp:36:17: warning: conversion to 'unsigned char' from 'int' may alter its value
misc.cpp: In member function 'virtual int cProviderViaccess::Assemble(cAssembleData*)':
misc.cpp:388:22: warning: conversion to 'unsigned char' from 'int' may alter its value
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT st20.lo -MD -MP -MF ".deps/st20.Tpo" -c -o st20.lo st20.cpp; \
    then mv -f ".deps/st20.Tpo" ".deps/st20.Plo"; else rm -f ".deps/st20.Tpo"; exit 1; fi
In file included from crypto.h:31:0,
                 from cryptoworks.h:3,
                 from cryptoworks.cpp:1:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
cryptoworks.cpp: In member function 'void cCwDes::CwDes(unsigned char*, const unsigned char*, int) const':
cryptoworks.cpp:71:17: warning: dereferencing type-punned pointer will break strict-aliasing rules
cryptoworks.cpp: In member function 'void cCwDes::CwL2Des(unsigned char*, const unsigned char*, unsigned char) const':
cryptoworks.cpp:100:17: warning: dereferencing type-punned pointer will break strict-aliasing rules
cryptoworks.cpp: In member function 'void cCwDes::CwR2Des(unsigned char*, const unsigned char*, unsigned char) const':
cryptoworks.cpp:119:17: warning: dereferencing type-punned pointer will break strict-aliasing rules
cryptoworks.cpp: In member function 'void cCryptoworks::Signatura(const unsigned char*, int, const unsigned char*, unsigned char*)':
cryptoworks.cpp:161:31: warning: conversion to 'unsigned char' from 'int' may alter its value
cryptoworks.cpp:170:28: warning: conversion to 'unsigned char' from 'int' may alter its value
cryptoworks.cpp: In member function 'bool cCryptoworks::DecryptRSA(unsigned char*, int, unsigned char, const unsigned char*, BIGNUM*)':
cryptoworks.cpp:208:51: warning: conversion to 'unsigned char' from 'int' may alter its value
cryptoworks.cpp:211:34: warning: conversion to 'unsigned char' from 'int' may alter its value
In file included from st20.cpp:28:0:
misc.h:134:15: warning: unused parameter 'data'
misc.h:135:15: warning: unused parameter 'ad'
st20.cpp:239:6: warning: unused parameter 'op'
st20.cpp: In member function 'int cST20::Decode(int)':
st20.cpp:336:70: warning: conversion to 'unsigned char' from 'int' may alter its value
st20.cpp:348:86: warning: conversion to 'int' from 'long long unsigned int' may alter its value
st20.cpp:348:112: warning: conversion to 'int' from 'long long unsigned int' may alter its value
st20.cpp:350:89: warning: conversion to 'int' from 'long long unsigned int' may alter its value
st20.cpp:350:116: warning: conversion to 'int' from 'long long unsigned int' may alter its value
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,--hash-style=gnu -Wl,--as-needed -o libmgcam.la   seca.lo irdeto.lo viaccess.lo nagra.lo crypto.lo misc.lo cryptoworks.lo st20.lo  
make[3]: Leaving directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src/mgcam'
Making all in FFdecsa
make[3]: Entering directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src/FFdecsa'
g++ -O3 -fPIC -fexpensive-optimizations -funroll-loops -Wall -Winline -fomit-frame-pointer -c FFdecsa_test.c
grep -v DBG FFdecsa.c >tmp_autogenerated_stuff_FFdecsa.c
grep -v DBG stream.c >tmp_autogenerated_stuff_stream.c
g++ -O3 -fPIC -fexpensive-optimizations -funroll-loops -Wall -Winline -fomit-frame-pointer  -c tmp_autogenerated_stuff_FFdecsa.c -o FFdecsa.o
In file included from parallel_064_mmx.h:21:0,
                 from tmp_autogenerated_stuff_FFdecsa.c:71:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include/mmintrin.h:32:3: error: #error "MMX instruction set not enabled"
In file included from tmp_autogenerated_stuff_FFdecsa.c:71:0:
parallel_064_mmx.h:24:3: error: ‘__m64’ does not name a type
parallel_064_mmx.h: In function ‘group FF0()’:
parallel_064_mmx.h:32:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:32:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:32:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘group FF1()’:
parallel_064_mmx.h:38:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:38:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:38:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘group FFAND(group, group)’:
parallel_064_mmx.h:44:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:44:20: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:44:25: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:44:27: error: ‘_m_pand’ was not declared in this scope
parallel_064_mmx.h: In function ‘group FFOR(group, group)’:
parallel_064_mmx.h:50:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:50:19: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:50:24: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:50:26: error: ‘_m_por’ was not declared in this scope
parallel_064_mmx.h: In function ‘group FFXOR(group, group)’:
parallel_064_mmx.h:56:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:56:20: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:56:25: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:56:27: error: ‘_m_pxor’ was not declared in this scope
parallel_064_mmx.h: In function ‘group FFNOT(group)’:
parallel_064_mmx.h:62:7: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:62:20: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:62:29: error: ‘struct group’ has no member named ‘s1’
parallel_064_mmx.h:62:31: error: ‘_m_pxor’ was not declared in this scope
parallel_064_mmx.h: At global scope:
parallel_064_mmx.h:96:3: error: ‘__m64’ does not name a type
parallel_064_mmx.h: In function ‘batch B_FFAND(batch, batch)’:
parallel_064_mmx.h:104:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:104:20: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:104:25: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:104:27: error: ‘_m_pand’ was not declared in this scope
parallel_064_mmx.h: In function ‘batch B_FFOR(batch, batch)’:
parallel_064_mmx.h:110:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:110:19: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:110:24: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:110:26: error: ‘_m_por’ was not declared in this scope
parallel_064_mmx.h: In function ‘batch B_FFXOR(batch, batch)’:
parallel_064_mmx.h:116:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:116:20: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:116:25: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:116:27: error: ‘_m_pxor’ was not declared in this scope
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_29()’:
parallel_064_mmx.h:122:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:122:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:122:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_02()’:
parallel_064_mmx.h:127:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:127:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:127:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_04()’:
parallel_064_mmx.h:132:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:132:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:132:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_10()’:
parallel_064_mmx.h:137:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:137:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:137:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_40()’:
parallel_064_mmx.h:142:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:142:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:142:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFN_ALL_80()’:
parallel_064_mmx.h:147:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:147:11: error: ‘__m64’ was not declared in this scope
parallel_064_mmx.h:147:17: error: expected ‘;’ before numeric constant
parallel_064_mmx.h: In function ‘batch B_FFSH8L(batch, int)’:
parallel_064_mmx.h:153:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:153:22: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:153:26: error: ‘_m_psllqi’ was not declared in this scope
parallel_064_mmx.h: In function ‘batch B_FFSH8R(batch, int)’:
parallel_064_mmx.h:159:7: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:159:22: error: ‘struct batch’ has no member named ‘s1’
parallel_064_mmx.h:159:26: error: ‘_m_psrlqi’ was not declared in this scope
parallel_064_mmx.h: In function ‘void M_EMPTY()’:
parallel_064_mmx.h:164:12: error: ‘_m_empty’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c: In function ‘void block_decypher_group(batch*, unsigned char*, unsigned char*, int)’:
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: ‘ps1’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: ‘ps2’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:420:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:421:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:422:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:423:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:424:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c: In function ‘int decrypt_packets(unsigned char**)’:
tmp_autogenerated_stuff_FFdecsa.c:738:5: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:738:5: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:738:5: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:738:5: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:738:5: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: ‘ps1’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: ‘ps2’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:761:7: error: ‘_m_pxor’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:765:7: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:765:7: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:765:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:765:7: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:765:7: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:780:5: error: ‘__m64’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:780:5: error: ‘pd’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:780:5: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c:780:5: error: ‘ps’ was not declared in this scope
tmp_autogenerated_stuff_FFdecsa.c:780:5: error: expected primary-expression before ‘)’ token
tmp_autogenerated_stuff_FFdecsa.c: At global scope:
tmp_autogenerated_stuff_FFdecsa.c:98:13: warning: ‘void dump_mem(unsigned char*, unsigned char*, int, int)’ defined but not used
make[3]: *** [FFdecsa.o] Error 1
make[3]: Leaving directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src/FFdecsa'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/home/cedric/download/kaffeine-sc-plugin/src/kaffeine-sc-plugin-0.4.0'
make: *** [all] Error 2
    Aborting...
cedric@laptop:~/download/kaffeine-sc-plugin$ 

Offline

#2 2011-04-15 18:02:51

qweqwe
Member
Registered: 2008-11-09
Posts: 2

Re: kaffeine-sc-plugin 0.4.0-1 fails to compile

The same.

Offline

#3 2011-06-12 17:10:32

patsp
Member
Registered: 2011-06-12
Posts: 1

Re: kaffeine-sc-plugin 0.4.0-1 fails to compile

Before compiling the architecture must be adjusted in the FFdecsa/Makefile (defaults to athlon-xp).

The readme file in the src directory provides more details.

Offline

Board footer

Powered by FluxBB