VMware {code} Community
harriscd
Contributor
Contributor

VMCI - abuntu - Failed to init VMCI library

I've successfully compiled the sample datagramApp.c, but when I start it with "/dg -d /dev/vmci -s", I recieve the following error:

Failed opening /dev/vmci with error 19

Failed to init VMCI library.

When compiling I used the following command:

gcc datagramApp.c -o dg -L/<path>/vmware-tools-distrib/lib/vmware-vmci/lib/vmci -I/<path>/vmware-tools-distrib-lib/include/vmci 'pkg-config --cflags --libs vmci'

thanks

Reply
0 Kudos
1 Reply
dgtgssy
Contributor
Contributor

I met the same question in Fedora8 ,but finally it is my own fault: I forgot to enable VMCI in the .vmx file.

I truely have done this according to the README when setup the first vm,but after I delete the vm and built up another one , I forget the .vmx file entirely !

Maybe this imformation can not resolve your problem, but I depend on it.

By the way, the kernel in fedora8 is 2.6.23.1-42

Reply
0 Kudos