public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jens Krehbiel-Gräther" <linux-dvb@okg-computer.de>
To: linux-dvb <linux-dvb@linuxtv.org>
Subject: [linux-dvb] Problems compiling hacked szap.c
Date: Wed, 02 Apr 2008 15:54:54 +0200	[thread overview]
Message-ID: <47F3902E.6060002@okg-computer.de> (raw)
In-Reply-To: <4720EEC9.7040004@gmail.com>

Hi!

I have problems compiling szap.c for multiproto. I use kernel 2.6.24
I followed the instructions of Manu posted to the list a few months ago:

> Make sure you have the updated headers (frontend.h, version.h in your include path)
> (You need the same headers from the multiproto tree)
>
> wget http://abraham.manu.googlepages.com/szap.c
> copy lnb.c and lnb.h from dvb-apps to the same folder where you downloaded szap.c
>
> cc -c lnb.c
> cc -c szap.c
> cc -o szap szap.o lnb.o
>
> That's it
>
> Manu

but it won't work.

I get the following error:

dev:/usr/src/szap# cc -c szap.c
szap.c: In function ‘zap_to’:
szap.c:368: error: ‘struct dvbfe_info’ has no member named ‘delivery’
szap.c:372: error: ‘struct dvbfe_info’ has no member named ‘delivery’
szap.c:376: error: ‘struct dvbfe_info’ has no member named ‘delivery’
szap.c:401: error: ‘struct dvbfe_info’ has no member named ‘delivery’
szap.c:412: error: ‘struct dvbfe_info’ has no member named ‘delivery’
dev:/usr/src/szap#

lnb.c compiles without error.

I have compiled szap under older kernel without error, but when I use 
this compiled szap now (under 2.6.24) I get the following error:

dev:~# szap ProSieben
reading channels from file '/root/.szap/channels.conf'
zapping to 208 'ProSieben':
sat 0, frequency = 12544 MHz H, symbolrate 22000000, vpid = 0x01ff, apid 
= 0x0200 sid = 0x445d
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ioctl DVBFE_GET_INFO failed: Operation not supported
dev:~#

I've successfully compiled multiproto drivers with the compat.h patch 
für 2.6.24 kernel. The modules load without errors, but I can not szap 
to any channel.

Can you help me??

Thanks,
  Jens

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

       reply	other threads:[~2008-04-02 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <JQH8LK$96D0E7F415C0B19866A44914B01BB54A@libero.it>
     [not found] ` <4720EEC9.7040004@gmail.com>
2008-04-02 13:54   ` Jens Krehbiel-Gräther [this message]
2008-04-02 17:31     ` [linux-dvb] Problems compiling hacked szap.c Faruk A
2008-04-02 18:52     ` jlacvdr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F3902E.6060002@okg-computer.de \
    --to=linux-dvb@okg-computer.de \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox