All of lore.kernel.org
 help / color / mirror / Atom feed
* 'bitbake opie-image' problem
@ 2010-03-09 12:17 Jiason Li
  2010-03-09 12:52 ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-09 12:17 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I was trying to make some images followed the getting_started guide,
'bitbake nano', 'bitbake console-image' all succeeded,
but soon I encountered problem when doing 'bitbake opie-image'.

Do you have any idea about this issue?
Any info are very appreciated. :)

Thank you!
jiason
20100309


here my local.conf:

BBFILES = "/home/oe/openembedded/recipes/*/*.bb"
MACHINE = "c7x0"
DISTRO = "angstrom-2008.1"
BB_NUMBER_THREADS = "2"


here the log --
build/tmp/work/armv5te-angstrom-linux-gnueabi/opie-packagemanager-1.2.4-r1/temp/log.do_compile.20550:

NOTE: make MAKEFLAGS=
arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale
-mthumb-interwork -mno-thumb -c -pipe
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3  -fno-exceptions -fno-rtti
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3 -fpermissive -fvisibility-inlines-hidden  -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W  -O2 -D_REENTRANT -fPIC
-DIPKG_LIB -DHAVE_MKDTEMP -DOPIE_APP_INTERFACE
-DQUICKAPP_NAME="\"packagemanager\"" -DGCC_SUPPORTS_VISIBILITY
-DOPIE_NEW_MALLOC -DOPIE_NO_ERASE_RECT_HACKFIX -DQWS
-DOPIE_BINDIR='"/usr/bin"' -DOPIE_LIBDIR='"/usr/lib/opie/lib"'
-DOPIE_QTDIR='"/usr/lib/opie"' -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_PLUGIN -I/home/oe/build/tmp/staging/i686-linux/usr/share/qmake/linux-gnueabi-oe-g++
-I. -I../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/include
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/qt2/include
-o opackage.o opackage.cpp
arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale
-mthumb-interwork -mno-thumb -c -pipe
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3  -fno-exceptions -fno-rtti
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3 -fpermissive -fvisibility-inlines-hidden  -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W  -O2 -D_REENTRANT -fPIC
-DIPKG_LIB -DHAVE_MKDTEMP -DOPIE_APP_INTERFACE
-DQUICKAPP_NAME="\"packagemanager\"" -DGCC_SUPPORTS_VISIBILITY
-DOPIE_NEW_MALLOC -DOPIE_NO_ERASE_RECT_HACKFIX -DQWS
-DOPIE_BINDIR='"/usr/bin"' -DOPIE_LIBDIR='"/usr/lib/opie/lib"'
-DOPIE_QTDIR='"/usr/lib/opie"' -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_PLUGIN -I/home/oe/build/tmp/staging/i686-linux/usr/share/qmake/linux-gnueabi-oe-g++
-I. -I../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/include
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/qt2/include
-o oconfitem.o oconfitem.cpp
arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale
-mthumb-interwork -mno-thumb -c -pipe
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3  -fno-exceptions -fno-rtti
-isystem/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb3 -fpermissive -fvisibility-inlines-hidden  -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W  -O2 -D_REENTRANT -fPIC
-DIPKG_LIB -DHAVE_MKDTEMP -DOPIE_APP_INTERFACE
-DQUICKAPP_NAME="\"packagemanager\"" -DGCC_SUPPORTS_VISIBILITY
-DOPIE_NEW_MALLOC -DOPIE_NO_ERASE_RECT_HACKFIX -DQWS
-DOPIE_BINDIR='"/usr/bin"' -DOPIE_LIBDIR='"/usr/lib/opie/lib"'
-DOPIE_QTDIR='"/usr/lib/opie"' -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_PLUGIN -I/home/oe/build/tmp/staging/i686-linux/usr/share/qmake/linux-gnueabi-oe-g++
-I. -I../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/include
-I/home/oe/build/tmp/staging/armv5te-angstrom-linux-gnueabi/qt2/include
-o oipkg.o oipkg.cpp
In file included from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/void_list.h:21,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_src_list.h:22,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/opkg_conf.h:29,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_vec.h:26,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:25,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/opkg.h:21,
                 from oipkg.h:42,
                 from oipkg.cpp:31:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:39:
error: expected ',' or '...' before 'new'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void __list_add(list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:42:
error: 'next' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:42:
error: expected type-specifier before ';' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:43:
error: expected type-specifier before '->' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:43:
error: expected `;' before '->' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:44:
error: expected type-specifier before '->' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:44:
error: expected `;' before '->' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:45:
error: 'prev' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:45:
error: expected type-specifier before ';' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
At global scope:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:56:
error: expected ',' or '...' before 'new'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void list_add(list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:57:
error: expected type-specifier before ',' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:57:
error: 'head' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
At global scope:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:68:
error: expected ',' or '...' before 'new'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void list_add_tail(list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:69:
error: expected type-specifier before ',' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:69:
error: 'head' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void list_del(list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:93:
warning: invalid conversion from 'void*' to 'list_head*'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:94:
warning: invalid conversion from 'void*' to 'list_head*'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void list_move(list_head*, list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:56:
error: too many arguments to function 'void list_add(list_head*)'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:113:
error: at this point in file
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:
In function 'void list_move_tail(list_head*, list_head*)':
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:68:
error: too many arguments to function 'void list_add_tail(list_head*)'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/list.h:124:
error: at this point in file
In file included from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_dest_list.h:21,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/opkg_conf.h:30,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_vec.h:26,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:25,
                 from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/opkg.h:21,
                 from oipkg.h:42,
                 from oipkg.cpp:31:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_dest.h:
At global scope:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_dest.h:30:
warning: ISO C++ forbids declaration of 'FILE' with no type
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg_dest.h:30:
error: expected ';' before '*' token
In file included from
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/opkg.h:21,
                 from oipkg.h:42,
                 from oipkg.cpp:31:
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:206:
error: variable or field 'pkg_formatted_info' declared void
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:206:
error: 'FILE' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:206:
error: 'fp' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:206:
error: expected primary-expression before '*' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:206:
error: expected primary-expression before ')' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: variable or field 'pkg_formatted_field' declared void
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: 'FILE' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: 'fp' was not declared in this scope
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: expected primary-expression before '*' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: expected primary-expression before ',' token
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:207:
error: expected primary-expression before 'const'
../../../../staging/armv5te-angstrom-linux-gnueabi/usr/include/libopkg/pkg.h:211:
error: 'FILE' has not been declared
In file included from oipkg.cpp:31:
oipkg.h:105: warning: ISO C++ forbids declaration of 'opkg_t' with no type
oipkg.h:105: error: expected ';' before '*' token
oipkg.cpp:53: error: variable or field 'fsignalOpkgProgress' declared void
oipkg.cpp:53: error: 'opkg_t' was not declared in this scope
oipkg.cpp:53: error: 'opkg' was not declared in this scope
oipkg.cpp:53: error: expected primary-expression before 'const'
oipkg.cpp:53: error: expected primary-expression before 'void'
make: *** [oipkg.o] Error 1
FATAL: oe_runmake failed



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'bitbake opie-image' problem
  2010-03-09 12:17 'bitbake opie-image' problem Jiason Li
@ 2010-03-09 12:52 ` Paul Eggleton
  2010-03-09 14:20   ` Jiason Li
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2010-03-09 12:52 UTC (permalink / raw)
  To: openembedded-devel

Jiason Li wrote:
> I was trying to make some images followed the getting_started guide,
> 'bitbake nano', 'bitbake console-image' all succeeded,
> but soon I encountered problem when doing 'bitbake opie-image'.
>
> Do you have any idea about this issue?

This is due to libopkg's C headers having changed recently. Not only has
the API changed, but the headers are now uncompilable within a C++
program. I am in the process of fixing this, hopefully I will have some
patches done this evening.

Cheers,
Paul



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'bitbake opie-image' problem
  2010-03-09 12:52 ` Paul Eggleton
@ 2010-03-09 14:20   ` Jiason Li
  2010-03-17 23:40     ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-09 14:20 UTC (permalink / raw)
  To: openembedded-devel

Hi Paul,
thanks for your kindly response and the effort!
can't wait to get it. :D

Thank you.
jiason
20100309


2010/3/9 Paul Eggleton:
> Jiason Li wrote:
>> I was trying to make some images followed the getting_started guide,
>> 'bitbake nano', 'bitbake console-image' all succeeded,
>> but soon I encountered problem when doing 'bitbake opie-image'.
>>
>> Do you have any idea about this issue?
>
> This is due to libopkg's C headers having changed recently. Not only has
> the API changed, but the headers are now uncompilable within a C++
> program. I am in the process of fixing this, hopefully I will have some
> patches done this evening.
>
> Cheers,
> Paul
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'bitbake opie-image' problem
  2010-03-09 14:20   ` Jiason Li
@ 2010-03-17 23:40     ` Paul Eggleton
  2010-03-18 16:14       ` Bernhard Guillon
  2010-03-23  2:18       ` Jiason Li
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Eggleton @ 2010-03-17 23:40 UTC (permalink / raw)
  To: openembedded-devel

Hi Jaison,

If you update your git tree, opie-packagemanager should now build correctly. I 
didn't have a chance to test if it actually worked at runtime though, please 
let me know (privately) if it does or doesn't.

Cheers,
Paul



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'bitbake opie-image' problem
  2010-03-17 23:40     ` Paul Eggleton
@ 2010-03-18 16:14       ` Bernhard Guillon
  2010-03-23  2:18       ` Jiason Li
  1 sibling, 0 replies; 6+ messages in thread
From: Bernhard Guillon @ 2010-03-18 16:14 UTC (permalink / raw)
  To: openembedded-devel

Paul Eggleton wrote:
> Hi Jaison,
>
> If you update your git tree, opie-packagemanager should now build correctly. I 
> didn't have a chance to test if it actually worked at runtime though, please 
> let me know (privately) if it does or doesn't.
>
>   

Thanks for the update :)

best regards
Bernhard Guillon



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'bitbake opie-image' problem
  2010-03-17 23:40     ` Paul Eggleton
  2010-03-18 16:14       ` Bernhard Guillon
@ 2010-03-23  2:18       ` Jiason Li
  1 sibling, 0 replies; 6+ messages in thread
From: Jiason Li @ 2010-03-23  2:18 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel

Hi Paul,

I bitbaked opie-image again,
and it worked like a charm! :DD

Now I'm trying to make our touchscreen work with opie. ;)

Thanks for the effort! :)

Thank you!
jiason
20100323


2010/3/18 Paul Eggleton <bluelightning@bluelightning.org>:
> Hi Jaison,
>
> If you update your git tree, opie-packagemanager should now build correctly. I
> didn't have a chance to test if it actually worked at runtime though, please
> let me know (privately) if it does or doesn't.
>
> Cheers,
> Paul
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-23  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 12:17 'bitbake opie-image' problem Jiason Li
2010-03-09 12:52 ` Paul Eggleton
2010-03-09 14:20   ` Jiason Li
2010-03-17 23:40     ` Paul Eggleton
2010-03-18 16:14       ` Bernhard Guillon
2010-03-23  2:18       ` Jiason Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.