[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Petalinux "make" failure.



Hi,

I installed the Petalinux distribution as mentioned in the installation guide. After that, I followed the instructions for settings files and for configuration. the "source ./settings.sh" command worked well.
Then, the "make config" command gave an error message even if it launched the "selections". Here is the log:

--------------------------------------------------------------------------------
faiza@Desktop:~/Desktop/petalinux-v0.40-rc4/software/petalinux-dist$ make config
grep: /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/.config: No such file or directory
config/mkconfig > config.in
[: 140: ==: unexpected operator
grep: /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/.config: No such file or directory
#
# No defaults found
#
*
* Vendor/Product Selection
*
*
* Select the Vendor you wish to target
*
Vendor (PetaLogix, Xilinx) [PetaLogix] (NEW)*

----------------------------------------------------------------------------------

I choosed all defaults values and then I launched the "make all" command which failed. here is the resulting log:(only a part of the log is displayed)

--------------------------------------------------------------------
make -C /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto/. dir_v=/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto/. -f /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/vendors-common.mak romfs.post
make[2]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto'
make[2]: Nothing to be done for `romfs.post'.
make[2]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto'
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors'
find /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/romfs/. -name CVS | xargs -r rm -rf
u-boot/petalinux-uboot-config
u-boot/petalinux-uboot-config: 48: source: not found
make -C /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot -j1 all
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot'
System not configured - see README
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot'
make: *** [u-boot] Error 2
------------------------------------------------------------------------------

I read the README in the u-boot section but did not really understood what actions I should take, can anyone help me please?

One more thing, here is the resulting log of the "petalinux-send-configs" script:

---------------------------------------------
faiza@Desktop:~/Desktop/petalinux-v0.40-rc4/tools/common/petalogix/bin$ ./petalinux-send-configs
./petalinux-send-configs: 26: function: not found
[: 31: ==: unexpected operator
./petalinux-send-configs: 32: Syntax error: "}" unexpected
----------------------------------------------------

Thanks for your help.


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/