NessieDVB::Forum

... talks ...

Arch PKGBUILD for the vtunerc kernel module and the client

virtual tuner mode

The mode is destined for users of HD models of Dreambox and also for all who are using Linux as mediacenter (included really big group of VDR fans).

Arch PKGBUILD for the vtunerc kernel module and the client

Postby __jata__ » Sat Dec 10, 2011 12:54 am

Enclosed you find not too nice PKGBUILD for the vtunerc kernel module and the client... Arch is not the distro of mine, so take it with a grain of a salt.
But it seems be working and perhaps it could help :)
Attachments
PKGBUILD.bz2
If something is stupid, but it works, then it is not stupid...
(1.15 KiB) Downloaded 520 times
__jata__
 
Posts: 72
Joined: Thu Jun 02, 2011 5:05 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby DyL » Sat Dec 10, 2011 1:30 pm

It will help definetely. :)
DyL
 
Posts: 13
Joined: Thu Jun 02, 2011 9:04 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby __jata__ » Sun Dec 18, 2011 11:07 am

Slightly improved version - now it should generate udev rules as well.
Attachments
vtunerc.PKGBUILD.bz2
(1.23 KiB) Downloaded 549 times
__jata__
 
Posts: 72
Joined: Thu Jun 02, 2011 5:05 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby DyL » Fri Dec 30, 2011 10:29 am

Good job jata!!!. Very helpful stuff. Thanks buddy.
DyL
 
Posts: 13
Joined: Thu Jun 02, 2011 9:04 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby __jata__ » Wed Jan 25, 2012 11:41 pm

Nice to hear... but because the development goes quickly, it might produce some problems in future. Please, keep me inform, if something fails.
__jata__
 
Posts: 72
Joined: Thu Jun 02, 2011 5:05 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby DyL » Sat Mar 03, 2012 11:33 pm

I tried it on my new HTPC with i686 system.

Instalation failed:

==> Starting build...
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m64 -fPIC -DHAVE_DVB_API_VERSION=5 -c -o vtunerd-service.o ../../vtunerd-service.c
../../vtunerd-service.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
make: *** [vtunerd-service.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
DyL
 
Posts: 13
Joined: Thu Jun 02, 2011 9:04 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby __jata__ » Mon Mar 05, 2012 1:23 pm

Ufff... the problem is apparently here:
Code: Select all
 -m64

but I do not know why. And I cannot debug it, because I have no pure 32bit Arch available :( hmm... It works for me in the simulated environment (linux32 makepkg PKGBUILD):
Code: Select all
 ...
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -c -o vtunerd-service.o ../../vtunerd-service.c
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -c -o vtuner-network.o ../../vtuner-network.c
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -c -o vtuner-utils.o ../../vtuner-utils.c
In file included from /usr/include/string.h:642:0,
                 from ../../vtuner-utils.c:2:
In function ‘strncat’,
    inlined from ‘write_message’ at ../../vtuner-utils.c:31:12:
/usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
In function ‘strncat’,
    inlined from ‘append_message’ at ../../vtuner-utils.c:68:10:
/usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -c -o vtuner-dvb-3.o ../../vtuner-dvb-3.c
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -DBUILDVER="\"b6fa0d2b133b+/tip\"" -DMODFLAG=\"\" -o ../../dist/i686/vtunerc.i686 vtuner-network.o vtuner-utils.o ../../vtunerc.c -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lpthread -lrt
../../vtunerc.c: In function ‘main’:
../../vtunerc.c:663:18: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
../../vtunerc.c:664:17: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
../../vtunerc.c:760:16: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
../../vtunerc.c:777:19: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
gcc -march=x86-64 -mtune=native -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector -fexpensive-optimizations --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -m32 -DHAVE_DVB_API_VERSION=5   -DBUILDVER="\"b6fa0d2b133b+/tip\"" -DMODFLAG=\"\" -o ../../dist/i686/vtunerd.i686 vtuner-network.o vtunerd-service.o vtuner-dvb-3.o vtuner-utils.o ../../vtunerd.c -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lpthread -lrt
...
Skip the '-march=x86-64', this is because of 64bit Arch, but I DO have -m32 as the part of parameters, so why '-m64' for you?
__jata__
 
Posts: 72
Joined: Thu Jun 02, 2011 5:05 pm

Re: Arch PKGBUILD for the vtunerc kernel module and the clie

Postby DyL » Sat Mar 10, 2012 11:35 pm

I changed this line from
arch=('x86-64' 'i686')
to:
arch=('i686')

and it solved my problem on i686 arch system.
DyL
 
Posts: 13
Joined: Thu Jun 02, 2011 9:04 pm


Return to config:vtuner

Who is online

Users browsing this forum: No registered users and 1 guest

cron