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

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

Ritratto di Rebecca M.

http://software.intel.com/en-us/articles/download-the-latest-intel-amt-o... — 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

3 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Gael Hofemeier (Intel)

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.

Follow me on Twitter: @GHIntelBlogs Facebook: https://www.facebook.com/gh.intelblogs
Ritratto di sharath padman

hi tried adding 

#include <unistd.h>

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

Accedere per lasciare un commento.