Results 1 to 4 of 4

Thread: PADS 1.1.0.62 fails to build on Ubuntu Hardy target

  1. #1
    stelios-k Guest

    Default PADS 1.1.0.62 fails to build on Ubuntu Hardy target

    Greetings to all !

    Downloaded PADS 1.1.0.62 from svn and while trying to build i get the following error

    11:53:09 (85.66 KB/s) - `/work/proj/warp/1.1.0.62/dl/skeleton-1.0.0-16.tgz' saved [7110076]

    mkdir -p /work/proj/warp/1.1.0.62/build_warp/root
    tar -zxf /work/proj/warp/1.1.0.62/dl/skeleton-1.0.0-16.tgz -C /work/proj/warp/1.1.0.62/build_warp/root
    tar: ./dev/ptyp7: Cannot mknod: Operation not permitted
    tar: ./dev/mtd14: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp2: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp5: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock14: Cannot mknod: Operation not permitted
    tar: ./dev/ttypc: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock12: Cannot mknod: Operation not permitted
    tar: ./dev/kmem: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp7: Cannot mknod: Operation not permitted
    tar: ./dev/mtd12: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp8: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr4: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar1: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar3: Cannot mknod: Operation not permitted
    tar: ./dev/i2c-1: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp0: Cannot mknod: Operation not permitted
    tar: ./dev/zero: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar5: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM4: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr13: Cannot mknod: Operation not permitted
    tar: ./dev/nftlb2: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS7: Cannot mknod: Operation not permitted
    tar: ./dev/mem: Cannot mknod: Operation not permitted
    tar: ./dev/mtd8: Cannot mknod: Operation not permitted
    tar: ./dev/nftla6: Cannot mknod: Operation not permitted
    tar: ./dev/sda1: Cannot mknod: Operation not permitted
    tar: ./dev/nftla5: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock16: Cannot mknod: Operation not permitted
    tar: ./dev/mtd0: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar0: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr5: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS1: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS0: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock2: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp1: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock15: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr8: Cannot mknod: Operation not permitted
    tar: ./dev/ttypf: Cannot mknod: Operation not permitted
    tar: ./dev/mtd1: Cannot mknod: Operation not permitted
    tar: ./dev/mtd15: Cannot mknod: Operation not permitted
    tar: ./dev/nftla2: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock8: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM5: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar6: Cannot mknod: Operation not permitted
    tar: ./dev/ram1: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock7: Cannot mknod: Operation not permitted
    tar: ./dev/ttypa: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp0: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar2: Cannot mknod: Operation not permitted
    tar: ./dev/ttypb: Cannot mknod: Operation not permitted
    tar: ./dev/urandom: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS6: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr11: Cannot mknod: Operation not permitted
    tar: ./dev/rtc: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp9: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock10: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM3: Cannot mknod: Operation not permitted
    tar: ./dev/mtd13: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS5: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp1: Cannot mknod: Operation not permitted
    tar: ./dev/watchdog: Cannot mknod: Operation not permitted
    tar: ./dev/tty2: Cannot mknod: Operation not permitted
    tar: ./dev/tty1: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp4: Cannot mknod: Operation not permitted
    tar: ./dev/pikalcd: Cannot mknod: Operation not permitted
    tar: ./dev/mtd4: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM1: Cannot mknod: Operation not permitted
    tar: ./dev/nftla1: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock11: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr3: Cannot mknod: Operation not permitted
    tar: ./dev/mtd6: Cannot mknod: Operation not permitted
    tar: ./dev/i2c-0: Cannot mknod: Operation not permitted
    tar: ./dev/nftlb1: Cannot mknod: Operation not permitted
    tar: ./dev/mtd2: Cannot mknod: Operation not permitted
    tar: ./dev/mtd9: Cannot mknod: Operation not permitted
    tar: ./dev/tty: Cannot mknod: Operation not permitted
    tar: ./dev/tty0: Cannot mknod: Operation not permitted
    tar: ./dev/nftlb3: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock1: Cannot mknod: Operation not permitted
    tar: ./dev/sdb: Cannot mknod: Operation not permitted
    tar: ./dev/ptypf: Cannot mknod: Operation not permitted
    tar: ./dev/mtd10: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock13: Cannot mknod: Operation not permitted
    tar: ./dev/mmcblk0: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr2: Cannot mknod: Operation not permitted
    tar: ./dev/nftla3: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock5: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar7: Cannot mknod: Operation not permitted
    tar: ./dev/tty3: Cannot mknod: Operation not permitted
    tar: ./dev/nftlb: Cannot mknod: Operation not permitted
    tar: ./dev/null: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp3: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock3: Cannot mknod: Operation not permitted
    tar: ./dev/mmcblk0p1: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr10: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM0: Cannot mknod: Operation not permitted
    tar: ./dev/nftla7: Cannot mknod: Operation not permitted
    tar: ./dev/mtd11: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr15: Cannot mknod: Operation not permitted
    tar: ./dev/mtd5: Cannot mknod: Operation not permitted
    tar: ./dev/pikahsp: Cannot mknod: Operation not permitted
    tar: ./dev/ptypb: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr6: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr1: Cannot mknod: Operation not permitted
    tar: ./dev/nftla: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp4: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS2: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock4: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock6: Cannot mknod: Operation not permitted
    tar: ./dev/mtd7: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp6: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr7: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock9: Cannot mknod: Operation not permitted
    tar: ./dev/ram0: Cannot mknod: Operation not permitted
    tar: ./dev/mtd16: Cannot mknod: Operation not permitted
    tar: ./dev/ptypc: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr14: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp5: Cannot mknod: Operation not permitted
    tar: ./dev/nftla4: Cannot mknod: Operation not permitted
    tar: ./dev/sda: Cannot mknod: Operation not permitted
    tar: ./dev/ttyCPM2: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp6: Cannot mknod: Operation not permitted
    tar: ./dev/mtdchar4: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp2: Cannot mknod: Operation not permitted
    tar: ./dev/nftlb4: Cannot mknod: Operation not permitted
    tar: ./dev/console: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp9: Cannot mknod: Operation not permitted
    tar: ./dev/ptype: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr0: Cannot mknod: Operation not permitted
    tar: ./dev/ttyp3: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS4: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr12: Cannot mknod: Operation not permitted
    tar: ./dev/ttyS3: Cannot mknod: Operation not permitted
    tar: ./dev/ram: Cannot mknod: Operation not permitted
    tar: ./dev/ttype: Cannot mknod: Operation not permitted
    tar: ./dev/zap/1: Cannot mknod: Operation not permitted
    tar: ./dev/zap/5: Cannot mknod: Operation not permitted
    tar: ./dev/zap/pseudo: Cannot mknod: Operation not permitted
    tar: ./dev/zap/ctl: Cannot mknod: Operation not permitted
    tar: ./dev/zap/4: Cannot mknod: Operation not permitted
    tar: ./dev/zap/transcode: Cannot mknod: Operation not permitted
    tar: ./dev/zap/2: Cannot mknod: Operation not permitted
    tar: ./dev/zap/channel: Cannot mknod: Operation not permitted
    tar: ./dev/zap/timer: Cannot mknod: Operation not permitted
    tar: ./dev/zap/3: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr9: Cannot mknod: Operation not permitted
    tar: ./dev/mtdblock0: Cannot mknod: Operation not permitted
    tar: ./dev/sdb1: Cannot mknod: Operation not permitted
    tar: ./dev/ptypa: Cannot mknod: Operation not permitted
    tar: ./dev/mtdr16: Cannot mknod: Operation not permitted
    tar: ./dev/mtd3: Cannot mknod: Operation not permitted
    tar: ./dev/pika1: Cannot mknod: Operation not permitted
    tar: ./dev/ttypd: Cannot mknod: Operation not permitted
    tar: ./dev/ptypd: Cannot mknod: Operation not permitted
    tar: ./dev/ptyp8: Cannot mknod: Operation not permitted
    tar: Error exit delayed from previous errors
    make: *** [/work/proj/warp/1.1.0.62/build_warp/root/.unpacked] Error 2
    stelios@Athena:/work/proj/warp/1.1.0.62$

    It looks like the build system is trying to make the dev nodes on the host filesystem and that's why the error.

    The host is a quad core running Ubuntu Hardy 64bit

  2. #2
    agauthier Guest

    Default You need to log on as root to compile

    Hi,

    As specified from the PADS documentation, you need to be logged on as root. Check in http://outgoingftp.pikatech.com/appl...uildALoad.html.

    The reason is exactly as you mentioned since it uses the mknod is used to create the nodes that will run on the target.

    I hope this helps.

    /alain

  3. #3
    stelios-k Guest

    Default

    running as root this time build fails while at grandprix

    Initially i get this
    echo "HMP version" 2.5.0-69 >> /work/proj/warp/1.1.0.62/build_warp/root/persistent/version_info.txt
    make prefix="/usr" PIKA_CFLAGS="-g -fPIC -DPIKA_WARP" \
    PERSISTENT_STORAGE="/work/proj/warp/1.1.0.62/build_warp/root/persistent" \
    -C /work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126 all
    make[1]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make all-recursive
    make[2]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    Making all in grandprix
    make[3]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126/grandprix'
    make[4]: CXX@: Command not found
    make[4]: *** [carraylist.o] Error 127
    make[3]: *** [base] Error 2
    make[3]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126/grandprix'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make: *** [chan_pika] Error 2


    after adding CXX=c++ and/or CXX=g++ i get the following

    echo "HMP version" 2.5.0-69 >> /work/proj/warp/1.1.0.62/build_warp/root/persistent/version_info.txt
    make prefix="/usr" PIKA_CFLAGS="-g -fPIC -DPIKA_WARP" \
    PERSISTENT_STORAGE="/work/proj/warp/1.1.0.62/build_warp/root/persistent" \
    -C /work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126 all
    make[1]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make all-recursive
    make[2]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    Making all in grandprix
    make[3]: Entering directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126/grandprix'
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o carraylist.o carraylist.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cbasesocket.o cbasesocket.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cbasednsclient.o cbasednsclient.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cblockingqueue.o cblockingqueue.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cconditionvar.o cconditionvar.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cfileconfig.o cfileconfig.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o chashtable.o chashtable.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o clist.o clist.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cmemoryblock.o cmemoryblock.cpp
    c++ -pedantic -O3 -fexceptions -Wno-deprecated -Wno-long-long -Wall -g3 -fPIC -I. -I../include -g -fPIC -DPIKA_WARP -c -o cmemorypool.o cmemorypool.cpp
    cmemorypool.cpp: In destructor 'virtual CMemoryPool::~CMemoryPool()':
    cmemorypool.cpp:60: error: cast from 'PK_VOID*' to 'PK_UINT' loses precision
    make[4]: *** [cmemorypool.o] Error 1
    make[3]: *** [base] Error 2
    make[3]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126/grandprix'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/work/proj/warp/1.1.0.62/build_warp/chan_pika-tags-3.4.0.126'
    make: *** [chan_pika] Error 2

  4. #4
    stelios-k Guest

    Default

    To partially answer my post

    The problem is that the toolchain path is not exported when entering the chan_pika dir
    CXX and AR should point to the ppc toolchain and not the hosts toolchain

    I did that and build completed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •