Lotus Notes / Domino Sonstiges > Projekt Bereich
Trigger Happy unter LINUX
eknori:
Hier http://atnotes.de/index.php/topic,46943.msg301850.html#msg301850 haben wir ja bereits angefangen, über das Thema Portierung nach Linux zu diskutieren.
Ich löse die Diskussion jetzt mal heraus und fange diesen neuen Thread an.
In mühsamer Kleinarbeit habe ich den Code soweit abgeändert, dass er (fast) fehlerfrei kompiliert.
Es gibt da aber ein paar Dinge, die ich einfach nicht hinbekomme. deshalb im Anhang mein vorläufiges Ergebnis.
Hier noch die Fehler, die der Compiler auswirft:
--- Zitat ---skynet:/opt/ibm/lotus/notescpp/th # make -f linux.mak
make: Warning: File `linux.mak' has modification time 34 s in the future
g++ -fpermissive -c -march=i586 -march=i586 -w -Os -DUNIX -DLINUX -DLINUX20 -DPTHREAD_KERNEL -D_REENTRANT -DUSE_THREADSAFE_INTERFACES -D_POSIX_THREAD_SAFE_FUNCTIONS -DHANDLE_IS_32BITS -DHAS_BOOL -DHAS_DLOPEN -DFUTUREUNIX1 -DUSE_PTHREAD_INTERFACES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/opt/ibm/lotus/notescpp/include triggerhappy.cpp
utilities.h:50: error: âCRITICAL_SECTIONâ does not name a type
utilities.h: In constructor âMutex::Mutex()â:
utilities.h:25: error: âcsâ was not declared in this scope
utilities.h:25: error: âInitializeCriticalSectionâ was not declared in this scope
utilities.h: In destructor âMutex::~Mutex()â:
utilities.h:30: error: âcsâ was not declared in this scope
utilities.h:30: error: âDeleteCriticalSectionâ was not declared in this scope
utilities.h: In member function âvoid Mutex::Lock()â:
utilities.h:38: error: âcsâ was not declared in this scope
utilities.h:38: error: âEnterCriticalSectionâ was not declared in this scope
utilities.h: In member function âvoid Mutex::Unlock()â:
utilities.h:46: error: âcsâ was not declared in this scope
utilities.h:46: error: âLeaveCriticalSectionâ was not declared in this scope
utilities.h: In constructor âThreadLocalStorage::ThreadLocalStorage()â:
utilities.h:114: error: âTlsAllocâ was not declared in this scope
utilities.h: In destructor âThreadLocalStorage::~ThreadLocalStorage()â:
utilities.h:119: error: âTlsFreeâ was not declared in this scope
utilities.h: In member function âvoid* ThreadLocalStorage::Get()â:
utilities.h:124: error: âTlsGetValueâ was not declared in this scope
utilities.h: In member function âvoid ThreadLocalStorage::Set(void*)â:
utilities.h:129: error: âTlsSetValueâ was not declared in this scope
triggerhappy.cpp: In function âSTATUS ExtMgrCallback(EMRECORD*)â:
triggerhappy.cpp:347: note: if this code is reached, the program will abort
triggerhappy.cpp:373: note: if this code is reached, the program will abort
triggerhappy.cpp:382: note: if this code is reached, the program will abort
triggerhappy.cpp:417: note: if this code is reached, the program will abort
triggerhappy.cpp:430: note: if this code is reached, the program will abort
triggerhappy.cpp: In function âvoid EnsureCache(bool)â:
triggerhappy.cpp:780: error: âGetTickCountâ was not declared in this scope
make: *** [triggerhappy.o] Error 1
--- Ende Zitat ---
eknori:
wieder ein Stück weiter: Die Mutex Klasse muss umgeschrieben werden
http://www.ibm.com/developerworks/linux/library/l-ipc2lin3.html
m3:
Magst Du den Source nichta auf GitHub oder so stellen? Ev. gibts ein paar Leute, die Dir helfen können/wollen. ;)
m3:
Ev. mit der Pthreads Library http://world.std.com/~jmhart/opensource.htm "verbessern"?
eknori:
Trigger Happy hat jetzt einen neuen Project Chef ...
Über die Weihnachtstage habe ich sicherlich ein wenig Muße, mit tiefer in die Materie einzuarbeiten.
Wer sich berufen fühlt, hier mitzumachen, der möge sich bitte melden.
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln