public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Leitner <laserer@gmail.com>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] s2-liplianin - Source won't compile under Ubuntu 9.04 64bit (Kernel 2.6.28-11)
Date: Sat, 30 May 2009 11:42:02 +0200	[thread overview]
Message-ID: <4A20FF6A.2000505@gmail.com> (raw)

Dear linuxtv Community, following problem:

I'm owner of a Technotrend TT-connect S2 3650CI DVB-S2 USB Receiver for 
about 6 months. On my old system (Ubuntu 8.04.2 32bit), the tutorial on 
the linuxtv-wiki 
(http://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-connect_S2-3650_CI) 
worked perfectly for me. But on my new System (Ubuntu 9.04 64bit, Kernel 
2.6.28, complete fresh install, NO Upgrade!), I am unable to compile the 
source in the tutorial (S2API - Part). One Problem seems to be the so 
called dvbdev.c Source - file, which seems to distinguish by Precompiler 
between Kernel < 2.6.26 and Kernel >= 2.6.26. At this point, compilation 
aborts:

CC [M] /home/user/technotrend/s2-liplianin/v4l/dvbdev.o
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c: In function 
'dvb_register_device':
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:246: error: implicit 
declaration of function 'device_create_drvdata'
/home/user/technotrend/s2-liplianin/v4l/dvbdev.c:248: warning: 
assignment makes pointer from integer without a cast
make[3]: *** [/home/user/technotrend/s2-liplianin/v4l/dvbdev.o] Error 1
make[2]: *** [_module_/home/user/technotrend/s2-liplianin/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/home/user/technotrend/s2-liplianin/v4l'
make: *** [all] Fehler 2

If I remove this if-statement to compile only the source for the older 
kernel-versions, then compilation succeeds. But when I try to insert the 
kernel modules, it says:

insmod: error inserting 'dvb-usb-pctv452e.ko': -1 Unknown symbol in module

Maybe that this is just the result of my editing of the dvbdev.c - 
source - file, or this is an additional bug in the pctv452e source file.


Any suggestions how to solve this problem?


Kind regards



_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

                 reply	other threads:[~2009-05-30  9:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A20FF6A.2000505@gmail.com \
    --to=laserer@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    --cc=linux-media@vger.kernel.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