Just rename getline to getline2 in:
~/gumstix/gumstix-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c
~/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/linux-libc-headers-2.6.20-r7/linux-2.6.20/scripts/unifdef.c

:)

On Tue, Nov 3, 2009 at 1:46 PM, Arigead <captain.deadly@gmail.com> wrote:
The problem with release early and release often is that I keep having
to move things along. The latest OpenEmbedded in the svn server is
version 318 this will build on Ubuntu 9.04 using the instructions [1]

However on Ubuntu 9.10 I've got an error:

NOTE: package unifdef-native-2.6.18+git: started
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/john/programming/gumstix/gumstix-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.24621)
|
/home/john/programming/gumstix/gumstix-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/unifdef.c:209:
error: conflicting types for 'getline'
| /usr/include/stdio.h:653: error: previous declaration of 'getline' was
here
NOTE: Task failed:
/home/john/programming/gumstix/gumstix-oe/tmp/work/i686-linux/unifdef-native-2.6.18+git-r0/temp/log.do_compile.24621
NOTE: package unifdef-native-2.6.18+git-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package unifdef-native-2.6.18+git: failed
ERROR: Build of
/home/john/programming/gumstix/gumstix-oe/org.openembedded.snapshot/packages/unifdef/unifdef-native_2.6.18+git.bb
do_compile failed
ERROR: Task 384
(/home/john/programming/gumstix/gumstix-oe/org.openembedded.snapshot/packages/unifdef/unifdef-native_2.6.18+git.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 107 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/home/john/programming/gumstix/gumstix-oe/org.openembedded.snapshot/packages/unifdef/unifdef-native_2.6.18+git.bb'
failed


I don't understand this problem as I'm compiling for an embedded system
and that don't change from one version of Ubuntu to another. Why would
local machine's headers change things.

Sorry never quite got my head around this but has anybody got any ideas
that might help me. I'd like to move over to the 9.10 version.


[1] http://gumstix.net/wiki/index.php?title=Build_Environment_Ubuntu_9.04

John

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941