Dear All,
I have installed Vmware on linux machine then I have developed a program to send host system(linux) data to client(windows).
I'v used Hdparm program to do this.my problem is to compile makefile with Vmci.lib.I attached my makefile into this post.
when I run make command I have this error:
make
cc -s -static -o hdparm hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o
hdparm.o: In function `process_dev':
hdparm.c:(.text+0x107): undefined reference to `VMCISharedMem_Create'
hdparm.c:(.text+0x140): undefined reference to `VMCIDs_Lookup'
hdparm.c:(.text+0x179): undefined reference to `VMCISharedMem_Detach'
hdparm.c:(.text+0x2ba): undefined reference to `VMCIResource_AddClientPrivileges'
hdparm.c:(.text+0x2d2): undefined reference to `VMCIDs_Register'
collect2: ld returned 1 exit status
make: *** Error 1
I have put vmci.lib in /usr/lib but still I have this error.
Please help me to solve this problem.
Kind Regards
A.lopez