Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Sources 4.1.12 - V4L2 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thiagofanfoni
n00b
n00b


Joined: 03 May 2008
Posts: 13
Location: Brasil

PostPosted: Thu Nov 05, 2015 11:33 pm    Post subject: Gentoo Sources 4.1.12 - V4L2 [SOLVED] Reply with quote

Hi guys

I've just tried to update my laptop with the latest stable release of gentoo-sources (4.1.12) but the compilation is failing with V4L2.
This module is a dependency of uvc (needed for my webcam).

Code:

drivers/media/v4l2-core/videobuf2-core.c: In function ‘vb2_warn_zero_bytesused’:
drivers/media/v4l2-core/videobuf2-core.c:1248:2: error: implicit declaration of function ‘__WARN’ [-Werror=implicit-function-declaration]
  __WARN();
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target 'drivers/media/v4l2-core/videobuf2-core.o' failed
make[3]: *** [drivers/media/v4l2-core/videobuf2-core.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/media/v4l2-core' failed
make[2]: *** [drivers/media/v4l2-core] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/media' failed
make[1]: *** [drivers/media] Error 2
Makefile:947: recipe for target 'drivers' failed
make: *** [drivers] Error 2


Someone else is having this problem?

Cheers


Last edited by thiagofanfoni on Sun Nov 08, 2015 2:38 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Nov 06, 2015 8:56 am    Post subject: Reply with quote

a) try a newer kernel (4.2.x is longterm kernel org stable release anyway)
b) toolchain up to date?
c) lack of information => emerge --info

suggested a) (it does not hurt unmasking newer kernel=
c)
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1685
Location: 127.0.0.1

PostPosted: Fri Nov 06, 2015 2:45 pm    Post subject: Reply with quote

For the build error : https://lkml.org/lkml/2015/7/12/172
A patch was sent : https://lkml.org/lkml/2015/7/12/163
But I don't know if it was reviewed/accepted.

You should open a bug at b.g.o to track this, and, in the meanwhile, you should try to enable CONFIG_BUG in the kernel configuration.
Code:

$ zgrep CONFIG_BUG /proc/config.gz
CONFIG_BUG=y
Back to top
View user's profile Send private message
thiagofanfoni
n00b
n00b


Joined: 03 May 2008
Posts: 13
Location: Brasil

PostPosted: Sun Nov 08, 2015 2:45 am    Post subject: Reply with quote

Thanks guys, I've never had a problem with the gentoo-sources stable before.
I've upgraded to 4.2.5 and was able to build the kernel and the nvidia modules as well.

I'll open this bug, but what is b.g.o. ?

Thanks again :D
Back to top
View user's profile Send private message
TigerJr
Guru
Guru


Joined: 19 Jun 2007
Posts: 509
Location: /dev/x0

PostPosted: Sun Nov 08, 2015 7:38 am    Post subject: Reply with quote

tw04l124 wrote:
a) try a newer kernel (4.2.x is longterm kernel org stable release anyway)
b) toolchain up to date?
c) lack of information => emerge --info

suggested a) (it does not hurt unmasking newer kernel=
c)


Haha, new kernel - stable release!? And how did you know that? Tested on many peoples and many configurations?
And than hi confronted with BUG, than you advice them update to release candidate kernel?

p\S
What are differs us:
You are believe developers, but i'm already - NOT, cause:

one bug solved - two bugs new, two bugs solved - one bug new, new modules - new bugs, new kernel - new modules... and than all begins again!

So if you are didn't know what major\minor version number does and didn't reading changelog of kernel, don't give a people suicide advices.

trust but test and verify
_________________

Do not update portage without hotdog!

Xenogentooway?
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1685
Location: 127.0.0.1

PostPosted: Sun Nov 08, 2015 8:39 am    Post subject: Reply with quote

thiagofanfoni wrote:

I'll open this bug, but what is b.g.o. ?

b.g.o --> bugs.gentoo.org
Back to top
View user's profile Send private message
thiagofanfoni
n00b
n00b


Joined: 03 May 2008
Posts: 13
Location: Brasil

PostPosted: Sun Nov 08, 2015 7:20 pm    Post subject: Reply with quote

netfab wrote:
thiagofanfoni wrote:

I'll open this bug, but what is b.g.o. ?

b.g.o --> bugs.gentoo.org


Bug created.

https://bugs.gentoo.org/show_bug.cgi?id=565160

Thanks again :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum