[root@ svn_vbox]# uname -r
2.6.31.12-174.2.22.fc12.x86_64
[root@ svn_vbox]# ls
iprt Makefile.kmk VBox vdbuild.sh vdfuse-v60.c
[root@ svn_vbox]# ./vdbuild.sh . vdfuse-v60.c
vdfuse-v60.c: In function ‘VD_read’:
vdfuse-v60.c:558: warning: implicit declaration of function ‘VBOX_SUCCESS’
/tmp/ccd3Rdvj.o: In function `VD_read':
vdfuse-v60.c:(.text+0x12c9): undefined reference to `VBOX_SUCCESS'
/tmp/ccd3Rdvj.o: In function `VD_write':
vdfuse-v60.c:(.text+0x151a): undefined reference to `VBOX_SUCCESS'
collect2: ld returned 1 exit status
strip: 'vdfuse-v60': No such file
Compile Failed!
h2o wrote:It seems like the vbox in trunk removed the VBOX_SUCCESS macro; try replacing VBOX_SUCCESS with RT_SUCCESS.
h2o wrote:It seems like the vbox in trunk removed the VBOX_SUCCESS macro; try replacing VBOX_SUCCESS with RT_SUCCESS.
[root@ svn_vbox]# ./vdfuse-v70 -r -a -v -f /virtual/WinXp.vdi /virtual/WinVista
disktype is VDI
Segmentation fault
Feb 24 13:59:42 kernel: vdfuse-v70[32401]: segfault at 605018 ip 0000000000401911 sp 00007fffca9636f0 error 6 in vdfuse-v70[400000+4000]
[root@ svn_vbox]# ./vdfuse-v70 -v -r -a -f /virtual/WinXp.vdi /virtual/WinVista3
disktype is VDI
Segmentation fault (core dumped)
(gdb) run -d -v -r -a -f /virtual/WinXp.vdi /virtual/WinVista3
Starting program: /home/jpatton/svn_vbox/vdfuse-v70 -d -v -r -a -f /virtual/WinXp.vdi /virtual/WinVista3
[Thread debugging using libthread_db enabled]
disktype is VDI
Partition Size Offset
========= ==== ======
Partition1 1048576 375807541248
Detaching after fork from child process 8487.
FUSE library version: 2.8.1
nullpath_ok: 0
[New Thread 0x7ffff5a7b710 (LWP 8488)]
[New Thread 0x7ffff5058710 (LWP 8489)]
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.12
flags=0x0000007b
max_readahead=0x00020000
INIT: 7.12
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
unique: 1, success, outsize: 40
[root@ virtual]# ll /virtual/WinVista3/
total 700G
dr-xr-xr-- 1 jpatton jpatton 0 2009-09-30 15:41 .
drwxr-xr-x 9 jpatton vboxusers 4.0K 2010-02-25 14:48 ..
-r--r--r-- 1 jpatton jpatton 350G 2009-09-30 15:41 EntireDisk
-r--r--r-- 1 jpatton jpatton 350G 2009-09-30 15:41 Partition1
[root@ virtual]# ll
ls: cannot access WinVista2: Transport endpoint is not connected
ls: cannot access WinVista: Transport endpoint is not connected
...
d????????? ? ? ? ? ? WinVista
d????????? ? ? ? ? ? WinVista2
dr-xr-xr-- 1 jpatton jpatton 0 2009-09-30 15:41 WinVista3
Core was generated by `./vdfuse-v70 -d -v -r -a -f /virtual/WinXp.vdi /virtual/WinVista'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000401911 in fwrite () at iofwrite.c:37
37 {
(gdb) bt
#0 0x0000000000401911 in fwrite () at iofwrite.c:37
#1 0x00000000004014ae in fwrite () at iofwrite.c:37
#2 0x0000003f8121eb1d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>,
init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=<value optimized out>) at libc-start.c:226
#3 0x0000000000400fa9 in fwrite () at iofwrite.c:37
#4 0x00007fff4f3cdf58 in ?? ()
#5 0x000000000000001c in ?? ()
#6 0x0000000000000008 in ?? ()
#7 0x00007fff4f3cfd3f in ?? ()
#8 0x00007fff4f3cfd4c in ?? ()
#9 0x00007fff4f3cfd4f in ?? ()
#10 0x00007fff4f3cfd52 in ?? ()
#11 0x00007fff4f3cfd55 in ?? ()
#12 0x00007fff4f3cfd58 in ?? ()
#13 0x00007fff4f3cfd5b in ?? ()
#14 0x00007fff4f3cfd6e in ?? ()
#15 0x0000000000000000 in ?? ()
# ./vdbuild.sh vbox/include/ vdfuse.c
/usr/bin/ld: /tmp/ccJ1yKvw.o: undefined reference to symbol 'VDOpen'
/usr/bin/ld: note: 'VDOpen' is defined in DSO /usr/lib/virtualbox/VBoxDDU.so so try adding it to the linker command line
/usr/lib/virtualbox/VBoxDDU.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
strip: 'vdfuse': No such file
Compile Failed!
Return to VirtualBox on Linux Hosts
Users browsing this forum: No registered users and 15 guests