# Raspberry Pi compile issues

**URL:** https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366
**Category:** The Garage
**Created:** [March 7, 2013, 6:52am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366 "2013-03-07T06:52:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![blue\_jay](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@blue\_jay](https://discourse.cataclysmdda.org/u/blue_jay)
#### Post date: [March 7, 2013, 6:52am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/1 "2013-03-07T06:52:28Z")

</div>

I’m trying to compile on a raspberry pi, code gited (got?) twelve hours ago, rasbian distrobution.

Goes fine, until itypedef.o, which seems to hang for 5 times longer than other files, before make reports error number 4. Tried make clean, no luck.

Has anybody else enountered this problem on the Pi, or other systems?

EDIT

`g++: internal compiler error: killed (program cc1plus)
Please submit a full bug report,
with preprocessed code if appropriate.
See blah blah blah for instructions
make: ***[obj/itypedef.o] Error 4`

---

<div class="post-metadata">

### Author: ![LazyCat](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LazyCat](https://discourse.cataclysmdda.org/u/LazyCat)
#### Post date: [March 7, 2013, 3:10pm UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/2 "2013-03-07T15:10:55Z")

</div>

That sounds familiar, I think it has to do with either console memory or compiler memory settings. Changing some memory allocation option should fix the problem. Note that “itypedef” does take more time to compile, at first I thought I have that same problem, but then I let it compile and it eventually did. I guess you could also try compiling itypedef separately by itself, or restart Pi and continue to compile from where it left off. Also try some minimal boot to get as much free memory as possible. Alternatively find what “Error 4” exactly means, I couldn’t.

---

<div class="post-metadata">

### Author: ![blue\_jay](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@blue\_jay](https://discourse.cataclysmdda.org/u/blue_jay)
#### Post date: [March 7, 2013, 6:46pm UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/3 "2013-03-07T18:46:19Z")

</div>

Solved, thank you very much. You were right, changing the ram allocation with raspi-config solved the problem. Forgot that i’d been watching movies with the pi last. Thanks again.

---

<div class="post-metadata">

### Author: ![LazyCat](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LazyCat](https://discourse.cataclysmdda.org/u/LazyCat)
#### Post date: [March 7, 2013, 8:01pm UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/4 "2013-03-07T20:01:04Z")

</div>

Cool. Can you let me know if you can get 80x50 resolution console? On my Linux I do it by booting with VGA=1 boot option, but I have no idea if embedded GPUs support VGA standards in the same way desktop video cards do. I guess it should be about the same, one way or another.

---

<div class="post-metadata">

### Author: ![blue\_jay](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@blue\_jay](https://discourse.cataclysmdda.org/u/blue_jay)
#### Post date: [March 14, 2013, 4:51am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/5 "2013-03-14T04:51:38Z")

</div>

I changed the console font on my pi using setfont /usr/share/consolefonts/whateverfontyouchoose, not sure If that’s a different way to solve your general problem.

---

<div class="post-metadata">

### Author: ![LazyCat](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LazyCat](https://discourse.cataclysmdda.org/u/LazyCat)
#### Post date: [March 14, 2013, 6:00am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/6 "2013-03-14T06:00:34Z")

</div>

> [@blue\_jay](#):
>
> I changed the console font on my pi using setfont /usr/share/consolefonts/whateverfontyouchoose, not sure If that’s a different way to solve your general problem.

So how does it run? Fast enough? Any differences compared to PC?

---

<div class="post-metadata">

### Author: ![wad67](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wad67/32/7_2.png) [@wad67](https://discourse.cataclysmdda.org/u/wad67)
#### Post date: [March 14, 2013, 6:13am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/7 "2013-03-14T06:13:12Z")

</div>

It compiled in a good hour or so on mine, and it runs kinda slow.

---

<div class="post-metadata">

### Author: ![LazyCat](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LazyCat](https://discourse.cataclysmdda.org/u/LazyCat)
#### Post date: [March 14, 2013, 10:50am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/8 "2013-03-14T10:50:26Z")

</div>

> [@wad67](#):
>
> It compiled in a good hour or so on mine, and it runs kinda slow.

Try this, it should be noticably faster:

> **[cat-11mar\_rev3](https://www.mediafire.com/?kzbw5lajzxncjhb)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

Let me know how it goes if you get around to test it.

---

<div class="post-metadata">

### Author: ![wad67](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wad67/32/7_2.png) [@wad67](https://discourse.cataclysmdda.org/u/wad67)
#### Post date: [March 17, 2013, 9:02am UTC](https://discourse.cataclysmdda.org/t/raspberry-pi-compile-issues/366/9 "2013-03-17T09:02:38Z")

</div>

I will check it out when I get home, but it may be a while until I get it all going again.
