|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
hello world ipk files: dbg and dev?I just ran through the Hello World OE tutorial (http://www.gumstix.net/Software/view/Build-system-overview/Hello-world-tutorial/111.html
), and got everything to build. But now I'm at the point where the tutorial says: Installation is a two step process. First, from your build machine command line, copy the ipkg file to your gumstix using the scp utility: $ scp ~/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/armv5te/ helloworld_1.0.0-r0_armv5te.ipk root(at)192.160.0.2:/home/root A couple of questions: 1. What is "root(at)192.160.0.2:/home/root"? Shouldn't this be "root@... :/home/root"? 2. In my ...tmp/deploy/glibc/ipk/arm5te directory, I don't have a file named "helloworld_1.0.0-r0_armv5te.ipk", but I have 2 other helloworld packages: helloworld-dbg_1.0.0-r0_armv5te.ipk helloworld-dev_1.0.0-r0_armv5te.ipk Why are there 2 packages, and which one should I use? Chuck ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: hello world ipk files: dbg and dev?If you are not getting the `helloworld_1.0.0-r0_armv5te.ipk' package, there is a problem with your build. Check the error log for more info (and post it here perhaps). The package you are not getting is what needs to be scp'ed to the Gumstix, not the `dev' or `dbg' files.
|
|
|
Re: hello world ipk files: dbg and dev?On Jul 11, 2008, at 10:50 AM, ericwade wrote:
> > If you are not getting the `helloworld_1.0.0-r0_armv5te.ipk' > package, there > is a problem with your build. Check the error log for more info (and > post it > here perhaps). The package you are not getting is what needs to be > scp'ed to > the Gumstix, not the `dev' or `dbg' files. There are a couple of "errors" in the build log, although at the end it says "0 failed". Should it really take 229 tasks to generate a Hello World ipk? FWIW, I'm on a Ubuntu 7.10 system, building for a connex-400xm (u-boot 1.2.0 and build 1604). Chuck $ bitbake helloworld NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance. NOTE: Handling BitBake files: \ (4956/4956) [100 %] NOTE: Parsing finished. 4719 cached, 1 parsed, 236 skipped, 0 masked. NOTE: build 200807101808: started OE Build Configuration: BB_VERSION = "1.8.10" OE_REVISION = "<unknown>" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "gumstix-custom-connex" DISTRO = "angstrom" DISTRO_VERSION = "2007.9-test-20080711" TARGET_FPU = "soft" NOTE: Resolving any missing task queue dependencies NOTE: preferred version 2.5 of glibc not available (for item virtual/ arm-angstrom-linux-gnueabi-libc-for-gcc) NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 175 of 229 (ID: 10, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_fetch) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_fetch: started NOTE: package helloworld-1.0.0-r0: task do_fetch: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 176 of 229 (ID: 9, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_unpack) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_unpack: started NOTE: Unpacking /home/chuck/gumstix/gumstix-oe/user.collection/ packages/helloworld/files/hello.c to /home/chuck/gumstix/gumstix-oe/ tmp/work/armv5te-angstrom-linux-gnueabi/helloworld-1.0.0-r0/ NOTE: package helloworld-1.0.0-r0: task do_unpack: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 190 of 229 (ID: 8, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_patch) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_patch: started NOTE: package helloworld-1.0.0-r0: task do_patch: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 191 of 229 (ID: 5, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_configure) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_configure: started NOTE: package helloworld-1.0.0-r0: task do_configure: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 201 of 229 (ID: 6, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_qa_configure) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_qa_configure: started NOTE: Checking sanity of the config.log file NOTE: package helloworld-1.0.0-r0: task do_qa_configure: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 202 of 229 (ID: 7, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_compile) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_compile: started NOTE: package helloworld-1.0.0-r0: task do_compile: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 203 of 229 (ID: 11, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_install) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_install: started NOTE: package helloworld-1.0.0-r0: task do_install: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 212 of 229 (ID: 0, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_package) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_package: started NOTE: the following files were installed but not shipped in any package: NOTE: /usr/bin/hello NOTE: DO PACKAGE QA NOTE: Checking Package: helloworld-dbg NOTE: Checking Package: helloworld NOTE: Checking Package: helloworld-doc NOTE: Checking Package: helloworld-dev NOTE: Checking Package: helloworld-locale NOTE: DONE with PACKAGE QA NOTE: package helloworld-1.0.0-r0: task do_package: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 217 of 229 (ID: 2, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_populate_staging) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_populate_staging: started NOTE: package helloworld-1.0.0-r0: task do_populate_staging: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 226 of 229 (ID: 12, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_package_write_ipk) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_package_write_ipk: started Packaged contents of helloworld-dbg into /home/chuck/gumstix/gumstix- oe/tmp/deploy/glibc/ipk/armv5te/helloworld-dbg_1.0.0-r0_armv5te.ipk NOTE: Not creating empty archive for helloworld-1.0.0-r0 NOTE: Not creating empty archive for helloworld-doc-1.0.0-r0 Packaged contents of helloworld-dev into /home/chuck/gumstix/gumstix- oe/tmp/deploy/glibc/ipk/armv5te/helloworld-dev_1.0.0-r0_armv5te.ipk NOTE: Not creating empty archive for helloworld-locale-1.0.0-r0 NOTE: package helloworld-1.0.0-r0: task do_package_write_ipk: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 227 of 229 (ID: 3, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_qa_staging) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_qa_staging: started NOTE: QA checking staging ERROR: QA issue: libmudflapth.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libsupc++.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libmudflap.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libstdc++.la failed sanity test (reference to workdir or installed) NOTE: package helloworld-1.0.0-r0: task do_qa_staging: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 228 of 229 (ID: 1, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_package_write) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_package_write: started NOTE: package helloworld-1.0.0-r0: task do_package_write: completed NOTE: package helloworld-1.0.0: completed NOTE: Running task 229 of 229 (ID: 4, /home/chuck/gumstix/gumstix-oe/ user.collection/packages/helloworld/helloworld_1.0.0.bb, do_build) NOTE: package helloworld-1.0.0: started NOTE: package helloworld-1.0.0-r0: task do_build: started NOTE: package helloworld-1.0.0-r0: task do_build: completed NOTE: package helloworld-1.0.0: completed NOTE: Tasks Summary: Attempted 229 tasks of which 216 didn't need to be rerun and 0 failed. NOTE: build 200807101808: completed $ ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: hello world ipk files: dbg and dev?Try changing the revision number in your .bb file ...
Pr = "r0" --> Pr = "r1" |
|
|
Re: hello world ipk files: dbg and dev?On Jul 11, 2008, at 12:04 PM, Pierre Johnson wrote:
> > Try changing the revision number in your .bb file ... > > Pr = "r0" --> Pr = "r1" Same result. Now I have 4 helloworld ipk files in ...glibc/ipk/armv5te: helloworld-dbg_1.0.0-r0_armv5te.ipk helloworld-dev_1.0.0-r0_armv5te.ipk helloworld-dbg_1.0.0-r1_armv5te.ipk helloworld-dev_1.0.0-r1_armv5te.ipk Do these "errors" mean anything: ERROR: QA issue: libmudflapth.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libsupc++.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libmudflap.la failed sanity test (reference to workdir or installed) ERROR: QA issue: libstdc++.la failed sanity test (reference to workdir or installed) Maybe these libraries need ranlib'ing or something? Chuck ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: hello world ipk files: dbg and dev?I was wondering why and how it made dev and debug packages the other
day, but blew it off. How does bitbake produce these packages? Does it compile with different options, like including debug information? and does it know whick header files to include in dev? On 7/11/08, Chuck Randall <shibboleth@...> wrote: > On Jul 11, 2008, at 12:04 PM, Pierre Johnson wrote: >> >> Try changing the revision number in your .bb file ... >> >> Pr = "r0" --> Pr = "r1" > > Same result. Now I have 4 helloworld ipk files in ...glibc/ipk/armv5te: > > helloworld-dbg_1.0.0-r0_armv5te.ipk > helloworld-dev_1.0.0-r0_armv5te.ipk > helloworld-dbg_1.0.0-r1_armv5te.ipk > helloworld-dev_1.0.0-r1_armv5te.ipk > > Do these "errors" mean anything: > > ERROR: QA issue: libmudflapth.la failed sanity test (reference to > workdir or installed) > ERROR: QA issue: libsupc++.la failed sanity test (reference to workdir > or installed) > ERROR: QA issue: libmudflap.la failed sanity test (reference to > workdir or installed) > ERROR: QA issue: libstdc++.la failed sanity test (reference to workdir > or installed) > > Maybe these libraries need ranlib'ing or something? > Chuck > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Sent from Gmail for mobile | mobile.google.com ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: hello world ipk files: dbg and dev?Okay...
Any ideas on what to do now? Could it somehow be the libraries it's complaining about? Am I dead in the water with OE? Chuck On Jul 11, 2008, at 11:15 AM, Chuck Randall wrote: > On Jul 11, 2008, at 10:50 AM, ericwade wrote: > >> >> If you are not getting the `helloworld_1.0.0-r0_armv5te.ipk' >> package, there >> is a problem with your build. Check the error log for more info (and >> post it >> here perhaps). The package you are not getting is what needs to be >> scp'ed to >> the Gumstix, not the `dev' or `dbg' files. > > There are a couple of "errors" in the build log, although at the end > it says "0 failed". Should it really take 229 tasks to generate a > Hello World ipk? FWIW, I'm on a Ubuntu 7.10 system, building for a > connex-400xm (u-boot 1.2.0 and build 1604). > > Chuck > > > > $ bitbake helloworld > NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install > it to increase performance. > NOTE: Handling BitBake files: \ (4956/4956) [100 %] > NOTE: Parsing finished. 4719 cached, 1 parsed, 236 skipped, 0 masked. > NOTE: build 200807101808: started > > OE Build Configuration: > BB_VERSION = "1.8.10" > OE_REVISION = "<unknown>" > TARGET_ARCH = "arm" > TARGET_OS = "linux-gnueabi" > MACHINE = "gumstix-custom-connex" > DISTRO = "angstrom" > DISTRO_VERSION = "2007.9-test-20080711" > TARGET_FPU = "soft" > > NOTE: Resolving any missing task queue dependencies > NOTE: preferred version 2.5 of glibc not available (for item virtual/ > arm-angstrom-linux-gnueabi-libc-for-gcc) > NOTE: Preparing runqueue > NOTE: Executing runqueue > NOTE: Running task 175 of 229 (ID: 10, /home/chuck/gumstix/gumstix-oe/ > user.collection/packages/helloworld/helloworld_1.0.0.bb, do_fetch) > NOTE: package helloworld-1.0.0: started > NOTE: package helloworld-1.0.0-r0: task do_fetch: started > NOTE: package helloworld-1.0.0-r0: task do_fetch: completed > NOTE: package helloworld-1.0.0: completed > ERROR: QA issue: libmudflapth.la failed sanity test (reference to > workdir or installed) > ERROR: QA issue: libsupc++.la failed sanity test (reference to workdir > or installed) > ERROR: QA issue: libmudflap.la failed sanity test (reference to > workdir or installed) > ERROR: QA issue: libstdc++.la failed sanity test (reference to workdir > or installed) . . . > NOTE: package helloworld-1.0.0: started > NOTE: package helloworld-1.0.0-r0: task do_build: started > NOTE: package helloworld-1.0.0-r0: task do_build: completed > NOTE: package helloworld-1.0.0: completed > NOTE: Tasks Summary: Attempted 229 tasks of which 216 didn't need to > be rerun and 0 failed. > NOTE: build 200807101808: completed > $ > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: hello world ipk files: dbg and dev?Here's the contents of one of the .la files (libmudflap.la). It does
indicate that the library is installed and has a reference to my build area, under my account. Why would that pose a problem, flagging an error? Or perhaps this is not the reason OE isn't building the ipk file? Chuck # libmudflap.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libmudflap.so.0' # Names of this library. library_names='libmudflap.so.0.0.0 libmudflap.so.0 libmudflap.so' # The name of the static archive. old_library='libmudflap.a' # Libraries that this one depends upon. dependency_libs=' -L/home/chuck/gumstix/gumstix-oe/tmp/staging/i686- linux/lib -ldl' # Version information for libmudflap. current=0 age=0 revision=0 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/home/chuck/gumstix/gumstix-oe/tmp/cross/arm-angstrom-linux- gnueabi/lib' On Jul 14, 2008, at 10:19 AM, Chuck Randall wrote: > Okay... > > Any ideas on what to do now? > Could it somehow be the libraries it's complaining about? > Am I dead in the water with OE? > > Chuck > > On Jul 11, 2008, at 11:15 AM, Chuck Randall wrote: > >> On Jul 11, 2008, at 10:50 AM, ericwade wrote: >> >>> >>> If you are not getting the `helloworld_1.0.0-r0_armv5te.ipk' >>> package, there >>> is a problem with your build. Check the error log for more info (and >>> post it >>> here perhaps). The package you are not getting is what needs to be >>> scp'ed to >>> the Gumstix, not the `dev' or `dbg' files. >> >> There are a couple of "errors" in the build log, although at the end >> it says "0 failed". Should it really take 229 tasks to generate a >> Hello World ipk? FWIW, I'm on a Ubuntu 7.10 system, building for a >> connex-400xm (u-boot 1.2.0 and build 1604). >> >> Chuck >> >> >> >> $ bitbake helloworld >> NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install >> it to increase performance. >> NOTE: Handling BitBake files: \ (4956/4956) [100 %] >> NOTE: Parsing finished. 4719 cached, 1 parsed, 236 skipped, 0 masked. >> NOTE: build 200807101808: started >> >> OE Build Configuration: >> BB_VERSION = "1.8.10" >> OE_REVISION = "<unknown>" >> TARGET_ARCH = "arm" >> TARGET_OS = "linux-gnueabi" >> MACHINE = "gumstix-custom-connex" >> DISTRO = "angstrom" >> DISTRO_VERSION = "2007.9-test-20080711" >> TARGET_FPU = "soft" >> >> NOTE: Resolving any missing task queue dependencies >> NOTE: preferred version 2.5 of glibc not available (for item virtual/ >> arm-angstrom-linux-gnueabi-libc-for-gcc) >> NOTE: Preparing runqueue >> NOTE: Executing runqueue >> NOTE: Running task 175 of 229 (ID: 10, /home/chuck/gumstix/gumstix- >> oe/ >> user.collection/packages/helloworld/helloworld_1.0.0.bb, do_fetch) >> NOTE: package helloworld-1.0.0: started >> NOTE: package helloworld-1.0.0-r0: task do_fetch: started >> NOTE: package helloworld-1.0.0-r0: task do_fetch: completed >> NOTE: package helloworld-1.0.0: completed > . . . >> ERROR: QA issue: libmudflapth.la failed sanity test (reference to >> workdir or installed) >> ERROR: QA issue: libsupc++.la failed sanity test (reference to >> workdir >> or installed) >> ERROR: QA issue: libmudflap.la failed sanity test (reference to >> workdir or installed) >> ERROR: QA issue: libstdc++.la failed sanity test (reference to >> workdir >> or installed) > . . . >> NOTE: package helloworld-1.0.0: started >> NOTE: package helloworld-1.0.0-r0: task do_build: started >> NOTE: package helloworld-1.0.0-r0: task do_build: completed >> NOTE: package helloworld-1.0.0: completed >> NOTE: Tasks Summary: Attempted 229 tasks of which 216 didn't need to >> be rerun and 0 failed. >> NOTE: build 200807101808: completed >> $ >> > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
| Free Forum Powered by Nabble | Forum Help |