[BusyBox] ppc - compile error

Boo Geum Jung bgjung at etri.re.kr
Sun Aug 18 18:16:02 UTC 2002


RE: [BusyBox] ppcI met an compiling error for ppc.
Could you telle me how did you solve this problem?
=====
powerpc-linux-gcc -s -Wl,-warn-common -o busybox ash.o basename.o cat.o chgrp.o
chmod.o chown.o chroot.o chvt.o clear.o cmdedit.o cp.o cut.o date.o dd.o df.o di
rname.o dmesg.o du.o echo.o env.o find.o free.o grep.o gunzip.o gzip.o halt.o he
ad.o id.o init.o kill.o klogd.o ln.o logger.o ls.o lsmod.o mkdir.o mknod.o mkswa
p.o modprobe.o more.o mount.o mv.o pidof.o poweroff.o ps.o pwd.o reboot.o reset.
o rm.o rmdir.o sed.o sleep.o sort.o swaponoff.o sync.o syslogd.o tail.o tar.o te
st.o touch.o true_false.o tty.o umount.o uname.o uniq.o uptime.o wc.o which.o wh
oami.o xargs.o yes.o  busybox.o usage.o applets.o libbb.a
/lib/libc.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
=====
I modify my Makefile just below. And did "make".

$ diff busybox-0.60.3/Makefile busybox-0.60.3.my/Makefile
82c82
< BB_SRC_DIR =
---
> BB_SRC_DIR = /home/bgjung/tools/busybox-0.60.3
86c86
< CROSS =
---
> CROSS = powerpc-linux-
88a89
> LD = $(CROSS)ld



  ----- Original Message ----- 
  From: Michael Sternberg 
  To: 'BusyBox (E-mail)' 
  Sent: Monday, August 19, 2002 12:52 AM
  Subject: RE: [BusyBox] ppc




  Just for the record - busybox.stable works just fine on PPC. 

  -----Original Message----- 
  From: busybox-admin at busybox.net [mailto:busybox-admin at busybox.net]On Behalf Of Michael Sternberg 
  Sent: Sunday, August 18, 2002 5:47 PM 
  To: BusyBox (E-mail) 
  Subject: [BusyBox] ppc 



  Wondering how "ready" is the CVS version for PPC ? 
  I tried to recompile using ppc_8xx-gcc, it built 
  OK, but it falls with segmentation fault almost 
  in every applet... 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20020818/d12cee05/attachment-0001.htm 


More information about the busybox mailing list