![]() ![]() |
Jun 24 2007, 10:32 AM
Post
#1
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Hi,
I'm trying to build pdaXrom from the svn repository. After finishing the cross toolchain the build proces of the OS image is aborted with the following error: CODE ------------------------------------- target: xchain-mkimage-u-boot.compile ------------------------------------- PATH="/opt/cross/arm/3.4.6-xscale-softvfp"/bin:$PATH make -C /home/egoe/build/pdaXrom-builder/work/build/xchain/mkimage-u-boot-1.1.4 make[1]: Entering directory `/home/egoe/build/pdaXrom-builder/work/build/xchain/mkimage-u-boot-1.1.4' cc -O2 -I. -DUSE_HOSTCC -c -o mkimage.o mkimage.c cc -O2 -I. -DUSE_HOSTCC -c -o crc32.o crc32.c crc32.c:15:18: error: zlib.h: No such file or directory crc32.c:77: error: expected =, ,, ;, asm or __attribute__ before crc_table crc32.c:153: error: expected =, ,, ;, asm or __attribute__ before crc32 crc32.c:155: error: expected =, ,, ;, asm or __attribute__ before * token crc32.c:156: error: expected =, ,, ;, asm or __attribute__ before len crc32.c:157: error: expected identifier or ( before { token make[1]: *** [crc32.o] Error 1 make[1]: Leaving directory `/home/egoe/build/pdaXrom-builder/work/build/xchain/mkimage-u-boot-1.1.4' make: *** [/home/egoe/build/pdaXrom-builder/work/state/xchain-mkimage-u-boot.compile] Error 2 I'm new to the builder tool, so I've no idea where to look. The zlib.h file is available in the crosschain include directory. Any ideas? Thanks, cortez |
|
|
|
Jun 26 2007, 01:03 AM
Post
#2
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Oh my, this was too obvious, if I only learned to read better...
The xchain-mkimage-u-boot needs to be compiled for the host-, not the target system! So after installation of the zlib1g-dev package on my host, building continues... Just to let you know |
|
|
|
Jun 26 2007, 09:28 PM
Post
#3
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
I am stuck again. This time the efltk package won't compile. I don't know why. Has this something to do with the fact that I'm using Ubuntu in combination with gcc 4.1.2?
I'm learning a lot, that's for sure. If this finally works out fine I'm willing to help add/update packages to the build system, but for now.... Any help? |
|
|
|
Jun 27 2007, 01:49 PM
Post
#4
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
I think you're supposed to use pdaX86 to build the ROM. I've been trying to use it to build a kernel, and it seems to work fine and relatively easily (unless you have a SATA hard drive
I haven't actually tried to build anything yet (waiting on info on how to build just the kernel), but no errors as of yet (aside from not being able to DL source, which you can get around by DLing manually) Hope this helps. |
|
|
|
Jun 28 2007, 06:40 AM
Post
#5
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
Thanks for your reply Capn_Fish!
Welcome to the wonderful world of pdax86... I've got it up and running using VirtualBox under Windows, but I think I'm missing something here. The steps I followed so far were: 1. Setup VirtualBox in combination with pdaX86 - Create 2 virtual harddisks with 25Gb space each (dynamically expanding) - Mount pdaXrom.iso (1.1.0beta4) as CD-ROM in VirtualBox - Start virtual machine and login to pdaX86 as 'root' - fdisk /dev/hda -> Create new partition fdisk /dev/hdb -> Create new partition mkfs.ext3 /dev/hda1 mkswap /dev/hdb1 mount /dev/hda1 /mnt/hd - setup -> Choose /dev/hda1 (default) -> press OK - reboot 2. pdaX86 harddisk installation - mkdir ~/hdd-mount-point - setup-hd ~/hdd-mount-point Next I want to get svn up and running. To do this, I tried: 3. Initial setup - mkdir ~/zip - mkdir ~/src - mkdir ~/pdaXrom-builder - startx - Start Mozilla - Download 'Apache httpd-2.2.4' from http://httpd.apache.org/download.cgi in ~/zip - Download 'Subversion' from subversion.tigris.org in ~/zip - cd ~/src tar xjf ~/zip/httpd-2.2.4 tar xjf ~/zip/subversion-1.4.4.tar.bz2 4. Build Apache - cd ~/src/httpd-2.2.4 - ./configure - make - make install The last step (make install) results in lots of errors saying /usr/local/apache2 is a read-only file system. I'm quite comfortable with Ubuntu, but this is new to me. I'm sure that one of the more experienced pdaXrom developers can help me out here. It must be possible to build and install new packages, or am I wrong? InSearchOf? Meanie? adf? Capn_Fish? louigi600? Anyone else? Help me out please cortez |
|
|
|
Jun 28 2007, 05:56 PM
Post
#6
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Try rebooting with the CD, mounting the non-swap drive on /mnt/hd, and running
CODE setup-hd /mnt/hd then rebooting without the CD into the HD installation. That solved my issues. |
|
|
|
Jun 28 2007, 11:43 PM
Post
#7
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
After applying the setup-hd /mnt/hd command I reboot, but the booting proces ends with an error saying
CODE Warning: unable to open an initial console. I had to reboot from CD again, and looking in /dev/hd/dev it's completely empty! I copied everything from /dev into /mnt/hd/dev (using Midnight Commander) and after that I am now the happy owner of a working pdaX86 system. Thanks for your help! |
|
|
|
Jun 29 2007, 03:55 AM
Post
#8
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Glad to have helped. I had the same issues a couple of days ago.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 08:18 AM |