Openlitespeed compile error in ArchLinux

36 views
Skip to first unread message

MrViK

unread,
Aug 1, 2017, 12:15:17 PM8/1/17
to OpenLiteSpeed Development
Openlitespeed can be found here, but it doesn't compile. On this comment the error is reported. I think it's a develop error. Please fix it as soon as possible in order to arch users to continue using it.
Error log:

g++ -DHAVE_CONFIG_H -I. -I../../src -I../../openssl/include/ -I../../include -I../../src -D_FORTIFY_SOURCE=2 -I../../ssl/include -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg -I/usr/include -I/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/thirdparty/udns-0.4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector -MT modulemanager.o -MD -MP -MF .deps/modulemanager.Tpo -c -o modulemanager.o modulemanager.cpp
In file included from ../../src/lsiapi/moduletimer.h:22:0,
from modulemanager.cpp:27:
../../src/util/gmap.h: En la función miembro ‘TMap<T>::const_iterator TMap<T>::find(const void*) const’:
../../src/util/gmap.h:180:31: error: no matching function for call to ‘TMap<T>::find(const void*&) const’
{ return GMap::find(pKey); }
^
../../src/util/gmap.h:71:14: nota: candidate: GMap::GMapNode* GMap::find(const void*) <coincidencia cercana>
iterator find(const void *pKey)
^~~~
../../src/util/gmap.h:71:14: nota: passing ‘const TMap<T>*’ as ‘this’ argument discards qualifiers
modulemanager.cpp: En la función ‘void checkModuleDef(lsi_module_t*)’:
modulemanager.cpp:247:14: aviso: se descarta el valor de devolución de ‘char* fgets(char*, int, FILE*)’, se declaró con el atributo warn_unused_result [-Wunused-result]
fgets(sLine, 255, fp);
~~~~~^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:387: modulemanager.o] Error 1
make[3]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src/lsiapi'
make[2]: *** [Makefile:2097: all-recursive] Error 1
make[2]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src'
make[1]: *** [Makefile:535: all] Error 2
make[1]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src'
make: *** [Makefile:396: all-recursive] Error 1
Reply all
Reply to author
Forward
0 new messages