Code:
2022-08-09T11:37:17+0200:
Parallels Tools 1.7.3-23546 Installer started.
2022-08-09T11:37:17+0200: Failed to setup console printk level.
2022-08-09T11:37:26+0200: execCmd: ./install --check [0]
2022-08-09T11:37:26+0200: execCmd: ./installer/detect-xserver.sh -v >/dev/null 2>&1 [0]
2022-08-09T11:37:34+0200: execCmd: ./installer/pm.sh --check gtools [0]
Started installation of Parallels Guest Tools version '1.7.3.23546'
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.18.0-kali5-arm64
Tue Aug 9 11:37:34 CEST 2022
Start installation or upgrade of Guest Tools
Installed Guest Tools were not found
Register service to install new Guest Tools
Perform installation into the /usr/lib/parallels-tools directory
make: Entering directory '/usr/lib/parallels-tools/kmods'
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
Will use compiler CC="cc".
Compiler version "cc (Debian 11.3.0-5) 11.3.0"
cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
1: /lib/modules/5.18.0-kali5-arm64/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20220809
4: 1.10.0
Start compile prl_tg...
make -C /lib/modules/5.18.0-kali5-arm64/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg CC=cc modules
make[2]: Entering directory '/usr/src/linux-headers-5.18.0-kali5-arm64'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.3.0-3) 11.3.0
You are using: cc (Debian 11.3.0-5) 11.3.0
1: /lib/modules/5.18.0-kali5-arm64/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20220809
4: 1.10.0
CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:23:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h: In function 'tg_out':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:179:14: warning: assignment to 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
179 | port += dev->base_addr;
| ^~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:183:24: warning: passing argument 2 of 'iowrite64' makes pointer from integer without a cast [-Wint-conversion]
183 | iowrite64(val, port);
| ^~~~
| |
| long unsigned int
In file included from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/io.h:185,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/io.h:13,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/irq.h:20,
from /usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/hardirq.h:17,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/hardirq.h:17,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/hardirq.h:11,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/interrupt.h:11,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/pci.h:38,
from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:7:
/usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/io.h:769:64: note: expected 'volatile void *' but argument is of type 'long unsigned int'
769 | static inline void iowrite64(u64 value, volatile void __iomem *addr)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_write':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:252:30: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
252 | struct tg_dev *dev = PDE_DATA(FILE_DENTRY(filp)->d_inode);
| ^~~~~~~~
| NODE_DATA
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:252:30: warning: initialization of 'struct tg_dev *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/bug.h:22,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/bug.h:26,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/bug.h:5,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/cpufeature.h:19,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/hwcap.h:9,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/arch_timer.h:12,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/timex.h:67,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/time32.h:13,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/time.h:60,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/stat.h:12,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/stat.h:6,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/module.h:13,
from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:5:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_probe_common':
2022-08-09T11:37:34+0200: Started installation of Parallels Guest Tools version '1.7.3.23546'
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.18.0-kali5-arm64
Tue Aug 9 11:37:34 CEST 2022
Start installation or upgrade of Guest Tools
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc-11 (Debian 11.3.0-3) 11.3.0
You are using: cc (Debian 11.3.0-5) 11.3.0
In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:23:
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h: In function 'tg_out':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:179:14: warning: assignment to 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
179 | port += dev->base_addr;
| ^~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:183:24: warning: passing argument 2 of 'iowrite64' makes pointer from integer without a cast [-Wint-conversion]
183 | iowrite64(val, port);
| ^~~~
| |
| long unsigned int
In file included from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/io.h:185,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/io.h:13,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/irq.h:20,
from /usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/hardirq.h:17,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/hardirq.h:17,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/hardirq.h:11,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/interrupt.h:11,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/pci.h:38,
from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:7:
/usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/io.h:769:64: note: expected 'volatile void *' but argument is of type 'long unsigned int'
769 | static inline void iowrite64(u64 value, volatile void __iomem *addr)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_write':
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:252:30: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
252 | struct tg_dev *dev = PDE_DATA(FILE_DENTRY(filp)->d_inode);
| ^~~~~~~~
| NODE_DATA
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:252:30: warning: initialization of 'struct tg_dev *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/src/linux-headers-5.18.0-kali5-common/include/asm-generic/bug.h:22,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/bug.h:26,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/bug.h:5,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/cpufeature.h:19,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/hwcap.h:9,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/arch_timer.h:12,
from /usr/src/linux-headers-5.18.0-kali5-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/timex.h:67,
from /usr/src/linux-headers-5.18.0-kali5-common/include/linux/time32.h:13,
from /usr/src/linux-headers-5.18.0-kali5-common/include/l/usr/src/linux-headers-5.18.0-kali5-common/include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
/usr/src/linux-headers-5.18.0-kali5-common/include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:516:9: note: in expansion of macro 'printk'
516 | printk(KERN_INFO "detected %s, base addr %08lx, IRQ %d\n",
| ^~~~~~
/usr/src/linux-headers-5.18.0-kali5-common/include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:516:16: note: in expansion of macro 'KERN_INFO'
516 | printk(KERN_INFO "detected %s, base addr %08lx, IRQ %d\n",
| ^~~~~~~~~
/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.18.0-kali5-common/scripts/Makefile.build:293: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
make[2]: Leaving directory '/usr/src/linux-headers-5.18.0-kali5-arm64'
make[2]: *** [/usr/src/linux-headers-5.18.0-kali5-common/Makefile:1858: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2