Hello,
2013/9/20 Tomasz Sowa <t.s...@ttmath.org> > Hi > > Virtualbox-4.2.18 kernel module doesn't want to compile on 10-current: > > /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c:83:76: > error: > too few arguments to function call, expected 10, have 9 > cbAllocated, TRUE, VM_PROT_ALL, > VM_PROT_ALL, 0); > > ^ > @/vm/vm_map.h:368:1: note: 'vm_map_find' declared here > int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *, > vm_size_t, > ^ > 1 error generated. > *** Error code 1 > > > There was a change in vm_map_find() in revision r255426 (one parameter > has been added), patch: > http://www.ttmath.org/tmp/virtualbox-4_2_18.patch > > applying: > # cd /usr/ports/emulators/virtualbox-ose-kmod > # make extract > # fetch http://www.ttmath.org/tmp/virtualbox-4_2_18.patch > # patch < virtualbox-4_2_18.patch > # make all install clean There is already a PR : www.freebsd.org/cgi/query-pr.cgi?pr=ports/181971 With one of thoses patchs the port compiles fine but I still have core dumps at start under 10-ALPHA2. Maybe because of libstdc++ switch to libc++ ? vboxdrv: fAsync=0 offMin=0x219 offMax=0x4470 pid 1143 (VBoxSVC), uid 0: exited on signal 6 (core dumped) VBoxManage: error: Failed to create the VirtualBox object! VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available) VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start. Is it working from fresh start for you ? Are you using WITH_GNUCXX= in src.conf or make.conf ? Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: oliv...@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"