Comment 9 for bug 41355

Revision history for this message
Festor (festor-deactivatedaccount) wrote :

When I try built package with that patch I get a FTBFS:

s3switch.c: In function 'print_current_state':
s3switch.c:301: warning: format not a string literal and no format arguments
s3switch.c:313: warning: format not a string literal and no format arguments
gcc -Wall -g -O2 -c -o lrmi.o lrmi.c
lrmi.c: In function 'get_int_seg':
lrmi.c:197: warning: cast to pointer from integer of different size
lrmi.c: In function 'get_int_off':
lrmi.c:204: warning: cast to pointer from integer of different size
lrmi.c: In function 'LRMI_init':
lrmi.c:267: warning: cast from pointer to integer of different size
lrmi.c:275: warning: cast from pointer to integer of different size
lrmi.c:276: warning: cast from pointer to integer of different size
lrmi.c: In function 'set_regs':
lrmi.c:305: error: 'IF_MASK' undeclared (first use in this function)
lrmi.c:305: error: (Each undeclared identifier is reported only once
lrmi.c:305: error: for each function it appears in.)
lrmi.c:305: error: 'IOPL_MASK' undeclared (first use in this function)
lrmi.c: In function 'emulate':
lrmi.c:571: warning: cast to pointer from integer of different size
lrmi.c: In function 'run_vm86':
lrmi.c:784: error: 'VIF_MASK' undeclared (first use in this function)
lrmi.c:784: error: 'TF_MASK' undeclared (first use in this function)
lrmi.c: In function 'LRMI_int':
lrmi.c:873: error: 'IF_MASK' undeclared (first use in this function)
lrmi.c:873: error: 'IOPL_MASK' und