Forum Discussion

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

problem compiling complex prog for uClinux

Hello all ..

I'm currently working on my grad project (i will post it here when i finish)

i have 2c35 board

i'm trying to run the mplayer program on uClinux ..

i disabled all unwanted options during the " ./configure " step

also i chose the compiler to be the nios-gcc .. from the buildroot guide provided by Mr. Hippo

when i type : " make" .. it starts compiling.. .. generates an executable file " codec-cfg" ... then it tries to execute it .. of course it makes an error .. as the linux cant execute a nios compiled prog..

can any1 help me in this problem.. i will be very gratefull.. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

about my project.. i am doing an IDCT H/W accelerator.. to reach the realtime requirements.. (still need to write its driver)

maybe MPLAyer is too complex .. does any1 have an an alternative idea .. of a simpler code for compiling??

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif

Thanks in advance http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif

Yours,

Tarek

5 Replies

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

    You should post this on the uclinux forum.

    What do you want to do with your project?

    There are some audio related apps in uCLinux-dist.

    There are some interesting DSP related projects on blackfin uclinux forum. You should have a look at them. Some of them can be ported in Nios2, too.

    How did you do ./configure ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    You should post this on the uclinux forum.[/b]

    --- Quote End ---

    sorry for that ..

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    What do you want to do with your project?[/b]

    --- Quote End ---

    i want to make a portable video player (something like i-pod video)

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    There are some audio related apps in uCLinux-dist.

    There are some interesting DSP related projects on blackfin uclinux forum. You should have a look at them. Some of them can be ported in Nios2, too.[/b]

    --- Quote End ---

    thanks .. ill go c them http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    How did you do ./configure ?[/b]

    --- Quote End ---

    ./configure --disable-mencoder --disable-freetype --disable-fontconfig --disable-fastmemcpy --disable-tv --disable-tv-v4l --disable-tv-v4l2 --disable-edl --disable-network --disable-unrarlib --disable-sortsub --disable-ftp --disable-sighandler --disable-mmx --disable-mmx2 --disable-3dnow --disable-3dnowex --disable-sse --disable-sse2 --cc=nios2-linux-uclibc-gcc --disable-gcc-checking --disable-win32 --disable-dshow --disable-qtx --disable-xanim --disable-real

    ... isnt that correct ?

    http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    EDITED , removed configure option.

    video player, is a BIG project !!

    First, you (maybe) should develope the frame buffer device for your display , YUV or RGB?. You should try to display pictures or draw something.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Jun 23 2006, 04:59 AM

    edited , removed configure option.

    video player, is a big project !!

    first, you (maybe) should develope the frame buffer device for your display , yuv or rgb?. you should try to display pictures or draw something.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16353)

    --- quote end ---

    --- Quote End ---

    What is meant by your first line ??

    anyway .. the VGA interface is almost done ..

    video buffering is on the way .. still searching for clues..

    the big problem now is ::: I CANT COMPILE !

    pls help .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What happened with compile?

    Did you add the path of your cross compiler to $PATH env?