07-28-07 12:18 PM
Hi,
I used WxWidgets when writing my application.
When I tried to compile my application on my mips machine I got out-of-
memory problem.
I have 256M dram on my machine and I my linux kernel is 2.6.10.
Could it be the that compilayion takes so much memory? I am building a
very simple GUI....
The message I get when I compile is:
/usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-
punned pointer will break strict-aliasing rules
/usr/local/include/wx-2.8/wx/gtk/filepicker.h: At global scope:
/usr/local/include/wx-2.8/wx/gtk/filepicker.h:112: warning: unused
parameter #windows#
/usr/local/include/wx-2.8/wx/gtk/filepicker.h:174: warning: unused
parameter #windows#
oom-killer: gfp_mask=0x1d2
DMA per-cpu:
cpu 0 hot: low 32, high 96, batch 16
cpu 0 cold: low 0, high 32, batch 16
Normal per-cpu: empty
HighMem per-cpu: empty
...
...
...
Out of Memory: Killed process 2883 (as).
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
When I type free before starting compilation I get:
#free
total used free shared buffers
cached
Mem: 255352 142624 112728 0 12140
71772
-/+ buffers/cache: 58712 196640
Swap: 0 0 0
Thanks a lot!
[ Post a follow-up to this message ]
|