Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer's mga_vid and kernel 2.6.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
tokoloshe
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2003
Posts: 116

PostPosted: Sat Feb 28, 2004 8:58 pm    Post subject: mplayer's mga_vid and kernel 2.6.3 Reply with quote

hi,
I have problems compiling mga_vid under gentoo-dev-sources-2.6.3-r1.
I end up with the following error
Code:
<command line>:138479949:2448: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from mga_vid.c:41:
/usr/src/linux/include/linux/cdev.h:26: warning: `struct inode' declared inside parameter list
/usr/src/linux/include/linux/cdev.h:26: warning: its scope is only this definition or declaration, which is probably not what you want
mga_vid.c:296: error: syntax error before "dev_handle"
mga_vid.c:296: warning: initialization makes integer from pointer without a cast
mga_vid.c:296: warning: data definition has no type or storage class
mga_vid.c: In function `mga_vid_release':
mga_vid.c:1542: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:500)
mga_vid.c: In function `mga_vid_open':
mga_vid.c:1570: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:488)
mga_vid.c:1600:2: #endif without #if
mga_vid.c: In function `mga_vid_initialize':
mga_vid.c:1629: error: `DEVFS_FL_NONE' undeclared (first use in this function)
mga_vid.c:1629: error: (Each undeclared identifier is reported only once
mga_vid.c:1629: error: for each function it appears in.)
mga_vid.c:1632: warning: comparison between pointer and integer
make: *** [mga_vid.o] Error 1

I have tried different patches, that I found on web, but none of them helped.
Anybody has any ideas??
thx
Back to top
View user's profile Send private message
Infamy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 92

PostPosted: Wed Mar 03, 2004 7:41 pm    Post subject: Reply with quote

i am receiving the same exact error. Have you found a solution yet? Does anyone have any information on this?

Thanks,

Infamy
Back to top
View user's profile Send private message
tokoloshe
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2003
Posts: 116

PostPosted: Wed Mar 03, 2004 10:38 pm    Post subject: Reply with quote

Infamy wrote:
i am receiving the same exact error. Have you found a solution yet? Does anyone have any information on this?
Thanks,
Infamy

well, first of all, I found out, that all these patches can only be applied to cvs version of mplayer, not to the one that is in portage (haven't checked the masked one).
Finally, I managed to get mplayer working with mga_vid, but with very great effort, and not very elegant solutions. Generally, I compiled old version (0.92, the one from portage) with new driver.
You need to turn mga_vid on during configuration, but cannot allow mplayer to compile (because you know it won't) so what I did, was to put a compiled mga_vid from cvs & patch into drivers directory.
I hope you managed to understand my poor English :-)
good luck
Back to top
View user's profile Send private message
Infamy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 92

PostPosted: Thu Mar 04, 2004 5:49 pm    Post subject: Reply with quote

well done, it looks like i might need more time than i have right now to do such a thing. Thanks for the response, i will try that asap 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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