Re: Suspend2-2.2.2 for 2.6.16.
From: Nigel Cunningham
Date: Thu Mar 30 2006 - 06:46:41 EST
On Thursday 30 March 2006 19:34, Rafael J. Wysocki wrote:
> Hi,
>
> On Wednesday 29 March 2006 12:50, Nigel Cunningham wrote:
> > Don't bother suggesting that to x86_64 owners: compilation is currently
> > broken in vbetool/lrmi.c (at least).
I get:
nigel@nigel_c_laptop:/usr/src/uswsusp/suspend$ make suspend
cc -Wall -O2 -c vbetool/lrmi.c -o vbetool/lrmi.o
vbetool/lrmi.c:83: error: field âvmâ has incomplete type
vbetool/lrmi.c: In function âget_int_segâ:
vbetool/lrmi.c:111: warning: cast to pointer from integer of different size
vbetool/lrmi.c: In function âget_int_offâ:
vbetool/lrmi.c:118: warning: cast to pointer from integer of different size
vbetool/lrmi.c: In function âLRMI_initâ:
vbetool/lrmi.c:147: warning: cast from pointer to integer of different size
vbetool/lrmi.c:155: warning: cast from pointer to integer of different size
vbetool/lrmi.c:156: warning: cast from pointer to integer of different size
vbetool/lrmi.c: In function âset_regsâ:
vbetool/lrmi.c:191: error: âIF_MASKâ undeclared (first use in this function)
vbetool/lrmi.c:191: error: (Each undeclared identifier is reported only once
vbetool/lrmi.c:191: error: for each function it appears in.)
vbetool/lrmi.c:191: error: âIOPL_MASKâ undeclared (first use in this function)
vbetool/lrmi.c: In function âem_inblâ:
vbetool/lrmi.c:337: error: invalid lvalue in asm output 0
vbetool/lrmi.c: In function âem_inbâ:
vbetool/lrmi.c:345: error: invalid lvalue in asm output 0
vbetool/lrmi.c: In function âem_inwâ:
vbetool/lrmi.c:353: error: invalid lvalue in asm output 0
vbetool/lrmi.c: In function âem_inlâ:
vbetool/lrmi.c:361: error: invalid lvalue in asm output 0
vbetool/lrmi.c: In function ârun_vm86â:
vbetool/lrmi.c:594: warning: implicit declaration of function âVM86_TYPEâ
vbetool/lrmi.c:594: error: âVM86_INTxâ undeclared (first use in this function)
vbetool/lrmi.c:595: warning: implicit declaration of function âVM86_ARGâ
vbetool/lrmi.c:613: error: âVIF_MASKâ undeclared (first use in this function)
vbetool/lrmi.c:613: error: âTF_MASKâ undeclared (first use in this function)
vbetool/lrmi.c:618: error: âVM86_UNKNOWNâ undeclared (first use in this
function)
vbetool/lrmi.c: In function âLRMI_intâ:
vbetool/lrmi.c:840: error: âIF_MASKâ undeclared (first use in this function)
vbetool/lrmi.c:840: error: âIOPL_MASKâ undeclared (first use in this function)
make: *** [vbetool/lrmi.o] Error 1
nigel@nigel_c_laptop:/usr/src/uswsusp/suspend$
Regards,
Nigel
Attachment:
pgp00000.pgp
Description: PGP signature