Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

compilation failure on SUSE 11 SP1

$
0
0

 

 

 

 

I am getting following error when I am trying to compile the sample code with vddk api

 

 

:~/vddk/vmware-vix-disklib-distrib/doc/sample # make

g++ -o vix-disklib-sample `pkg-config --cflags --libs vix-disklib` vixDiskLibSample.cpp

Package vix-disklib was not found in the pkg-config search path.

Perhaps you should add the directory containing `vix-disklib.pc'

to the PKG_CONFIG_PATH environment variable

No package 'vix-disklib' found

/tmp/cceC4nxk.o: In function `DoRWBench(bool)':

vixDiskLibSample.cpp:(.text+0x273): undefined reference to `VixDiskLib_GetInfo'

vixDiskLibSample.cpp:(.text+0x35b): undefined reference to `VixDiskLib_FreeInfo'

vixDiskLibSample.cpp:(.text+0x3e9): undefined reference to `VixDiskLib_Read'

vixDiskLibSample.cpp:(.text+0x422): undefined reference to `VixDiskLib_Write'

/tmp/cceC4nxk.o: In function `DoClone()':

vixDiskLibSample.cpp:(.text+0x63c): undefined reference to `VixDiskLib_Connect'

vixDiskLibSample.cpp:(.text+0x726): undefined reference to `VixDiskLib_Clone'

vixDiskLibSample.cpp:(.text+0x733): undefined reference to `VixDiskLib_Disconnect'

/tmp/cceC4nxk.o: In function `DoDump()':

 

 

...

 

 

..

 

 

also when I check if the said ".pc" file exist I found it in following location

 

 

:~/vddk/vmware-vix-disklib-distrib/doc/sample # find / -name vix-disklib.pc

/usr/lib/pkgconfig/vix-disklib.pc

 

 

 

So it seems that the package is installed correctly. Can anybody help?

 

 


Viewing all articles
Browse latest Browse all 2039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>