linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error compiling tw68-v2 module (module_param / linux3.2)
@ 2012-05-02 14:32 Teun
  2012-05-03 15:56 ` Domenico Andreoli
  0 siblings, 1 reply; 2+ messages in thread
From: Teun @ 2012-05-02 14:32 UTC (permalink / raw)
  To: linux-media

I'm having problems compiling the tw68-v2. I looked up the code from the 
error messages, but I don't know anything about making linux driver modules.
I can't find a lot about the module_param function, at least, not why 
this would be wrong.

Can anyone give any comment on this?

Thanks in advance!

Linux tkpc 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64 GNU/Linux

make -C /lib/modules/3.2.0-2-amd64/build M=/mnt/nfs/black/hw/tw68-v2 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-2-amd64'
CC [M] /mnt/nfs/black/hw/tw68-v2/tw68-video.o
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:42:27: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:43:31: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:44:24: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:45:28: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:46:29: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:47:33: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:48:35: error: expected ‘)’ before 
‘sizeof’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:49:25: error: expected ‘)’ before 
string constant


module_param(video_debug, int, 0644);
MODULE_PARM_DESC(video_debug, "enable debug messages [video]");
module_param(gbuffers, int, 0444);
MODULE_PARM_DESC(gbuffers, "number of capture buffers, range 2-32");
module_param(noninterlaced, int, 0644);
MODULE_PARM_DESC(noninterlaced, "capture non interlaced video");
module_param_string(secam, secam, sizeof(secam), 0644);
MODULE_PARM_DESC(secam, "force SECAM variant, either DK,L or Lc");


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error compiling tw68-v2 module (module_param / linux3.2)
  2012-05-02 14:32 Error compiling tw68-v2 module (module_param / linux3.2) Teun
@ 2012-05-03 15:56 ` Domenico Andreoli
  0 siblings, 0 replies; 2+ messages in thread
From: Domenico Andreoli @ 2012-05-03 15:56 UTC (permalink / raw)
  To: Teun; +Cc: linux-media

Hi,

On Wed, May 02, 2012 at 04:32:20PM +0200, Teun wrote:
> I'm having problems compiling the tw68-v2. I looked up the code from
> the error messages, but I don't know anything about making linux
> driver modules.
> I can't find a lot about the module_param function, at least, not
> why this would be wrong.
> 
> Can anyone give any comment on this?

yep, you are missing header linux/module.h. please pull again from gitorious.

> Thanks in advance!

no, thank you ;)

cheers,
Domenico

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-03 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-02 14:32 Error compiling tw68-v2 module (module_param / linux3.2) Teun
2012-05-03 15:56 ` Domenico Andreoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).