Author Topic: Quality Team For OZ  (Read 12222 times)

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Quality Team For OZ
« Reply #30 on: March 06, 2004, 06:06:30 pm »
ya, could be many errors...
I\'ve seenthis when any part of the chain is missing... usually \"as\" ... (gas?) ... I think I have seen it with bad ld too.
when installing gcc, usually slap in binutils too.


Scott

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Quality Team For OZ
« Reply #31 on: March 06, 2004, 07:48:05 pm »
Another (slightly obvious) reason could just be that arm-linux-gcc is not in your $PATH...  Happened to me more than once
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
Quality Team For OZ
« Reply #32 on: March 07, 2004, 02:14:54 am »
# oebuild busybox/busybox_1.00-pre8.oe
NOTE: package busybox-1.00-pre8-r0: task do_fetch started
NOTE: package busybox-1.00-pre8-r0: task do_fetch completed
NOTE: package busybox-1.00-pre8-r0: task do_compile started
ERROR: function do_compile failed
ERROR: see log in /opt/oe/packages/tmp/base/busybox-1.00-pre8-r0/temp/log.do_compile.18440
ERROR: package busybox-1.00-pre8-r0: task do_compile failed
ERROR: TaskFailed event exception, aborting
# cat /opt/oe/packages/tmp/base/busybox-1.00-pre8-r0/temp/log.do_compile.18440


NOTE: make -e MAKEFLAGS= CROSS=arm-linux-
ccache arm-linux-gcc -I./include -Wall -Wstrict-prototypes -Wshadow -Os -fstrict
-aliasing -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG    -I/opt/oe/packages/tmp/
staging/include -I/opt/oe/packages/tmp/staging/usr/X11R6/include -I/opt/oe/packa
ges/tmp/staging/target/include -fexpensive-optimizations -fomit-frame-pointer -O
2 -c -o libbb/module_syscalls.o libbb/module_syscalls.c
In file included from libbb/module_syscalls.c:26:
/opt/oe/packages/tmp/staging/target/include/sys/syscall.h:32:27: bits/syscall.h:
 No such file or directory
make: *** [libbb/module_syscalls.o] Error 1
FATAL: oemake failed

Why is this file missing?  Something missing?

Anonymous

  • Guest
Quality Team For OZ
« Reply #33 on: March 07, 2004, 02:27:58 am »
Have you compiled glibc first ?

Richard

Anonymous

  • Guest
Quality Team For OZ
« Reply #34 on: March 07, 2004, 02:32:18 am »
Yes...
# oebuild glibc/glibc_2.3.2.oe
NOTE: package glibc-2.3.2-r0: task do_fetch started
NOTE: package glibc-2.3.2-r0: task do_fetch completed
NOTE: package glibc-2.3.2-r0: task do_build started
NOTE: package glibc-2.3.2-r0: task do_build completed

Anonymous

  • Guest
Quality Team For OZ
« Reply #35 on: March 07, 2004, 02:38:08 am »
O.K

I think (from memory) that the header you are missing is part of the uclib which you may need to build first . Sorry I can\'t check at the moment I\'m not near my development PC.
Check the dependency list in the packages directory for busybox.

Richard

Anonymous

  • Guest
Quality Team For OZ
« Reply #36 on: March 07, 2004, 02:49:46 am »
# oebuild uclibc/uclibc_0.9.26.oe
NOTE: package uclibc-0.9.26-r0: task do_fetch started
NOTE: package uclibc-0.9.26-r0: task do_fetch completed
NOTE: package uclibc-0.9.26-r0: task do_build started
NOTE: package uclibc-0.9.26-r0: task do_build completed

And still get the same error... I\'m just testing, I was able to build the 4 recommended packages, and none after them... Any special step I could\'ve missed? As for stuff needed to be done, is there a task list being created?

Anonymous

  • Guest
Quality Team For OZ
« Reply #37 on: March 07, 2004, 03:15:03 am »
Sorry can\'t help further until I\'m sat in front of my PC will have a look later for you.

I have made a start on the \"whats required to get compiler working list\" but am bogged down with work at the moment so may take a while.

Richard

Anonymous

  • Guest
Quality Team For OZ
« Reply #38 on: March 07, 2004, 06:57:54 am »
Thank you!

Good luck in your work!

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Quality Team For OZ
« Reply #39 on: March 07, 2004, 08:05:00 am »
Hmm... I wouldn\'t build different c libraries. That seriously mixes up things. You better use oemake btw. - that cares about dependencies. I have a function like that in my .bashrc:

Code: [Select]
function oe() { export OEDIR=/usr/local/projects/oe;

                export PATH=$OEDIR/bin:$PATH:/usr/local/arm/3.3.2/bin;

                export PKGDIR=/usr/local/projects/packages; cd $PKGDIR;

                export OEMASK="binutils|uclibc|avr-libc|gcc|initial|qte_2|qtopia|linux";

                export OEFILES=`/bin/ls $PKGDIR/*/*.oe 2>/dev/null|grep -v -E "$OEMASK"`; }


Then I can do \'oemake freedroid\' and all dependencies are automatically built.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
Quality Team For OZ
« Reply #40 on: March 07, 2004, 06:01:55 pm »
O.k

I\'ve had a chance to look now and Busybox only requires vitrual/libc so should have built o.k.

Mickeyl\'s .bashrc solution is much neater than using a shell script and ensures that your PATH contains everything needed. Just copy his text and replace your own directoiry paths where needed. To run just type oe (sorry obvious but just in case   )

I\'ve been using oebuild as oemake would screw up for me (Might have been me not the script) but maybe the script has been modified to clean things up, I haven\'t tried it for a while. (Guess I will now)

Richard

Anonymous

  • Guest
Quality Team For OZ
« Reply #41 on: March 13, 2004, 03:32:19 pm »
Where did everybody go? Is there things being done in the background? Or did everyone give up?

vishnja

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://
Quality Team For OZ
« Reply #42 on: March 13, 2004, 04:37:45 pm »
C860 with Cacko 1.21 \"Elena\" ROM,
pretec wlan cf, nokia bt cf, ratoc usb host cf, socket lan cf,
sandisk 512 cf/sd, kingston 256 cf

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Quality Team For OZ
« Reply #43 on: March 13, 2004, 05:48:02 pm »
Quick note before I leave to austria for a week skiing: We have just established the mailing list oe@handhelds.org. Major topics are 1.) Development of the build system OpenEmbedded itself and 2.) Development, Documentation, etc. of device-independent packages (i.e. 90% of what goes into a typical OpenZaurus linux distribution). For device-specific issues, the openzaurus-devel@lists.sf.net still should be the authority.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
Quality Team For OZ
« Reply #44 on: March 14, 2004, 04:11:28 pm »
Have fun Mickey!