aMule Forum
English => Compilation problems => Topic started by: IhmSelbst on January 14, 2006, 07:58:24 AM
-
seems, todays cvs at least doesn´t like my suses anymore. ;( - same error occurs on 9.3, 10.0 and on 10.1alpha4:
CFile.cpp: In member function 'bool CFile::Flush()':
CFile.cpp:308: error: 'commit' was not declared in this scope
make[3]: *** [libmuleappcommon_a-CFile.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.80602 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.80602 (%build)
cu
-
That's weird, seeing your post, I thought I should have the same hitch on Mandriva, but all went right to the end. What should be different in Suse ?
-
/me looks for xaignar
as a workaround try adding
#define FLUSH_FD(x) fsync(x)
in line 139 and see if it compiles....
-
Originally posted by stefanero
/me looks for xaignar
as a workaround try adding
#define FLUSH_FD(x) fsync(x)
in line 139 and see if it compiles....
Nothing to do. After (and also before) the change, I have the same error (on my debian SID).
CFile.cpp: In member function 'bool CFile::Flush()':
CFile.cpp:309: error: 'commit' was not declared in this scope
make[3]: *** [libmuleappcommon_a-CFile.o] Error 1
make[3]: Leaving directory `/var/home/gandy/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/home/gandy/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/home/gandy/amule/amule-cvs'
make: *** [all] Error 2
-
Sorry, I thought I could spare a few custom defines by using wx ones. Seems that those dont work as expected. To workaround it for now, replace 'wxFsync' with 'fsync'.
-
Originally posted by Xaignar
... To workaround it for now, replace 'wxFsync' with 'fsync'.
hi again,
bingo - replaced 'wxFsync' with 'fsync' in CFile.cpp, and it works. :D :baby:
thanks.
btw:
pse excuse the late reply, but the rl... :]
cu
-
addition:
today´s cvs compiles fine here again, as usual. :)
:baby:
cu