Installed the new 2.6.20 linux kernel this morning, and now parallels fails to compile. I removed parallels and reinstalled the 2.2.2112 ebuild. I had to change the code per the 2.6.19 fix on these forums about HW_CHECKSUM errors, and parallels-config still fails with the following in the build log:
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c: In function `prlnet_nopage':
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1179: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1185: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1187: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1201: error: `VM_FAULT_MINOR' undeclared (first use in this function)
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1201: error: (Each undeclared identifier is reported only once
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1201: error: for each function it appears in.)
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1212: warning: implicit declaration of function `vmalloc_to_page'
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1212: warning: assignment makes pointer from integer without a cast
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1214: warning: implicit declaration of function `get_page'
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c: At top level:
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1218: error: variable `prlnet_vmops' has initializer but incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1219: error: unknown field `nopage' specified in initializer
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1220: warning: excess elements in struct initializer
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1220: warning: (near initialization for `prlnet_vmops')
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c: In function `prlnet_mmap':
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1229: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1233: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1233: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1239: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1240: error: dereferencing pointer to incomplete type
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c: At top level:
/usr/lib/parallels/drivers/drv_net/linux/prlnet.c:1218: error: storage size of `prlnet_vmops' isn't known
make[4]: *** [/usr/lib/parallels/drivers/drv_net/linux/prlnet.o] Error 1
make[3]: *** [_module_/usr/lib/parallels/drivers/drv_net/linux] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
make[1]: *** [vmbridge] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers'
make: *** [build] Error 2
I have tried commenting the lines with errors out, to predictable success. Any ideas?
Last edited: Mar 12, 2007