<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sax1johno</id>
		<title>Gumstix User Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sax1johno"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Sax1johno"/>
		<updated>2026-05-17T19:31:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Build_Environment_Ubuntu_9.04&amp;diff=3003</id>
		<title>Build Environment Ubuntu 9.04</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Build_Environment_Ubuntu_9.04&amp;diff=3003"/>
				<updated>2009-04-11T18:12:20Z</updated>
		
		<summary type="html">&lt;p&gt;Sax1johno: Changed the build instructions to include instructions for using Ubuntu on the host computer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This the current set-up for Ubuntu 8.10 with file modifications as described [http://www.nabble.com/Ubuntu-8.10-and-Open-Embeded-td21136352.html on this thread]. gumstix-oe version is 318.&lt;br /&gt;
&lt;br /&gt;
== Setup Build Environment ==&lt;br /&gt;
1) Get Ubuntu linux 8.10, and install it on your computer; you can install a vmware version of Ubuntu too, but it will be slow during the building process.&lt;br /&gt;
&lt;br /&gt;
Reconfigure sh to point to bash, not dash:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
Answer no when asked whether you want to install dash as /bin/sh. &lt;br /&gt;
&lt;br /&gt;
2) Install (build-essential, help2man, diffstat, texi2html, texinfo, libncurses5-dev, cvs, gawk, python-dev, python-pysqlite2, python-psyco, ckermit, lrzsz, subversion) by using apt-get. i.e:&lt;br /&gt;
 sudo apt-get install build-essential help2man diffstat texi2html texinfo libncurses5-dev cvs gawk python-dev python-pysqlite2 python-psyco ckermit lrzsz subversion&lt;br /&gt;
&lt;br /&gt;
3) Download the source from svn, caching the source code&lt;br /&gt;
 mkdir ~/gumstix &lt;br /&gt;
 cd ~/gumstix &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co https://gumstix.svn.sourceforge.net/svnroot/gumstix/trunk gumstix-oe&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cat gumstix-oe/extras/profile &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
 sudo groupadd oe&lt;br /&gt;
 sudo usermod -a -G oe YOUR_CURRENT_USERNAME&lt;br /&gt;
 sudo mkdir /usr/share/sources&lt;br /&gt;
 sudo chgrp oe /usr/share/sources&lt;br /&gt;
 sudo chmod 0775 /usr/share/sources&lt;br /&gt;
 sudo chmod ug+s /usr/share/sources&lt;br /&gt;
&lt;br /&gt;
4) Downgrade to gcc-4.1 and g++-4.1 and change the links:&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install gcc-4.1 g++-4.1&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc&lt;br /&gt;
 sudo ln -sf /usr/bin/g++-4.1 /usr/bin/g++&lt;br /&gt;
&lt;br /&gt;
Check the links are correct using:&lt;br /&gt;
&lt;br /&gt;
 ls -l /usr/bin/gcc&lt;br /&gt;
 ls -l /usr/bin/g++&lt;br /&gt;
&lt;br /&gt;
5) Log out and log in again.&lt;br /&gt;
&lt;br /&gt;
6) Build the basic image, it will fail with an error in dbus:&lt;br /&gt;
&lt;br /&gt;
 bitbake gumstix-basic-image&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus/dbus-sysdeps-unix.c&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add this struct,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
struct ucred { &lt;br /&gt;
   unsigned int pid; &lt;br /&gt;
   unsigned int uid; &lt;br /&gt;
   unsigned int gid; &lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
after the macros.&lt;br /&gt;
&lt;br /&gt;
7) Build the basic image, it will fail with an error in sumversion:&lt;br /&gt;
&lt;br /&gt;
 bitbake gumstix-basic-image&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21/scripts/mod/sumversion.c&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add this line, &lt;br /&gt;
&lt;br /&gt;
  #include &amp;lt;limits.h&amp;gt; &lt;br /&gt;
&lt;br /&gt;
after all of the other includes.&lt;br /&gt;
&lt;br /&gt;
8) Build the basic image again, this time it should work:&lt;br /&gt;
&lt;br /&gt;
 bitbake gumstix-basic-image&lt;br /&gt;
&lt;br /&gt;
9) If everything builds ok, it could be a good idea to modify the dbus-sysdeps-unix.c and sumversion.c files is their respective packages in /usr/share/sources as otherwise everytime you do a rebuild they will be wiped.&lt;br /&gt;
&lt;br /&gt;
[[Category:How_to_-_general]]&lt;br /&gt;
[[Category:How_to_-_Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Sax1johno</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Installing_Ubuntu_9.04_on_Gumstix_Overo&amp;diff=3002</id>
		<title>Installing Ubuntu 9.04 on Gumstix Overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Installing_Ubuntu_9.04_on_Gumstix_Overo&amp;diff=3002"/>
				<updated>2009-04-11T18:01:49Z</updated>
		
		<summary type="html">&lt;p&gt;Sax1johno: Moved the build environment notes to here, and removed the previous article.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For some installation instructions for Ubuntu on the Gumstix Overo, [http://johnwoconnor.blogspot.com/2009/04/installing-ubuntu-on-gumstix-overo.html click here].  It's a mashup of some other tutorials that results in a working installation of Ubuntu 9.04.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the [http://johnwoconnor.blogspot.com/2009/04/ubuntu-904-on-gumstick.html previous post] has some images.  Video to come.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
John O'Connor &amp;lt;john.oconnor@myokapi.net&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:How_to_-_general]]&lt;br /&gt;
[[Category:How_to_-_Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Sax1johno</name></author>	</entry>

	</feed>