OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: abm_y4k on January 06, 2007, 09:27:28 pm

Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 06, 2007, 09:27:28 pm
I am able to build the akita-kernel-2.6-initrd-rom
but when doing make world for akita-kernel-2.6-rom it failed at glib22 prepare state.

Can someone tell me what I did wrong?

Thanks,

Quote
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for armv5tel-cacko-linux-strip... armv5tel-cacko-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-host-linux-gnu
checking host system type... armv5tel-cacko-linux-gnu
checking for the BeOS... no
checking for Win32... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for armv5tel-cacko-linux-gcc... armv5tel-cacko-linux-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [/mnt/hd1/pdaxrom/akita-rom/state/glib22.prepare] Error 77
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 07, 2007, 06:21:59 pm
What were your steps at doing your build?

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 07, 2007, 07:50:11 pm
Quote
What were your steps at doing your build?

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150380\")

These are my steps:

1. mkdir pdaxrom-builder
2. cd pdaxrom-builder
3. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
4. cd trunk
5. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src)
6. cd /mnt/hd1/pdaxrom/akita-rom
7. make virtual-xchain_install
8. make archive-toolchain
9. make clean
10. ./configure akita-kernel-2.6-initrd-rom
11. make world
12. make image
13. ./configure akita-kernel-2.6-rom
14. make world
15. make image
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 07, 2007, 08:29:02 pm
Quote
Quote
What were your steps at doing your build?

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150380\")

These are my steps:

1. mkdir pdaxrom-builder
2. cd pdaxrom-builder
3. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
4. cd trunk
5. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src)
6. cd /mnt/hd1/pdaxrom/akita-rom
7. make virtual-xchain_install
8. make archive-toolchain
9. make clean
10. ./configure akita-kernel-2.6-initrd-rom
11. make world
12. make image
13. ./configure akita-kernel-2.6-rom
14. make world
15. make image
[div align=\"right\"][a href=\"index.php?act=findpost&pid=150386\"][{POST_SNAPBACK}][/a][/div]

Check and/or post the config.log in your .../build/glib*

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 08, 2007, 02:17:11 am
it seems it can't find armv5tel-cacko-linux-gcc.

but I am not sure why because before I did the exact same steps as mentioned above and builds fine.

Quote
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1581: checking for a BSD-compatible install
configure:1636: result: /usr/bin/ginstall -c
configure:1647: checking whether build environment is sane
configure:1690: result: yes
configure:1723: checking for gawk
configure:1739: found /opt/native/i686/3.4.6-2.2.5/bin/gawk
configure:1749: result: gawk
configure:1759: checking whether make sets $(MAKE)
configure:1779: result: yes
configure:1849: checking for armv5tel-cacko-linux-strip
configure:1875: result: armv5tel-cacko-linux-strip
configure:1992: checking whether to enable maintainer-specific portions of Makefiles
configure:2001: result: no
configure:2023: checking build system type
configure:2041: result: i686-host-linux-gnu
configure:2049: checking host system type
configure:2063: result: armv5tel-cacko-linux-gnu
configure:2072: checking for the BeOS
configure:2082: result: no
configure:2086: checking for Win32
configure:2115: result: no
configure:2516: checking whether to enable garbage collector friendliness
configure:2527: result: no
configure:2531: checking whether to disable memory pools
configure:2534: result: no
configure:2568: checking for armv5tel-cacko-linux-gcc
configure:2594: result: armv5tel-cacko-linux-gcc
configure:2876: checking for C compiler version
configure:2879: armv5tel-cacko-linux-gcc --version </dev/null >&5
./configure: line 2880: armv5tel-cacko-linux-gcc: command not found
configure:2882: $? = 127
configure:2884: armv5tel-cacko-linux-gcc -v </dev/null >&5
./configure: line 2885: armv5tel-cacko-linux-gcc: command not found
configure:2887: $? = 127
configure:2889: armv5tel-cacko-linux-gcc -V </dev/null >&5
./configure: line 2890: armv5tel-cacko-linux-gcc: command not found
configure:2892: $? = 127
configure:2915: checking for C compiler default output file name
configure:2918: armv5tel-cacko-linux-gcc -O2 -fomit-frame-pointer   conftest.c  >&5
./configure: line 2919: armv5tel-cacko-linux-gcc: command not found
configure:2921: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.12.2"
| #define PACKAGE_STRING "glib 2.12.2"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 12
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 1202
| #define G_COMPILED_WITH_DEBUGGING "no"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2960: error: C compiler cannot create executables
See `config.log' for more details.
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 08, 2007, 10:38:23 am
Try this... and see if it builds the package fresh...

make glib22_targetinstall

Then if thats builds fine... do a make world again...

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 08, 2007, 06:53:31 pm
Quote
Try this... and see if it builds the package fresh...

make glib22_targetinstall

Then if thats builds fine... do a make world again...

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150442\")

I did a try on this but still no luck, failed at step 14(below). Any clue?

is there any steps I missed? is my steps wrong?

1. mkdir pdaxrom-builder
2. cd pdaxrom-builder
3. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
4. cd trunk
5. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src)
6. cd /mnt/hd1/pdaxrom/akita-rom
7. make virtual-xchain_install
8. make archive-toolchain
9. make clean
10. ./configure akita-kernel-2.6-initrd-rom
11. make world
12. make image
13. ./configure akita-kernel-2.6-rom
14. make world
15. make image
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 09, 2007, 02:39:38 pm
Hi InSearchOf,

Any idea?

Regards,
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 09, 2007, 07:32:54 pm
I believe something got hung-up in your build... what revision are you running?

Have you try to restart your build.. basically creating a new build env?

Then are you still getting the same error...

I have a build running that has been running for that past 2 days... (EVERY SINGLE PACKAGE!) no halts... well 2 but I know the reason for them... and will be fixed in the next revision...

but let me know...

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 15, 2007, 12:50:31 pm
Quote
I believe something got hung-up in your build... what revision are you running?

Have you try to restart your build.. basically creating a new build env?

Then are you still getting the same error...

I have a build running that has been running for that past 2 days... (EVERY SINGLE PACKAGE!) no halts... well 2 but I know the reason for them... and will be fixed in the next revision...

but let me know...

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150598\")

I just downloaded the latest live86 and svn the latest pdaxrom-builder trunk(rev 175).

I've tried to build using the procedures below and always failed at step 12. I don't know why step 9 the make world command works but not at steps 12.

Please help.
Thanks,

0. cd /mnt/hd1/pdaxrom
1. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
2. cd trunk
3. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src)
4. cd /mnt/hd1/pdaxrom/akita-rom
5. make virtual-xchain_install
6. make archive-toolchain
7. make clean
8. ./configure akita-kernel-2.6-initrd-rom
9. make world
10. make image
11. ./configure akita-kernel-2.6-rom
12. make world <<---- always failed here, just don't know why the first make world works and this one doesn't
13. make image
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 15, 2007, 01:39:36 pm
Quote
Quote
I believe something got hung-up in your build... what revision are you running?

Have you try to restart your build.. basically creating a new build env?

Then are you still getting the same error...

I have a build running that has been running for that past 2 days... (EVERY SINGLE PACKAGE!) no halts... well 2 but I know the reason for them... and will be fixed in the next revision...

but let me know...

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=150598\")

I just downloaded the latest live86 and svn the latest pdaxrom-builder trunk(rev 175).

I've tried to build using the procedures below and always failed at step 12. I don't know why step 9 the make world command works but not at steps 12.

Please help.
Thanks,

0. cd /mnt/hd1/pdaxrom
1. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
2. cd trunk
3. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src)
4. cd /mnt/hd1/pdaxrom/akita-rom
5. make virtual-xchain_install
6. make archive-toolchain
7. make clean
8. ./configure akita-kernel-2.6-initrd-rom
9. make world
10. make image
11. ./configure akita-kernel-2.6-rom
12. make world <<---- always failed here, just don't know why the first make world works and this one doesn't
13. make image
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151261\"][{POST_SNAPBACK}][/a][/div]

The first works because it isnt building a many packages...just the emergancy boot image... is it still hanging at glib2?

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 15, 2007, 01:43:45 pm
Yes, it still failed at glib2. I believe its at prepare state.


Thanks,
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 16, 2007, 12:32:10 pm
Hi InSearchOf,

Any good news?


Thanks,
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 16, 2007, 06:28:33 pm
No clue why it hangs for you... but not me...  and you didnt run a make menuconfig and change anything...

do this... create a new build environment...

skip this

8. ./configure akita-kernel-2.6-initrd-rom
9. make world
10. make image

Let me know he results...

Late
Title: Pdaxrom Build Error - Glib22
Post by: Meanie on January 16, 2007, 06:48:01 pm
glib2 generates binaries that needs to be run during build. since you are cross compiling, you will be generating arm binaries which your dev env cannot run to continue your build. what you need to do is to build and install glib2 for your build environment (all you need from the build is the 3 or 4 executables it creates which you need to place somewhere in your build path. then your cross compile should succeed...

PS: the zgcc image is missing those executables too and thus fails to build anything requiring glib2. i had to compile glib2 from scratch to build those executables to add them to zgcc. it would be great if they were automatically included in zgcc.
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 16, 2007, 06:59:33 pm
glib2 is already built for pdaxrom-builder "pdax86"

unless if he is using some foreign image other then what myself and sashz using to build apps...

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 16, 2007, 07:29:12 pm
Quote
glib2 is already built for pdaxrom-builder "pdax86"

unless if he is using some foreign image other then what myself and sashz using to build apps...

Late
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=151367\")

So what are the exact steps for me to do to get it build correctly?

The following steps was working fine for me before, any additional steps I need to make?

1. load live86 cd
2. cd /mnt/hd1/pdaxrom
3. svn checkout [a href=\"https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk]https://mail.pdaxrom.org/svn/pdaXrom-builder/trunk[/url]
4. cd trunk
5. ./configure akita-kernel-2.6-initrd-xtools /mnt/hd1/pdaxrom/akita-rom http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src (http://distro.ibiblio.org/pub/linux/distri...ons/pdaxrom/src)
6. cd /mnt/hd1/pdaxrom/akita-rom
7. make virtual-xchain_install
8. make archive-toolchain
9. make clean
10. ./configure akita-kernel-2.6-initrd-rom
11. make world
12. make image
13. ./configure akita-kernel-2.6-rom
14. make world
15. make image
Title: Pdaxrom Build Error - Glib22
Post by: InSearchOf on January 16, 2007, 08:05:21 pm
well I dont think it this makes a diff or not...

cd /mnt/hd1/pdaxrom??

I always use....

./pdaxrom-builder/trunk

not just ./pdaxrom/trunk

and I dont do my build under ./pdaxrom-builder

I use my home dir... or another created dir under /mnt/hd1/

Late
Title: Pdaxrom Build Error - Glib22
Post by: abm_y4k on January 16, 2007, 08:43:48 pm
I'll try your suggestion.

Thanks,