Hallo erstmal,

ich versuche seit längeren den Monitord auf Ubuntu 16.04 LTS zu kompilieren und stoße laufend auf Hindernisse, die ich zwar teilweise lösen konnte aber langsam gehen mir die Ideen aus.

erst ließen sich die scripte "configure" und "autogen.sh" nicht starten, was ich mit folgenden Einträgen in die "configure.ac" beheben konnte:

Code:
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
nun konnte ich das autogen.sh script starten und erhielt folgende Ausgabe:

Code:
automake-1.15: warnings are treated as errors
Makefile.am:2: warning: ':='-style assignments are not portable
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'monitord/plugins/libmplugin_audiorecorder.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:117:   while processing Libtool library 'monitord/plugins/libmplugin_audiorecorder.la'
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'monitord/plugins/libmplugin_audiorecorderSOX.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:113:   while processing Libtool library 'monitord/plugins/libmplugin_audiorecorderSOX.la'
/usr/share/automake-1.15/am/ltlibrary.am: warning: 'monitord/plugins/libmplugin_mysql.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:130:   while processing Libtool library 'monitord/plugins/libmplugin_mysql.la'
Makefile:501: die Regel für Ziel „Makefile.in“ scheiterte
make: *** [Makefile.in] Fehler 1
das habe ich gelöst, indem ich in der Makefile.am den doppelpunkt vor dem "=" gelöscht habe.

nun habe ich versucht das ganze Procedere nochmal durchgeführt und bin bei dem Befehl "make" hängen geblieben wo ich folgende Ausgabe bekam:

Code:
make  all-am
make[1]: Verzeichnis „/home/stephan“ wird betreten
g++ -DHAVE_CONFIG_H -I.  -Ijthread-1.2.1/src -D_DEBUG -Wall       -g -O2 -MT monitord/monitord_monitord-Monitor.o -MD -MP -MF monitord/.deps/monitord_monitord-Monitor.Tpo -c -o monitord/monitord_monitord-Monitor.o `test -f 'monitord/Monitor.cpp' || echo './'`monitord/Monitor.cpp
mv -f monitord/.deps/monitord_monitord-Monitor.Tpo monitord/.deps/monitord_monitord-Monitor.Po
g++ -DHAVE_CONFIG_H -I.  -Ijthread-1.2.1/src -D_DEBUG -Wall       -g -O2 -MT monitord/monitord_monitord-MonitorAudio.o -MD -MP -MF monitord/.deps/monitord_monitord-MonitorAudio.Tpo -c -o monitord/monitord_monitord-MonitorAudio.o `test -f 'monitord/MonitorAudio.cpp' || echo './'`monitord/MonitorAudio.cpp
mv -f monitord/.deps/monitord_monitord-MonitorAudio.Tpo monitord/.deps/monitord_monitord-MonitorAudio.Po
g++ -DHAVE_CONFIG_H -I.  -Ijthread-1.2.1/src -D_DEBUG -Wall       -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:22:   required from ‘int CSimpleGlobTempl::Add(int, const SOCHAR* const*) [with SOCHAR = char]’
monitord/MonitorConfiguration.cpp:334:62:   required from here
./simpleopt/SimpleGlob.h:623:41: 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:41: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:623:41: note: use ‘this->GetFileTypeS’ instead
./simpleopt/SimpleGlob.h:644:28: 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:28: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:644:28: note: use ‘this->FindFirstFileS’ instead
./simpleopt/SimpleGlob.h:657:41: 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:41: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:657:41: note: use ‘this->GetFileNameS’ instead
./simpleopt/SimpleGlob.h:657:60: 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:60: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:657:60: note: use ‘this->IsDirS’ instead
./simpleopt/SimpleGlob.h:658:33: 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:33: note: declarations in dependent base ‘SimpleGlobBase’ are not found by unqualified lookup
./simpleopt/SimpleGlob.h:658:33: note: use ‘this->FindNextFileS’ instead
Makefile:1177: die Regel für Ziel „monitord/monitord_monitord-MonitorConfiguration.o“ scheiterte
make[1]: *** [monitord/monitord_monitord-MonitorConfiguration.o] Fehler 1
make[1]: Verzeichnis „/home/stephan“ wird verlassen
Makefile:657: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
wenn ich ehrlich bin, gehen mir so langsam die Ideen aus wie ich das Programm noch ans Laufen bekomme...
Ich hoffe hier im Forum hat jemand noch eine Idee oder eine Anleitung parat, welche mir weiterhilft...

Grüße
Mohadib