Ticket #19494 (closed defect: fixed)
Guest additions compilation failure on x86 (32bit) (fixed in VirtualBox 6.1.8)
Reported by: | jpalus2 | Owned by: | fbatschu |
---|---|---|---|
Component: | guest additions/x11/graphics | Version: | VirtualBox 6.1.6 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description
/tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp: In function 'int startX11MonitorThread()': /tmp/B.dzLgNZ/BUILD/VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp:313:49: error: invalid conversion from 'int (*)(RTTHREAD, void*)' {aka 'int (*)(RTTHREADINT*, void*)'} to 'PFNRTTHREAD' {aka 'int (__attribute__((regparm(0), cdecl)) *)(RTTHREADINT*, void*)'} [-fpermissive]
Attachments
Change History
comment:2 Changed 3 years ago by meiser1979
I can reproduce it in my Ubuntu 18.04 PPA, see attached buildlog.
Changed 3 years ago by meiser1979
buildlog
comment:3 Changed 3 years ago by jpalus2
Looking at other RTThreadCreate invocations, shouldn't x11MonitorThreadFunction be declared with DECLCALLBACK(int)...?
comment:5 Changed 3 years ago by fbatschu
- Owner set to fbatschu
- Status changed from awaitsfeedback to accepted
- Component changed from other to guest additions/x11/graphics
comment:6 Changed 3 years ago by fbatschu
This has been fixed in the 6.1.X branch with revision r137261 and will be part of the next public 6.1.X release.
comment:7 Changed 3 years ago by fbatschu
- Status changed from accepted to closed
- Resolution set to fixed
- Summary changed from Guest additions compilation failure on x86 (32bit) to Guest additions compilation failure on x86 (32bit) (fixed in VirtualBox 6.1.8)
fixed in VirtualBox 6.1.8
Note: See
TracTickets for help on using
tickets.
which Linux distribution, which kernel version, which gcc compiler?