Author Topic: Trying To Build Oz 3.5.4 For Collie  (Read 3579 times)

bladerunner

  • Newbie
  • *
  • Posts: 17
    • View Profile
Trying To Build Oz 3.5.4 For Collie
« on: March 27, 2006, 03:53:12 pm »
I'm trying to build OZ 3.5.4 for collie for myself but I'm having trouble following the example local.conf.   Is it just me ?  

I installed the ARM cross-compiler on my Linux PC and that works because I can create a hello world program and run it on my collie ( with OZ 3.5.4 installed ).

The build error I'm getting is related to not finding the right compiler...

| checking for arm-linux-gcc... arm-linux-gcc -march=armv4 -mtune=xscale
| checking for C compiler default output file name... configure: error: C compiler cannot create executables

... it seems to try to run arm-linux-gcc and fail, not surprising as the WiKi said rename the compiler to arm-linux-gcc-2.95. Perhaps configure is supposed to try another compiler before failing ??

So I think I'm a bit confused with the ASSUMED_PROVIDED and PREFERRED_PROVIDERS settings in local.conf.

Please can someone post a working local.conf for the collie. It may help others as well.  

Thanks.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Trying To Build Oz 3.5.4 For Collie
« Reply #1 on: March 27, 2006, 04:24:36 pm »
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120539\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

bladerunner

  • Newbie
  • *
  • Posts: 17
    • View Profile
Trying To Build Oz 3.5.4 For Collie
« Reply #2 on: March 27, 2006, 04:32:57 pm »
Quote
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120539\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120547\"][{POST_SNAPBACK}][/a][/div]

Thanks. However, I can't seem to find it.  
Please can you tell me the location of local.conf.openzaurus-3.5.4 or post a copy of it ?

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Trying To Build Oz 3.5.4 For Collie
« Reply #3 on: March 27, 2006, 04:46:44 pm »
Quote
Quote
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120547\"][{POST_SNAPBACK}][/a][/div]

Thanks. However, I can't seem to find it.  
Please can you tell me the location of local.conf.openzaurus-3.5.4 or post a copy of it ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120551\"][{POST_SNAPBACK}][/a][/div]

org.openembedded.oz354fam083/conf/local.conf.openzaurus-3.5.4

or

org.openembedded.oz354x/conf/local.conf.openzaurus-3.5.4

or

[a href=\"http://ewi546.ewi.utwente.nl/tmp/viewmtn/manifest.psp?id=737acaa4fd04c3be34c9fe3a83beaf07f7532feb&path=conf]http://ewi546.ewi.utwente.nl/tmp/viewmtn/m...32feb&path=conf[/url]
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

bladerunner

  • Newbie
  • *
  • Posts: 17
    • View Profile
Trying To Build Oz 3.5.4 For Collie
« Reply #4 on: March 28, 2006, 01:10:44 am »
Thanks koen, I've found the example local.conf.openzaurus-3.5.4 , I was using the dev branch ( I'm new to this ).

Unfortunately, local.conf.openzaurus-3.5.4 does not help as it does not contain ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95". Is the WiKi correct ?

Please can someone post a working local.conf for collie or provide instructions to get the arm-linux-gcc-2.95 toolchain to be used by local.conf. The WiKi fails to explain why the rename is required, perhaps I'm looking at the wrong WiKi page or misunderstood something? Any suggestions ?

Also, what are the valid strings for DISTRO and DISTRO_VERSION for OZ 3.5.4 ?
Is DISTRO = "openzaurus-3.5.4" correct with no DISTRO_VERSION specified ?

Is it just me ?  

Thanks.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Trying To Build Oz 3.5.4 For Collie
« Reply #5 on: March 28, 2006, 01:36:55 am »
Quote
Thanks koen, I've found the example local.conf.openzaurus-3.5.4 , I was using the dev branch ( I'm new to this ).

Unfortunately, local.conf.openzaurus-3.5.4 does not help as it does not contain ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95". Is the WiKi correct ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120607\"][{POST_SNAPBACK}][/a][/div]

openzaurus.conf (in conf/distro) already specifies this for you, the wiki is still correct
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Trying To Build Oz 3.5.4 For Collie
« Reply #6 on: March 28, 2006, 01:39:07 am »
Code: [Select]
MACHINE="collie"
DISTRO="openzaurus-3.5.4"
BBFILES="path_to_org.openembedded.oz354fam083/packages/*/*.bb" # or org.openembedded.oz354x

should be enough. gcc-2.95.3 is ASSUMED in openzaurus-3.5.4.conf

There was a discussion on OE mailing list about that sample config - I will maybe commit simpler version of it.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

bladerunner

  • Newbie
  • *
  • Posts: 17
    • View Profile
Trying To Build Oz 3.5.4 For Collie
« Reply #7 on: March 30, 2006, 03:53:05 pm »
Thanks. I can now build the packages OK although I have not tested them.

I have updated the WiKi GettingStarted and created a new page LocalConfExamples

I suggest the LocalConfExamples page is used to show example configurations and to explain how the local.conf files works.