Linux Media Controller development
 help / color / mirror / Atom feed
* "error: redefinition of 'altera_init'" during build on Kernel 3.0.36+
@ 2014-07-27  6:47 Isaac Nickaein
  2014-07-27  7:53 ` Hans Verkuil
  0 siblings, 1 reply; 7+ messages in thread
From: Isaac Nickaein @ 2014-07-27  6:47 UTC (permalink / raw)
  To: linux-media

Hello,

I get the following error when I try to build the V4L2 on Kernel
3.0.36+ for ARM architecture:

/root/v4l2/media_build/v4l/altera.c:2417:5: error: redefinition of 'altera_init'
 int altera_init(struct altera_config *config, const struct firmware *fw)
     ^
In file included from /root/v4l2/media_build/v4l/altera.c:32:0:
/root/v4l2/media_build/v4l/../linux/include/misc/altera.h:41:19: note:
previous definition of 'altera_init' was here
 static inline int altera_init(struct altera_config *config,
                   ^


I checked the altera.h code and apparently, the IS_ENABLED macro is
not defined and causes this problem. I have prepared kernel source at
/lib/modules/3.0.36+/build/ and it builds successfully.

Can anyone help me on this issue?

Bests,
Isaac

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

end of thread, other threads:[~2014-07-27  9:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27  6:47 "error: redefinition of 'altera_init'" during build on Kernel 3.0.36+ Isaac Nickaein
2014-07-27  7:53 ` Hans Verkuil
2014-07-27  8:18   ` Isaac Nickaein
2014-07-27  8:26     ` Hans Verkuil
2014-07-27  8:42       ` Isaac Nickaein
2014-07-27  9:00         ` Hans Verkuil
2014-07-27  9:36           ` Isaac Nickaein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox