J. Bakshi | 12 Nov 2011 15:50
Picon

compilation issue with kernel 3.1.1

Dear list,

I have tried to compile the latest 3.1.1 kernel with current TOI patch.
Patching is fine... but during compilation it throws error as

` ` ` `
kernel/power/tuxonice_bio_core.c: In function ‘submit’:
kernel/power/tuxonice_bio_core.c:410:24: error: ‘__REQ_TOI’ undeclared (first use in
this function)
kernel/power/tuxonice_bio_core.c:410:24: note: each undeclared identifier is reported only once for
each function it appears in
make[3]: *** [kernel/power/tuxonice_bio_core.o] Error 1
` ` ` `

and terminated. Do we need a new patch for 3.1.1 ?

_______________________________________________
TuxOnIce-users mailing list
TuxOnIce-users <at> lists.tuxonice.net
http://lists.tuxonice.net/listinfo/tuxonice-users
J. Bakshi | 14 Nov 2011 11:34
Face

Re: compilation issue with kernel 3.1.1

On Sat, 12 Nov 2011 20:20:07 +0530
"J. Bakshi" <bakshi12 <at> gmail.com> wrote:

> Dear list,
> 
> I have tried to compile the latest 3.1.1 kernel with current TOI patch.
> Patching is fine... but during compilation it throws error as
> 
> ` ` ` `
> kernel/power/tuxonice_bio_core.c: In function ‘submit’:
> kernel/power/tuxonice_bio_core.c:410:24: error: ‘__REQ_TOI’ undeclared (first use in
this function)
> kernel/power/tuxonice_bio_core.c:410:24: note: each undeclared identifier is reported only once
for each function it appears in
> make[3]: *** [kernel/power/tuxonice_bio_core.o] Error 1
> ` ` ` `
> 
> and terminated. Do we need a new patch for 3.1.1 ?
> 

Seems we really need a patch for 3.1.1
_______________________________________________
TuxOnIce-users mailing list
TuxOnIce-users <at> lists.tuxonice.net
http://lists.tuxonice.net/listinfo/tuxonice-users
Matthias Hensler | 14 Nov 2011 13:43
X-Face
Picon

Re: compilation issue with kernel 3.1.1

Hi,

On Mon, Nov 14, 2011 at 04:04:15PM +0530, J. Bakshi wrote:
> On Sat, 12 Nov 2011 20:20:07 +0530
> "J. Bakshi" <bakshi12 <at> gmail.com> wrote:
> > kernel/power/tuxonice_bio_core.c: In function ‘submit’:
> > kernel/power/tuxonice_bio_core.c:410:24: error: ‘__REQ_TOI’ undeclared (first use in
this function)
> > kernel/power/tuxonice_bio_core.c:410:24: note: each undeclared identifier is reported only once
for each function it appears in
> > make[3]: *** [kernel/power/tuxonice_bio_core.o] Error 1

__REQ_TOI is declared in include/linux/blk_types.h

Are you sure that you are using a current version of the tuxonice-patch?
I am using the same patch (git from oct 1st 2011) for both Linux 3.0 and
3.1.1, without any problems.

As far as I see there were no newer commits to git, so I attach the
patch I am using.

Regards,
Matthias
_______________________________________________
TuxOnIce-users mailing list
TuxOnIce-users <at> lists.tuxonice.net
http://lists.tuxonice.net/listinfo/tuxonice-users
(Continue reading)


Gmane