Page 1 of 1

Compile Error 3.9.2

PostPosted: Tue May 14, 2013 1:45 pm
by GBit
drivers/hwmon/pmbus/pmbus_core.c: In function ‘pmbus_dev_attr_init’:
drivers/hwmon/pmbus/pmbus_core.c:795:2: error: assignment of member ‘name’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:796:2: error: assignment of member ‘mode’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:797:2: error: assignment of member ‘show’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:798:2: error: assignment of member ‘store’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c: In function ‘pmbus_attr_init’:
drivers/hwmon/pmbus/pmbus_core.c:813:2: error: assignment of member ‘index’ in read-only object
make[4]: *** [drivers/hwmon/pmbus/pmbus_core.o] Error 1
make[3]: *** [drivers/hwmon/pmbus] Error 2
make[2]: *** [drivers/hwmon] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-3.9.2'


config: http://pastebin.com/mMiswpjt

Compiling on a vanilla kernel, at the moment.

Re: Compile Error 3.9.2

PostPosted: Tue May 14, 2013 4:57 pm
by PaX Team
thanks, will be fixed in the next patch. in the meantime you can try to disable hwmon and get a working kernel perhaps for testing ;).

Re: Compile Error 3.9.2

PostPosted: Tue May 14, 2013 5:46 pm
by GBit
Skipping those seems to fix it. Another thing though:

VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
make[2]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
make[2]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
grsec: protected kernel image paths



Same config, but with the HWMON as modules.

Re: Compile Error 3.9.2

PostPosted: Tue May 14, 2013 6:29 pm
by GBit
CC [M] drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.o
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c: In function ‘qlcnic_83xx_config_default_opmode’:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:1897:3: error: assignment of member ‘init_driver’ in read-only object
make[6]: *** [drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.o] Error 1
make[5]: *** [drivers/net/ethernet/qlogic/qlcnic] Error 2
make[4]: *** [drivers/net/ethernet/qlogic] Error 2
make[3]: *** [drivers/net/ethernet] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-3.9.2'
make: *** [debian/stamp/build/kernel] Error 2