Openembedded on Ubuntu 9.10

View: New views
5 Messages — Rating Filter:   Alert me  

Openembedded on Ubuntu 9.10

by Arigead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Openembedded on Ubuntu 9.10

by jonw1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I can't contribute an answer yet, but I got the same message this morning using Fedora 11.  I will be investigating, and if I find anything out I will send another email, but I thought it might be useful information to point out that it is not just Ubuntu.

Re: Openembedded on Ubuntu 9.10

by Linus Casassa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users



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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Openembedded on Ubuntu 9.10

by mmswim22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This worked for me. :)


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

:)

Re: Openembedded on Ubuntu 9.10

by Arigead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mmswim22 wrote:
> This worked for me. :)
>
>
> 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
>
> :)
>

Thanks a million for your help people ;-)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users