die Pakete für LUA haben vorher auf jeden Fall gefehlt...
Code:
sudo apt-get install autoconf libtool libasound2-dev medit
sudo apt-get install lua5.2 liblua5.2-dev
sudo autoreconf -fi # => schlägt fehl
# Makefile.a:2 ":" entfernt
echo "m4_ifdef([AM_PROG_AR], [AM_PROG_AR])" >> configure.ac
echo LT_INIT >> configure.ac
sudo autoreconf -fi # => läuft durch
./configure --with-alsa --with-lua-includes=/usr/include/lua5.2 --with-lua-suffix=5.2
ein folgendes make endet auch wieder mit Fehler...
Code:
make all-am
make[1]: Entering directory '/home/srv/monitord-bin+src'
g++ -DHAVE_CONFIG_H -I. -Ijthread-1.2.1/src -D_DEBUG -Wall -I/usr/include/lua5.2 -g -O2 -MT monitord/monitord_monitord-MonitorConfiguration.o -MD -MP -MF monitord/.deps/monitord_monitord-MonitorConfiguration.Tpo -c -o monitord/monitord_monitord-MonitorConfiguration.o `test -f 'monitord/MonitorConfiguration.cpp' || echo './'`monitord/MonitorConfiguration.cpp
Makefile:1165: recipe for target 'monitord/monitord_monitord-MonitorConfiguration.o' failed
make[1]: Leaving directory '/home/srv/monitord-bin+src'
Makefile:644: recipe for target 'all' failed
make all-am
make[1]: Entering directory '/home/srv/monitord-bin+src'
g++ -DHAVE_CONFIG_H -I. -Ijthread-1.2.1/src -D_DEBUG -Wall -I/usr/include/lua5.2 -g -O2 -MT monitord/monitord_monitord-MonitorConfiguration.o -MD -MP -MF monitord/.deps/monitord_monitord-MonitorConfiguration.Tpo -c -o monitord/monitord_monitord-MonitorConfiguration.o `test -f 'monitord/MonitorConfiguration.cpp' || echo './'`monitord/MonitorConfiguration.cpp
In file included from monitord/MonitorConfiguration.cpp:16:0:
./simpleopt/SimpleGlob.h: In instantiation of ‘int CSimpleGlobTempl::Add(const SOCHAR*) [with SOCHAR = char]’:
./simpleopt/SimpleGlob.h:687:41: required from ‘int CSimpleGlobTempl::Add(int, const SOCHAR* const*) [with SOCHAR = char]’
monitord/MonitorConfiguration.cpp:334:62: required from here
./simpleopt/SimpleGlob.h:623:55: error: ‘GetFileTypeS’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
SG_FileType nType = GetFileTypeS(a_pszFileSpec);
^
./simpleopt/SimpleGlob.h:623:55: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:623:55: note: use ‘this->GetFileTypeS’ instead
./simpleopt/SimpleGlob.h:644:53: error: ‘FindFirstFileS’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
int rc = FindFirstFileS(a_pszFileSpec, m_uiFlags);
^
./simpleopt/SimpleGlob.h:644:53: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:644:53: note: use ‘this->FindFirstFileS’ instead
./simpleopt/SimpleGlob.h:657:51: error: ‘GetFileNameS’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
nError = AppendName(GetFileNameS((SOCHAR)0), IsDirS((SOCHAR)0));
^
./simpleopt/SimpleGlob.h:657:51: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:657:51: note: use ‘this->GetFileNameS’ instead
./simpleopt/SimpleGlob.h:657:70: error: ‘IsDirS’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
nError = AppendName(GetFileNameS((SOCHAR)0), IsDirS((SOCHAR)0));
^
./simpleopt/SimpleGlob.h:657:70: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:657:70: note: use ‘this->IsDirS’ instead
./simpleopt/SimpleGlob.h:658:43: error: ‘FindNextFileS’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
bSuccess = FindNextFileS((SOCHAR)0);
^
./simpleopt/SimpleGlob.h:658:43: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:658:43: note: use ‘this->FindNextFileS’ instead
Makefile:1165: recipe for target 'monitord/monitord_monitord-MonitorConfiguration.o' failed
make[1]: *** [monitord/monitord_monitord-MonitorConfiguration.o] Error 1
make[1]: Leaving directory '/home/srv/monitord-bin+src'
Makefile:644: recipe for target 'all' failed
make: *** [all] Error 2
Weiß jemand weiter?