Project

General

Profile

RE: Building Uboot on MityArm ยป u-boot_build_problems.txt

Anonymous, 12/13/2012 11:04 AM

 
1
jconover@jconover-Parallels-Virtual-Platform:~$ cd /usr/local
2
jconover@jconover-Parallels-Virtual-Platform:/usr/local$ ls
3
bin  etc  games  include  lib  man  sbin  share  src  ti-sdk-am335x-evm
4
jconover@jconover-Parallels-Virtual-Platform:/usr/local$ cd ti-sdk-am335x-evm/
5
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm$ ls
6
bin  board-support  docs  example-applications  filesystem  Graphics_SDK_setuplinux_4_06_00_02.bin  host-tools  linux-devkit  Makefile  Rules.make  setup.sh
7
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm$ cd bin
8
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm/bin$ ls
9
common.sh  create-sdcard.sh  setup-host-check.sh  setup-minicom.sh  setup-package-install.sh  setup-targetfs-nfs.sh  setup-tftp.sh  setup-uboot-env.sh
10
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm/bin$ sudo ./setup-
11
setup-host-check.sh       setup-minicom.sh          setup-package-install.sh  setup-targetfs-nfs.sh     setup-tftp.sh             setup-uboot-env.sh
12
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm/bin$ sudo ./setup-package-install.sh 
13
[sudo] password for jconover: 
14
--------------------------------------------------------------------------------
15
This step will make sure you have the proper host support packages installed
16
using the following command: sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage autoconf automake
17

    
18
Note! This command requires you to have administrator priviliges (sudo access) 
19
on your host.
20
Press return to continue
21

    
22
Reading package lists... Done
23
Building dependency tree       
24
Reading state information... Done
25
build-essential is already the newest version.
26
minicom is already the newest version.
27
The following packages were automatically installed and are no longer required:
28
  libaccess-bridge-java libaccess-bridge-java-jni
29
Use 'apt-get autoremove' to remove them.
30
The following extra packages will be installed:
31
  autotools-dev libgssglue1 libnfsidmap2 libtinfo-dev libtirpc1 m4 nfs-common rpcbind
32
Suggested packages:
33
  autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext ncurses-doc
34
The following NEW packages will be installed:
35
  autoconf automake autotools-dev libgssglue1 libncurses5-dev libnfsidmap2 libtinfo-dev libtirpc1 m4 nfs-common nfs-kernel-server rpcbind tftpd uboot-mkimage xinetd
36
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
37
Need to get 2,357 kB of archives.
38
After this operation, 9,183 kB of additional disk space will be used.
39
Do you want to continue [Y/n]? Y
40
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main libgssglue1 amd64 0.3-1ubuntu1.1 [22.5 kB]
41
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libtirpc1 amd64 0.2.2-5 [84.2 kB]
42
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main rpcbind amd64 0.2.0-6ubuntu3.1 [43.1 kB]
43
Get:4 http://us.archive.ubuntu.com/ubuntu/ oneiric/main m4 amd64 1.4.16-1 [200 kB]
44
Get:5 http://us.archive.ubuntu.com/ubuntu/ oneiric/main autoconf all 2.68-1ubuntu1 [560 kB]
45
Get:6 http://us.archive.ubuntu.com/ubuntu/ oneiric/main autotools-dev all 20110511.1 [44.7 kB]
46
Get:7 http://us.archive.ubuntu.com/ubuntu/ oneiric/main automake all 1:1.11.1-1ubuntu1 [544 kB]
47
Get:8 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main libtinfo-dev amd64 5.9-1ubuntu5.1 [71.5 kB]
48
Get:9 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/main libncurses5-dev amd64 5.9-1ubuntu5.1 [255 kB]
49
Get:10 http://us.archive.ubuntu.com/ubuntu/ oneiric/main libnfsidmap2 amd64 0.24-1 [28.0 kB]
50
Get:11 http://us.archive.ubuntu.com/ubuntu/ oneiric/main nfs-common amd64 1:1.2.4-1ubuntu2 [222 kB]
51
Get:12 http://us.archive.ubuntu.com/ubuntu/ oneiric/main nfs-kernel-server amd64 1:1.2.4-1ubuntu2 [127 kB]
52
Get:13 http://us.archive.ubuntu.com/ubuntu/ oneiric/main xinetd amd64 1:2.3.14-7ubuntu4 [130 kB]
53
Get:14 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe tftpd amd64 0.17-18ubuntu2 [15.4 kB]
54
Get:15 http://us.archive.ubuntu.com/ubuntu/ oneiric/main uboot-mkimage all 2011.06-3ubuntu1 [11.0 kB]
55
Fetched 2,357 kB in 2s (1,092 kB/s)    
56
Selecting previously deselected package libgssglue1.
57
(Reading database ... 460121 files and directories currently installed.)
58
Unpacking libgssglue1 (from .../libgssglue1_0.3-1ubuntu1.1_amd64.deb) ...
59
Selecting previously deselected package libtirpc1.
60
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_amd64.deb) ...
61
Selecting previously deselected package rpcbind.
62
Unpacking rpcbind (from .../rpcbind_0.2.0-6ubuntu3.1_amd64.deb) ...
63
Selecting previously deselected package m4.
64
Unpacking m4 (from .../archives/m4_1.4.16-1_amd64.deb) ...
65
Selecting previously deselected package autoconf.
66
Unpacking autoconf (from .../autoconf_2.68-1ubuntu1_all.deb) ...
67
Selecting previously deselected package autotools-dev.
68
Unpacking autotools-dev (from .../autotools-dev_20110511.1_all.deb) ...
69
Selecting previously deselected package automake.
70
Unpacking automake (from .../automake_1%3a1.11.1-1ubuntu1_all.deb) ...
71
Selecting previously deselected package libtinfo-dev.
72
Unpacking libtinfo-dev (from .../libtinfo-dev_5.9-1ubuntu5.1_amd64.deb) ...
73
Selecting previously deselected package libncurses5-dev.
74
Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-1ubuntu5.1_amd64.deb) ...
75
Selecting previously deselected package libnfsidmap2.
76
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.24-1_amd64.deb) ...
77
Selecting previously deselected package nfs-common.
78
Unpacking nfs-common (from .../nfs-common_1%3a1.2.4-1ubuntu2_amd64.deb) ...
79
Selecting previously deselected package nfs-kernel-server.
80
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.2.4-1ubuntu2_amd64.deb) ...
81
Selecting previously deselected package xinetd.
82
Unpacking xinetd (from .../xinetd_1%3a2.3.14-7ubuntu4_amd64.deb) ...
83
Selecting previously deselected package tftpd.
84
Unpacking tftpd (from .../tftpd_0.17-18ubuntu2_amd64.deb) ...
85
Selecting previously deselected package uboot-mkimage.
86
Unpacking uboot-mkimage (from .../uboot-mkimage_2011.06-3ubuntu1_all.deb) ...
87
Processing triggers for man-db ...
88
Processing triggers for ureadahead ...
89
ureadahead will be reprofiled on next reboot
90
Processing triggers for install-info ...
91
Processing triggers for doc-base ...
92
Processing 1 added doc-base file...
93
Registering documents with scrollkeeper...
94
Setting up libgssglue1 (0.3-1ubuntu1.1) ...
95
Setting up libtirpc1 (0.2.2-5) ...
96
Setting up rpcbind (0.2.0-6ubuntu3.1) ...
97
 Removing any system startup links for /etc/init.d/rpcbind ...
98
portmap start/running, process 2759
99
Setting up m4 (1.4.16-1) ...
100
Setting up autoconf (2.68-1ubuntu1) ...
101
Setting up autotools-dev (20110511.1) ...
102
Setting up automake (1:1.11.1-1ubuntu1) ...
103
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode.
104
Setting up libtinfo-dev (5.9-1ubuntu5.1) ...
105
Setting up libncurses5-dev (5.9-1ubuntu5.1) ...
106
Setting up libnfsidmap2 (0.24-1) ...
107
Setting up nfs-common (1:1.2.4-1ubuntu2) ...
108

    
109
Creating config file /etc/idmapd.conf with new version
110

    
111
Creating config file /etc/default/nfs-common with new version
112
Adding system user `statd' (UID 114) ...
113
Adding new user `statd' (UID 114) with group `nogroup' ...
114
Not creating home directory `/var/lib/nfs'.
115
statd start/running, process 2989
116
gssd stop/post-stop, process 3013
117
idmapd stop/pre-start, process 3036
118
Setting up nfs-kernel-server (1:1.2.4-1ubuntu2) ...
119

    
120
Creating config file /etc/exports with new version
121

    
122
Creating config file /etc/default/nfs-kernel-server with new version
123
 * Exporting directories for NFS kernel daemon...                                                                                                                              exportfs: scandir /etc/exports.d: No such file or directory
124

    
125
                                                                                                                                                                        [ OK ]
126
 * Starting NFS kernel daemon                                                                                                                                           [ OK ] 
127
Setting up xinetd (1:2.3.14-7ubuntu4) ...
128
xinetd start/running, process 3298
129
Setting up tftpd (0.17-18ubuntu2) ...
130
Note: xinetd currently is not fully supported by update-inetd.
131
      Please consult /usr/share/doc/xinetd/README.Debian and itox(8).
132
Setting up uboot-mkimage (2011.06-3ubuntu1) ...
133
Processing triggers for libc-bin ...
134
ldconfig deferred processing now taking place
135

    
136
Package verification and installation successfully completed
137
--------------------------------------------------------------------------------
138

    
139
jconover@jconover-Parallels-Virtual-Platform:/usr/local/ti-sdk-am335x-evm/bin$ 
140

    
141

    
142

    
143

    
144

    
145

    
146

    
147

    
148

    
149

    
150

    
151

    
152

    
153

    
154

    
155

    
156

    
157

    
158

    
159

    
160

    
161

    
162

    
163

    
164

    
165

    
166

    
167
---------------Still choking on cc1---------------------------------------
168

    
169
jconover@jconover-Parallels-Virtual-Platform:~/u-boot-mityarm-335x$ . /usr/local/ti-sdk-am335x-evm/linux-devkit/environment-setup
170
[linux-devkit]:~/u-boot-mityarm-335x> pwd
171
/home/jconover/u-boot-mityarm-335x
172
[linux-devkit]:~/u-boot-mityarm-335x> make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- mityarm335x_config
173
Generating include/autoconf.mk
174
/usr/local/ti-sdk-am335x-evm/linux-devkit/bin/../libexec/gcc/arm-arago-linux-gnueabi/4.5.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
175
Generating include/autoconf.mk.dep
176
/usr/local/ti-sdk-am335x-evm/linux-devkit/bin/../libexec/gcc/arm-arago-linux-gnueabi/4.5.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
177
Configuring for mityarm335x board...
178
[linux-devkit]:~/u-boot-mityarm-335x> 
179

    
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)