You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am setting up the guest Ubuntu-22.04. I am trying to build libbdvmi and this is the error I am getting.
make all-recursive
make[1]: Entering directory '/home/hvmi/gitrepos/libbdvmi/build'
Making all in src
make[2]: Entering directory '/home/hvmi/gitrepos/libbdvmi/build/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/hvmi/gitrepos/libbdvmi/build/src'
Making all in include
make[2]: Entering directory '/home/hvmi/gitrepos/libbdvmi/build/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/hvmi/gitrepos/libbdvmi/build/include'
Making all in examples
make[2]: Entering directory '/home/hvmi/gitrepos/libbdvmi/build/examples'
/bin/bash ../libtool --tag=CXX --mode=link g++ -std=gnu++14 -I/include -W -Wall -DXC_WANT_COMPAT_MAP_FOREIGN_API -DXC_WANT_COMPAT_EVTCHN_API -DXC_WANT_COMPAT_DEVICEMODEL_API -O2 -L/lib -Wl,-rpath,/lib -o hookguest hookguest.o ../src/libbdvmi.la -ldl -lxenstore -lxenctrl
libtool: link: g++ -std=gnu++14 -I/include -W -Wall -DXC_WANT_COMPAT_MAP_FOREIGN_API -DXC_WANT_COMPAT_EVTCHN_API -DXC_WANT_COMPAT_DEVICEMODEL_API -O2 -Wl,-rpath -Wl,/lib -o .libs/hookguest hookguest.o -L/lib ../src/.libs/libbdvmi.so -ldl -lxenstore -lxenctrl -pthread
/usr/bin/ld: ../src/.libs/libbdvmi.so: undefined reference to `kvmi_set_ept_page_conv'
/usr/bin/ld: ../src/.libs/libbdvmi.so: undefined reference to `kvmi_get_ept_page_conv'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:397: hookguest] Error 1
make[2]: Leaving directory '/home/hvmi/gitrepos/libbdvmi/build/examples'
make[1]: *** [Makefile:468: all-recursive] Error 1
make[1]: Leaving directory '/home/hvmi/gitrepos/libbdvmi/build'
make: *** [Makefile:377: all] Error 2
I don't know what to do. Can you please help me resolve this issue? I didn't find any help online about this. I have checked build/src/.lib/ folder for libbdvmi.so and I found it. By the way these are the steps I followed(Same as mentioned int he documentation).
sudo apt install libboost-all-dev libxen-dev pkg-config uuid-dev
git clone https://github.com/bitdefender/libbdvmi.git
cd libbdvmi
./bootstrap
mkdir build
cd build
../configure --prefix=/usr/local --enable-kvmi --enable-optimize
make
sudo make install
The text was updated successfully, but these errors were encountered:
I am setting up the guest Ubuntu-22.04. I am trying to build libbdvmi and this is the error I am getting.
I don't know what to do. Can you please help me resolve this issue? I didn't find any help online about this. I have checked build/src/.lib/ folder for libbdvmi.so and I found it. By the way these are the steps I followed(Same as mentioned int he documentation).
The text was updated successfully, but these errors were encountered: