I've been successful.
What errors are you getting? I did have to make a few modifications
in code:
I ran into a dbus compile error. Workaround:
Edit gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/
dbus-1.0.1/dbus/dbus-sysdeps-unix.c
Add this struct:
struct ucred {
unsigned int pid;
unsigned int uid;
unsigned int gid;
};
Then in this file:
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
Add:
1 include <limits.h>
after all of the other includes.
On Jan 23, 2009, at 9:29 PM, p.g.adamczyk wrote:
>
> We have encountered precisely these same errors when trying to
> "bitbake
> robostix" here. Just wondering if anyone has had success moving past
> them.
>
> Our (desired) configuration is:
> Verdex xm4bt, Netwifimicrosd, Robostix
> Using latest image from svn as of earlier this week.
>
> Build machine is an x86 machine with Ubuntu 8.10
>
> Steps taken so far:
> 1) Downgraded gcc and g++ to version 4.1.2 (in order to get "bitbake
> gumstix-basic-image" to work)
>
> 2) Edited
> ~/gumstix/gumstix-oe/com.gumstix.collection/conf/machine/gumstix-
> custom-verdex.conf
> (commented out "lcd" and "touchscreen" functionality, uncommented
> "robostix")
>
> 3) Tried "bitbake robostix" with:
> avr-gcc-4.3.0, binutils-2.18, avr-libc-1.6.2
> avr-gcc-4.1.2, binutils-2.18, avr-libc-1.6.2
> avr-gcc-4.2.2, binutils-2.18, avr-libc-1.6.2 * from
> http://chromiteblue.com/archive/category/projects/gnu-avr-toolchain/
> Pre-compiled toolchain of 2008-04-15
> avr-gcc-4.1.2, binutils-2.19, avr-libc-1.6.4 *all built together
> from
> http://www.nongnu.org/avr-libc/user-manual/install_tools.html
> Building and
> Installing the GNU Tool Chain
>
> Notably, we had hoped this last one would do it, but it also had the
> errors.
>
> Does anyone have further suggestions?
>
> Can anyone verify successful builds of both "bitbake gumstix-basic-
> image"
> and "bitbake robostix" on older Ubuntu, e.g. 8.04? We'd be happy to
> downgrade if that will fix everything.
>
> Thanks,
> -Peter and Wisit
>
>
>
>
>
> Dave Hylands wrote:
>>
>> Hi batoub,
>>
>>> ERROR: function do_compile failed
>>> ERROR: log data follows
>>> (/home/batoub/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-
>>> angstrom-linux-gnueabi/robostix-1.0-r0/temp/log.do_compile.6649)
>>> | Building ArgTest/ ...
>>> | Building Flash-LED/ ...
>>> | Building i2c-BootLoader/ ...
>>> | Linking i2c-Boot-m128-16MHz.elf ...
>>> | /usr/lib/gcc/avr/4.3.0/../../../../avr/lib/avr51/
>>> libc.a(eerd_block.o):
>>> In
>>> function `__eerd_block':
>>> |
>>> /build/buildd/avr-libc-1.6.2/avr/lib/avr51/../../../libc/misc/
>>> eerd_block.c:35:
>>> undefined reference to `__prologue_saves__'
>>> |
>>> /build/buildd/avr-libc-1.6.2/avr/lib/avr51/../../../libc/misc/
>>> eerd_block.c:38:
>>> undefined reference to `__epilogue_restores__'
>>> | /usr/lib/gcc/avr/4.3.0/../../../../avr/lib/avr51/
>>> libc.a(eewr_block.o):
>>> In
>>> function `__eewr_block':
>>> |
>>> /build/buildd/avr-libc-1.6.2/avr/lib/avr51/../../../libc/misc/
>>> eewr_block.c:35:
>>> undefined reference to `__prologue_saves__'
>>> |
>>> /build/buildd/avr-libc-1.6.2/avr/lib/avr51/../../../libc/misc/
>>> eewr_block.c:38:
>>> undefined reference to `__epilogue_restores__'
>>> | make[1]: *** [i2c-Boot-m128-16MHz.elf] Error 1
>>> | make: *** [i2c-BootLoader/] Error 2
>>> NOTE: Task failed:
>>> /home/batoub/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-
>>> angstrom-linux-gnueabi/robostix-1.0-r0/temp/log.do_compile.6649
>>> NOTE: package robostix-1.0-r0: task do_compile: failed
>>
>> This is stuff being compiled with the avr-gcc compiler, and if I had
>> to guess I would say it's some type of mismatch between the compiler
>> and the avr-libc that you have installed. Did you build avr-libc from
>> source? If so, did you use the same compiler that's being used above?
>>
>> --
>> Dave Hylands
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Ubuntu-8.10-and-Open-Embeded-tp21136352p21637171.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
|