Compile Error under Gen2VDR 1.2

View: New views
4 Messages — Rating Filter:   Alert me  

Compile Error under Gen2VDR 1.2

by Oliver Grassl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I've tried to compile the 0.16.2 under Gen2VDR 1.2 but it has failed with
the following error message:

"...
CC [M] /usr/src/em8300-0.16.2/modules/em9010.o
CC [M] /usr/src/em8300-0.16.2/modules/em8300_registration.o
CC [M] /usr/src/em8300-0.16.2/modules/em8300_procfs.o
/usr/src/em8300-0.16.2/modules/em8300_procfs.c: In function
`em8300_proc_read':
/usr/src/em8300-0.16.2/modules/em8300_procfs.c:91: error: structure has no
member named `eeprom_checksum'
/usr/src/em8300-0.16.2/modules/em8300_procfs.c:94: error: structure has no
member named `eeprom_checksum'
make[2]: *** [/usr/src/em8300-0.16.2/modules/em8300_procfs.o] Error 1
make[1]: *** [_module_/usr/src/em8300-0.16.2/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20.4-gentoo'
make: *** [build] Error 2"

With release 0.16.1 compiling works fine. What's wrong here?

Thanks!
Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: Compile Error under Gen2VDR 1.2

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Sun, Jun 17, 2007 at 05:06:00PM +0200, Oliver Grassl wrote:

> Hello,
> I've tried to compile the 0.16.2 under Gen2VDR 1.2 but it has failed with
> the following error message:
>
> "...
> CC [M] /usr/src/em8300-0.16.2/modules/em9010.o
> CC [M] /usr/src/em8300-0.16.2/modules/em8300_registration.o
> CC [M] /usr/src/em8300-0.16.2/modules/em8300_procfs.o
> /usr/src/em8300-0.16.2/modules/em8300_procfs.c: In function
> `em8300_proc_read':
> /usr/src/em8300-0.16.2/modules/em8300_procfs.c:91: error: structure has no
> member named `eeprom_checksum'
> /usr/src/em8300-0.16.2/modules/em8300_procfs.c:94: error: structure has no
> member named `eeprom_checksum'
> make[2]: *** [/usr/src/em8300-0.16.2/modules/em8300_procfs.o] Error 1
> make[1]: *** [_module_/usr/src/em8300-0.16.2/modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.20.4-gentoo'
> make: *** [build] Error 2"
>
> With release 0.16.1 compiling works fine. What's wrong here?

I have no idea what Gen2VDR is, but it looks like you aree trying to
build the modules against an outdated em8300.h headers file...


Cheers,

Nicolas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: Compile Error under Gen2VDR 1.2

by Oliver Grassl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Gen2VDR is a special version of Gentoo with VDR included. How can I update
the headers file? Isn't it included in the modules-source? Or do I have to
upgrade to a newer kernel?

Thanks!
Oliver


----- Original Message -----
From: "Nicolas Boullis" <nboullis@...>
To: "Oliver Grassl" <joesbarteam@...>
Cc: <dxr3-devel@...>
Sent: Monday, June 18, 2007 12:55 AM
Subject: Re: [Dxr3-devel] Compile Error under Gen2VDR 1.2


> Hi,
>
> On Sun, Jun 17, 2007 at 05:06:00PM +0200, Oliver Grassl wrote:
>> Hello,
>> I've tried to compile the 0.16.2 under Gen2VDR 1.2 but it has failed with
>> the following error message:
>>
>> "...
>> CC [M] /usr/src/em8300-0.16.2/modules/em9010.o
>> CC [M] /usr/src/em8300-0.16.2/modules/em8300_registration.o
>> CC [M] /usr/src/em8300-0.16.2/modules/em8300_procfs.o
>> /usr/src/em8300-0.16.2/modules/em8300_procfs.c: In function
>> `em8300_proc_read':
>> /usr/src/em8300-0.16.2/modules/em8300_procfs.c:91: error: structure has
>> no
>> member named `eeprom_checksum'
>> /usr/src/em8300-0.16.2/modules/em8300_procfs.c:94: error: structure has
>> no
>> member named `eeprom_checksum'
>> make[2]: *** [/usr/src/em8300-0.16.2/modules/em8300_procfs.o] Error 1
>> make[1]: *** [_module_/usr/src/em8300-0.16.2/modules] Error 2
>> make[1]: Leaving directory `/usr/src/linux-2.6.20.4-gentoo'
>> make: *** [build] Error 2"
>>
>> With release 0.16.1 compiling works fine. What's wrong here?
>
> I have no idea what Gen2VDR is, but it looks like you aree trying to
> build the modules against an outdated em8300.h headers file...
>
>
> Cheers,
>
> Nicolas


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Re: Compile Error under Gen2VDR 1.2

by Nicolas Boullis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Mon, Jun 18, 2007 at 07:41:17AM +0200, Oliver Grassl wrote:
> Hi,
> Gen2VDR is a special version of Gentoo with VDR included. How can I update
> the headers file?

Find it and replace it with the include/linux/em8300.h file from the
em8300 distribution.

> Isn't it included in the modules-source?

It is, but for some reason it is either outdated or overridden by an
older one somewher.

> Or do I have to upgrade to a newer kernel?

No.


You may try to issue "grep em8300.h .em8300_main.o.cmd" in your
em8300/modules dir to see what em8300.h is being used. And then either
nuke it or replace it.


HTH,

Nicolas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
LightInTheBox - Buy quality products at wholesale price!