Hallo!
Ich versuche, Linux-Kontor auf Suse 8.2 zu installieren. Dazu benutze ich den
kontor-installer von bytesitter.
Der kontor-installer will an einer Stelle c+±quelltext kompilieren und
benutzt dazu das Kommando
c++ -Wall -g -I. -c as-auth.cc
Dann gibt es aber Fehlermeldungen:
In file included from as-auth.cc:3:
as-auth.h:8: error: parse error before &' token as-auth.h:9: error: ISO C++ forbids defining types within return type as-auth.h:9: error: destructors must be member functions as-auth.h:9: error: return type specification for destructor invalid as-auth.h:11: error: parse error before
&’ token
as-auth.h:11: error: non-member function bool checkPasswd(...)' cannot have
const’ method qualifier
as-auth.h:12: error: parse error before )' token as-auth.cc:7: error: parse error before
&’ token
as-auth.cc:8: error: no bool AuthTool::checkPasswd(...) const' member function declared in class
AuthTool’
as-auth.cc: In member function bool AuthTool::checkPasswd(...) const': as-auth.cc:9: error:
cs’ undeclared (first use this function)
[und so weiter …]
Das, find ich, sieht so aus, als ob der compiler die Headerdateien oder sonst
irgendwas nicht finden würd.
in as-auth.h ist aber nur header string eingebunden:
#include
und in as-auth.cc:
#include
#include „as-auth.h“
Und ich glaub nicht, dass das Problem am Quelltext liegt, weil der ist ja schon
in mehreren Versionen getestet.
Kann mir jemand weiterhelfen?
Danke im Voraus
Ursula.