View previous topic :: View next topic |
Author |
Message |
tokoloshe Tux's lil' helper
Joined: 11 Jul 2003 Posts: 116
|
Posted: Sat Feb 28, 2004 8:58 pm Post subject: mplayer's mga_vid and kernel 2.6.3 |
|
|
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 |
|
|
Infamy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 92
|
Posted: Wed Mar 03, 2004 7:41 pm Post subject: |
|
|
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 |
|
|
tokoloshe Tux's lil' helper
Joined: 11 Jul 2003 Posts: 116
|
Posted: Wed Mar 03, 2004 10:38 pm Post subject: |
|
|
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 |
|
|
Infamy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 92
|
Posted: Thu Mar 04, 2004 5:49 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|
|
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
|
|