Intel® Business Client Software Development
Support for Intel® vPro™ software development and technologies associated with Intel vPro platforms.
1388 Discussions

Intel Local Management Service (LMS) 8 for Linux does not compile

Rebecca_M_
Beginner
1,873 Views

http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers — lms-8.0.0-7.tar.gz

Platform is Ubuntu 13.04 Server amd64, gcc 4.7.3 and concomitant toolchain. config script proceeds with no warnings or errors. g++ fails here:

localhost lms-8.0.0-7 [0]# ./configure --prefix=/opt > /dev/null && make
make  all-recursive
make[1]: Entering directory `/usr/src/lms-8.0.0-7'
Making all in src
make[2]: Entering directory `/usr/src/lms-8.0.0-7/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -g -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
    then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -g -O2 -Wall -MT LMEConnection.o -MD -MP -MF ".deps/LMEConnection.Tpo" -c -o LMEConnection.o LMEConnection.cpp; \
    then mv -f ".deps/LMEConnection.Tpo" ".deps/LMEConnection.Po"; else rm -f ".deps/LMEConnection.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -g -O2 -Wall -MT glue.o -MD -MP -MF ".deps/glue.Tpo" -c -o glue.o glue.cpp; \
    then mv -f ".deps/glue.Tpo" ".deps/glue.Po"; else rm -f ".deps/glue.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -g -O2 -Wall -MT ATVersion.o -MD -MP -MF ".deps/ATVersion.Tpo" -c -o ATVersion.o `test -f 'tools/ATVersion.cpp' || echo './'`tools/ATVersion.cpp; \
    then mv -f ".deps/ATVersion.Tpo" ".deps/ATVersion.Po"; else rm -f ".deps/ATVersion.Tpo"; exit 1; fi
tools/ATVersion.cpp: In static member function ‘static bool ATVersion::IsAppRunning(const char*, std::list<long unsigned int>&)’:
tools/ATVersion.cpp:155:67: error: ‘readlink’ was not declared in this scope
tools/ATVersion.cpp: In static member function ‘static std::string ATVersion::GetAppPathByPid(long unsigned int)’:
tools/ATVersion.cpp:194:44: error: ‘readlink’ was not declared in this scope
make[2]: *** [ATVersion.o] Error 1
make[2]: Leaving directory `/usr/src/lms-8.0.0-7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lms-8.0.0-7'
make: *** [all] Error 2

0 Kudos
3 Replies
Gael_H_Intel
Moderator
1,873 Views

Currently the Intel AMT tools/samples are validated only with Redhat and Suse distributions. I beleive we are adding Ubuntu support with AMT 9.5 SDK which hasn't been posted to the community yet.

0 Kudos
sharath_padman
Beginner
1,873 Views

hi tried adding 

#include <unistd.h>

header in tools/ATVersion.cpp and tried to make the file. it got compiled without any errors

0 Kudos
h__j
Beginner
1,873 Views

That is insufficient for me. use the patch at:

https://github.com/google/amt-forensics/blob/master/README.md

0 Kudos
Reply