Discussion:
mga_vid with 2.6.24?
ael
2008-02-03 16:00:04 UTC
Permalink
Hi, I am new to mga_vid and this list.

I just checked out mga_vid from the svn and tried to compile against 2.6.24.

It failed with a complaint that
'struct kobject' has no member named 'name'

The gory detail:
-----------------------------------------------------------------------
$ make mga_vid
make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[1]: Entering directory
`/fs1/local/src/kernel-git/stable/linux-2.6.24.y'
CC [M] /fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.o
/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.c: In
function 'mga_vid_find_card':
/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.c:787:
warning: 'pci_find_device' is deprecated (declared at
include/linux/pci.h:492)
/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.c: In
function 'mga_vid_initialize':
/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.c:1106:
error: 'struct kobject' has no member named 'name'
make[2]: ***
[/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk/mga_vid.o] Error 1
make[1]: ***
[_module_/fs1/local/src/mga_vid/subversion/mga_vid/mga_vid/trunk] Error 2
make[1]: Leaving directory `/fs1/local/src/kernel-git/stable/linux-2.6.24.y'
make: *** [mga_vid] Error 2

------------------------------------------------------------------------

Is mga_vid supposed to compile with the current stable kernel? If not,
which is the latest version that works?

ael
Attila Kinali
2008-02-03 20:29:17 UTC
Permalink
On Sun, 03 Feb 2008 16:00:04 +0000
Post by ael
I just checked out mga_vid from the svn and tried to compile against 2.6.24.
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.

svn up

Attila Kinali
--
The true CS students do not need to know how to program.
They learn how to abstract the process of programming to
the point of making programmers obsolete.
-- Jabber in #holo
ael
2008-02-04 12:03:07 UTC
Permalink
Post by Attila Kinali
On Sun, 03 Feb 2008 16:00:04 +0000
Post by ael
I just checked out mga_vid from the svn and tried to compile against 2.6.24.
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.
Thanks. Building now on new version.

ael
ael
2008-02-04 12:41:25 UTC
Permalink
Post by Attila Kinali
On Sun, 03 Feb 2008 16:00:04 +0000
Post by ael
I just checked out mga_vid from the svn and tried to compile against 2.6.24.
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.
svn up
Built new version. I am having a small problem with udev creating
/dev/mga_vid/0 and a symlink to /dev/mga0 while my (debian etch) mplayer
is looking for /dev/mga and failing by hitting the directory.

I have pulled down the svn version of mplayer and am now compiling that
just in case it is old mplayer code. Otherwise I will have to start
debugging udev configuration and rules, I suppose. Is this a known issue?

ael
Attila Kinali
2008-02-04 12:50:17 UTC
Permalink
On Mon, 04 Feb 2008 12:41:25 +0000
Post by ael
Post by Attila Kinali
On Sun, 03 Feb 2008 16:00:04 +0000
Post by ael
I just checked out mga_vid from the svn and tried to compile against 2.6.24.
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.
svn up
Built new version. I am having a small problem with udev creating
/dev/mga_vid/0 and a symlink to /dev/mga0 while my (debian etch) mplayer
is looking for /dev/mga and failing by hitting the directory.
mplayer checks in ./configure whether /dev/mga_vid exists,
if it does (x)mga is compiled. At runtime it tries to access
/dev/mga_div. This looks like you have not properly configured
your udev subsystem. Have you read README.udev?
Post by ael
I have pulled down the svn version of mplayer and am now compiling that
just in case it is old mplayer code. Otherwise I will have to start
debugging udev configuration and rules, I suppose. Is this a known issue?
Nope, i use udev at home and it works fine.

Attila Kinali
--
Praised are the Fountains of Shelieth, the silver harp of the waters,
But blest in my name forever this stream that stanched my thirst!
-- Deed of Morred
ael
2008-02-04 13:17:13 UTC
Permalink
Post by Attila Kinali
On Mon, 04 Feb 2008 12:41:25 +0000
Post by ael
Post by Attila Kinali
On Sun, 03 Feb 2008 16:00:04 +0000
Post by ael
I just checked out mga_vid from the svn and tried to compile against 2.6.24.
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.
svn up
Built new version. I am having a small problem with udev creating
/dev/mga_vid/0 and a symlink to /dev/mga0 while my (debian etch) mplayer
is looking for /dev/mga and failing by hitting the directory.
Typos above :-) I meant /dev/mga_vid0 and /dev/mga_vid0.
Post by Attila Kinali
mplayer checks in ./configure whether /dev/mga_vid exists,
if it does (x)mga is compiled. At runtime it tries to access
/dev/mga_div. This looks like you have not properly configured
your udev subsystem. Have you read README.udev?
Yes. I was using that rule and I am now using the debian mga_vid rule
which seems to be the same.
Post by Attila Kinali
Post by ael
I have pulled down the svn version of mplayer and am now compiling that
just in case it is old mplayer code. Otherwise I will have to start
debugging udev configuration and rules, I suppose. Is this a known issue?
Nope, i use udev at home and it works fine.
Ok, Thanks for the reply. I will reach for udevmonitor and so on if need
be.

ael
ael
2008-02-04 14:08:11 UTC
Permalink
[..snip..]
Post by ael
Post by Attila Kinali
Post by ael
Post by Attila Kinali
Post by ael
It failed with a complaint that
'struct kobject' has no member named 'name'
Yes, old cruft failing on us.
svn up
Built new version. I am having a small problem with udev creating
/dev/mga_vid/0 and a symlink to /dev/mga0 while my (debian etch) mplayer
is looking for /dev/mga and failing by hitting the directory.
Typos above :-) I meant /dev/mga_vid0 and /dev/mga_vid0.
Post by Attila Kinali
mplayer checks in ./configure whether /dev/mga_vid exists,
if it does (x)mga is compiled. At runtime it tries to access
/dev/mga_div. This looks like you have not properly configured
your udev subsystem. Have you read README.udev?
Yes. I was using that rule and I am now using the debian mga_vid rule
which seems to be the same.
Post by Attila Kinali
Post by ael
I have pulled down the svn version of mplayer and am now compiling that
just in case it is old mplayer code. Otherwise I will have to start
debugging udev configuration and rules, I suppose. Is this a known issue?
Nope, i use udev at home and it works fine.
Ok, Thanks for the reply. I will reach for udevmonitor and so on if need
be.
Just for the record, compiling and using the latest mplayer fixed that
problem. It may be that the debian etch package has tweaked the
configuration somehow.

ael
Attila Kinali
2008-02-04 22:52:28 UTC
Permalink
On Mon, 04 Feb 2008 14:08:11 +0000
Post by ael
Just for the record, compiling and using the latest mplayer fixed that
problem. It may be that the debian etch package has tweaked the
configuration somehow.
Please report this over the debian bug tracking system.
I'm quite sure that Andrea would like to know about
such problems

Attila Kinali
--
It is the unknown we fear when we look
upon death and darkness, nothing more.
-- Albus P. W. B. Dumbledore
ael
2008-02-05 19:11:29 UTC
Permalink
Post by Attila Kinali
On Mon, 04 Feb 2008 14:08:11 +0000
Post by ael
Just for the record, compiling and using the latest mplayer fixed that
problem. It may be that the debian etch package has tweaked the
configuration somehow.
Please report this over the debian bug tracking system.
I'm quite sure that Andrea would like to know about
such problems
Just to close this thread down, mplayer started working properly after a
reboot. [Yes I did restart udevd before trying a boot cycle :-)] Not
sure what happened. Shades of Windoze :-(

Anyway, thanks for all the help, not to mention the software.

ael

Continue reading on narkive:
Loading...