Page 1 of 1

Unable to build CL 2959 on Linux

Posted: Sun Sep 13, 2009 8:05 pm
by marfi
Hi,
I'd like to report that CL rev 2959 cannot be built on Linux due to this error:

Code: Select all

----------Building project:[ codelite_indexer - Release ]----------

test -d Release || mkdir Release
g++   -O2    -c utils.cpp -DHAVE_CONFIG_H -I. -Ilibctags -o Release/utils.o
utils.cpp: In function ‘void execute_command(const std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)’:
utils.cpp:147: error: ‘memset’ was not declared in this scope
utils.cpp: In function ‘bool is_process_alive(long int)’:
utils.cpp:204: error: ‘atol’ was not declared in this scope
make[1]: *** [Release/utils.o] Error 1
make[1]: Leaving directory `/home/michal/Src/Projekty/CodeLite/sdk/codelite_indexer'
make: *** [codelite_indexer] Error 2
I tried to clean, configure and make the whole project but the error persists.

Regards
Michal

Re: Unable to build CL 2959 on Linux

Posted: Sun Sep 13, 2009 8:14 pm
by eranif
Seems to compile on my linux box :)

however, I added the missing include files and committed it (revision 2960)

Eran

Re: Unable to build CL 2959 on Linux

Posted: Sun Sep 13, 2009 9:07 pm
by marfi
Now it compiles OK. Thank you for the quick response!
Best regards
Michal