Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VirtualBox additions - small patch for 8.99.46



However, on 8.99.47, I am stuck:
......
gcc                 -Wl,-rpath /usr/X11R7/lib -m64   -o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/VBoxClient
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/main.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/clipboard-helper.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/x11-clipboard.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/clipboard.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/display-svga.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/display-svga-x11.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/seamless.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/seamless-x11.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/display.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/hostversion.o
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/check3d.o
 -L/usr/X11R6/lib32  -L/usr/X11R6/lib  -L/usr/lib  -L/usr/X11R7/lib
-lX11   -lXrandr   -lXt   -lXext   -lXmu   -lsupc++   -lgcc_eh
/p/VirtualBox-6.0.8/out/netbsd.amd64/release/lib/additions/RuntimeGuestR3.a
  /p/VirtualBox-6.0.8/out/netbsd.amd64/release/lib/additions/VBoxGuestR3Lib.a
  /p/VirtualBox-6.0.8/out/netbsd.amd64/release/lib/additions/RuntimeGuestR3.a
  -lpthread
ld: error: /usr/X11R7/lib/libX11.so: ELF section name out of range
kmk: *** [/p/VirtualBox-6.0.8/out/netbsd.amd64/release/obj/VBoxClient/VBoxClient]
Error 1


No idea what this is .

On Thu, 20 Jun 2019 at 08:21, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> He has done it already.
>
> On Thu, 20 Jun 2019 at 09:10, <maya%netbsd.org@localhost> wrote:
> >
> > On Wed, Jun 19, 2019 at 06:55:06PM +0100, Chavdar Ivanov wrote:
> > > --- /p/VirtualBox-6.0.8/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c.ORIG
> > >        2019-06-19 19:48:40.880337377 +0100
> > > +++ /p/VirtualBox-6.0.8/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c
> > >  2019-06-19 19:48:51.063261324 +0100
> > > @@ -1011,7 +1011,7 @@
> > >
> > >              error = do_sys_mknod(curlwp, "/dev/vboxguest",
> > >                                   0666|S_IFCHR, makedev(cmajor, 0),
> > > -                                 &retval, UIO_SYSSPACE);
> > > +                                 UIO_SYSSPACE);
> > >              if (error == EEXIST)
> > >                  error = 0;
> > >              break;
> > >
> > > Needed after 8.99.46.
> > >
> > > --
> > > ----
> >
> > Probably the right thing is to wrap this by a version check from
> > sys/param.h, so the old code can be used for netbsd-8 still.
> >
> > #if __NetBSD_Version__ >= 899004600
> > One less arg
> > #else
> > existing code
> > #endif
> >
> > But it's not our code, so I don't know whether anyone netbsd-side
> > controls it (maybe uwe?).
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index