Tag Archives: errors

errors , bugs and how to fix this

Segmentation fault : error 6 in ld- .. .so

You can solve this error:

by using this:

If you want to execute the prelink script daily , then go on:

error: ‘memset’ was not declared in this scope

If you receive: error: ‘memset’ was not declared in this scope

Fix it by including: #include <cstring> in the source of C++file. If you use C than use : #include <string.h> .

C::B bad compiler selection.

Under codeblocks if you select a bad compiler, you got this error:

Click right under project and select Buil Options….Now select your compiler.

warning: deprecated conversion from string constant to ‘char*’

I might encounter when I compile with code::blocks one C++ file.

You won’t get that error .

So , you need to make an explicit typecast: