No subject


Fri Jan 23 11:48:37 CET 2009


Download ppc-2008-04-01_amcc.iso

-bash-3.00$ mkdir eldk_42
-bash-3.00$ cd eldk_42
-bash-3.00$ tar xvf ~/downloads/ppc-2008-04-01_amcc.tar
.


-bash-3.00$ for file in \
> tools/bin/rpm \
> tools/usr/lib/rpm/rpmd \
> install \
> ELDK_MAKEDEV \
> ELDK_FIXOWNER
> do
> chmod +x $file
> done


-bash-3.00$ ./install


Do you really want to install into /home/gsozmen/ppc/eldk_42 directory[y/n]?:y
Creating directories
Done
Installing cross RPMs

Preparing...                ########################################### [100%]
   1:rpm                    ########################################### [100%]
Preparing...                ########################################### [100%]
   1:rpm-build              ########################################### [100%]
Preparing...                ########################################### [100%]
   1:info                   ########################################### [100%]
Preparing...                ########################################### [100%]
   1:texinfo                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:sed                    ########################################### [100%]
Preparing...                ########################################### [100%]
   1:make-ppc               ########################################### [100%]
Preparing...                ########################################### [100%]
   1:crosstool-powerpc-devel########################################### [100%]
Preparing...                ########################################### [100%]
   1:gdb-ppc                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:ldd-ppc                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:mkimage                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:genext2fs              ########################################### [100%]
Preparing...                ########################################### [100%]
   1:mtd-utils              ########################################### [100%]
Preparing...                ########################################### [100%]
   1:mkcramfs               ########################################### [100%]
Preparing...                ########################################### [100%]
   1:autoconf               ########################################### [100%]
Preparing...                ########################################### [100%]
   1:automake               ########################################### [100%]
Preparing...                ########################################### [100%]
   1:libtool                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:bison                  ########################################### [100%]
Preparing...                ########################################### [100%]
   1:dtc                    ########################################### [100%]
Preparing...                ########################################### [100%]
   1:ftdump                 ########################################### [100%]
Preparing...                ########################################### [100%]
   1:elocaledef             ########################################### [100%]
Done
Could not write /home/gsozmen/ppc/eldk_42/version

-bash-3.00$ ls -l version
-r--r--r--  1 gsozmen ccusers 34 Apr  2  2008 version
-bash-3.00$ cat version
ELDK version 4.2
Build 2008-04-01

-bash-3.00$ ln -s eldk_42 eldk

-bash-3.00$ env | grep PATH
FS_FILES_PATH=/home/gsozmen/ppc/eldk/ppc_4xx
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:...:/home/gsozmen/ppc/eld
k/usr/bin:/home/gsozmen/ppc/eldk/bin
-bash-3.00$ env | grep -i cross
CROSS_COMPILE=ppc-linux-
-bash-3.00$ env | grep ARCH
ARCH=ppc
-bash-3.00$ env | grep KERNEL_DIR
KERNEL_DIR=/home/gsozmen/ppc/linux-2.6-denx


-bash-3.00$ cd dropbear-0.51/
ppc-linux-gcc -I. -I. -I./libtomcrypt/src/headers/  -Os -W -Wall
-DDROPBEAR_SERVER
-DDROPBEAR_CLIENT -c -I./src/headers/ -I./../ -DENCRYPT_ONLY -c
src/ciphers/aes/aes.c -o
src/ciphers/aes/aes_enc.o
In file included from src/ciphers/aes/aes.c:33:
./src/headers/tomcrypt.h:3:20: error: assert.h: No such file or directory
./src/headers/tomcrypt.h:4:19: error: stdio.h: No such file or directory
./src/headers/tomcrypt.h:5:20: error: string.h: No such file or directory
./src/headers/tomcrypt.h:6:20: error: stdlib.h: No such file or directory
./src/headers/tomcrypt.h:7:18: error: time.h: No such file or directory
./src/headers/tomcrypt.h:8:19: error: ctype.h: No such file or directory
In file included from

/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/syslimits.h:7,
                 from
/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:11,
                 from ./src/headers/tomcrypt.h:9,
                 from src/ciphers/aes/aes.c:33:
/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:122:61:
error: no include path in which to search for limits.h
.
.


-bash-3.00$ cd busybox-1.15.3/
-bash-3.00$ make
  CC      applets/applets.o
applets/applets.c:10:20: error: assert.h: No such file or directory
In file included from include/libbb.h:13,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
include/platform.h:137:23: error: byteswap.h: No such file or directory
include/platform.h:138:21: error: endian.h: No such file or directory
include/platform.h:196:24: error: arpa/inet.h: No such file or directory
In file included from include/busybox.h:10,
                 from applets/applets.c:11:
include/libbb.h:15:19: error: ctype.h: No such file or directory
include/libbb.h:16:20: error: dirent.h: No such file or directory
include/libbb.h:17:19: error: errno.h: No such file or directory
include/libbb.h:18:19: error: fcntl.h: No such file or directory
include/libbb.h:19:22: error: inttypes.h: No such file or directory
include/libbb.h:20:19: error: netdb.h: No such file or directory
include/libbb.h:21:20: error: setjmp.h: No such file or directory
include/libbb.h:22:20: error: signal.h: No such file or directory
include/libbb.h:23:19: error: stdio.h: No such file or directory
include/libbb.h:24:20: error: stdlib.h: No such file or directory
include/libbb.h:27:20: error: string.h: No such file or directory
include/libbb.h:28:22: error: sys/poll.h: No such file or directory
include/libbb.h:29:23: error: sys/ioctl.h: No such file or directory
include/libbb.h:30:22: error: sys/mman.h: No such file or directory
include/libbb.h:31:24: error: sys/socket.h: No such file or directory
include/libbb.h:36:22: error: sys/stat.h: No such file or directory
include/libbb.h:37:22: error: sys/time.h: No such file or directory
include/libbb.h:38:23: error: sys/types.h: No such file or directory
include/libbb.h:39:22: error: sys/wait.h: No such file or directory
include/libbb.h:40:21: error: termios.h: No such file or directory
include/libbb.h:41:18: error: time.h: No such file or directory
include/libbb.h:42:20: error: unistd.h: No such file or directory
include/libbb.h:43:19: error: utime.h: No such file or directory
In file included from
/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/syslimits.h:7,
                 from
/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:11,
                 from include/libbb.h:45,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/gsozmen/ppc/eldk_42/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/limits.h:122:61:
error: no include path in which to search for limits.h
In file included from include/busybox.h:10,
                 from applets/applets.c:11:
include/libbb.h:46:23: error: sys/param.h: No such file or directory
include/libbb.h:52:20: error: mntent.h: No such file or directory
include/libbb.h:56:24: error: sys/statfs.h: No such file or directory
include/libbb.h:67:20: error: locale.h: No such file or directory
include/libbb.h:76:17: error: pwd.h: No such file or directory
include/libbb.h:77:17: error: grp.h: No such file or directory

etc


More information about the eldk mailing list