Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

problem developing zImage (uClinux)

I followed steps followed in

http://www.nioswiki.com/operatingsystems/uclinux/uclinuxdist (http://www.nioswiki.com/operatingsystems/uclinux/uclinuxdist)

everything goes well untill

make vendor_hwselect SYSPTF=/path_to_your_hardware_project/your_system.ptf

But when I use the make command it gives an error

[root@localhost uClinux-dist]# NON_SMP_BUILD=1 make

make -C tools/ucfront

make[1]: Entering directory `/root/Desktop/uClinux-dist/tools/ucfront'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/root/Desktop/uClinux-dist/tools/ucfront'

ln -sf /root/Desktop/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc

ln -sf /root/Desktop/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++

ln -sf /root/Desktop/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld

chmod +x tools/romfs-inst.sh tools/modules-alias.sh

. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then

mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`;

touch $CONFIG_INITRAMFS_SOURCE || exit 1;

fi

dirname: extra operand `../vendors/Altera/nios2nommu/romfs_list'

Try `dirname --help' for more information.

mkdir: missing operand

Try `mkdir --help' for more information.

touch: cannot touch `../vendors/Altera/nios2nommu/romfs_list': No such

file or directory

make: *** [linux] Error 1

can any1 help me in removing this error..

Thanx a lot !!!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for the reply..

    with the new link while trying to build the toolchain

    when I put command

    >setarch i386 make gcc elf2flt gdb-host

    it gives an error

    .

    .

    .

    .

    make[1]: Entering directory `/root/Desktop/nios2-linux/uClibc'

    make[2]: `conf' is up to date.

    make[2]: execvp: true: Permission denied

    make[2]: *** [headers-y] Error 127

    make[1]: *** [headers] Error 2

    make[1]: Leaving directory `/root/Desktop/nios2-linux/uClibc'

    make: *** [/root/Desktop/nios2-linux/toolchain-build/build/sysroot//.configured]

    Error 2

    m stuck and dont know what to do ...