Unable to build CL 2959 on Linux

CodeLite installation/troubleshooting forum
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Unable to build CL 2959 on Linux

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Unable to build CL 2959 on Linux

Post by eranif »

Seems to compile on my linux box :)

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

Eran
Make sure you have read the HOW TO POST thread
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Unable to build CL 2959 on Linux

Post by marfi »

Now it compiles OK. Thank you for the quick response!
Best regards
Michal
Post Reply