#11 jtag-0.5.1 make errors

openwince (1)

Hi everyone, I am desperate for help!!

I am using the latest version of UBUNTU. I recently downloaded a copy of jtag-0.5.1 and include-0.4.2 from the sourceforge.net website.

I tried ./configure, make and make install for include and everything worked out fine. Then I moved on to the jtag-0.5.1.

./configure worked without errors. However, when I tried to make or make install (prior to this I did a sudo make so it's not due to insufficient rights) I got this error:

make[4]: Leaving directory `/tmp/jtag/libbrux/po'
make[4]: Entering directory `/tmp/jtag/libbrux'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/openwince -I/usr/local
/include/openwince/device -I/usr/local/include/openwince/arm -I./../include -g
-O2 -Wall -MT cmd_detectflash.o -MD -MP -MF ".deps/cmd_detectflash.Tpo" \ -c -o cmd_detectflash.o `test -f 'cmd/cmd_detectflash.c' || echo './'`
cmd/cmd_detectflash.c; \ then mv -f ".deps/cmd_detectflash.Tpo" ".deps/cmd_detectflash.Po"; \ else rm -f ".deps/cmd_detectflash.Tpo"; exit 1; \ fi
cmd/cmd_detectflash.c: In function `cmd_detectflash_run':
cmd/cmd_detectflash.c:43: error: too few arguments to function `detectflash'
make[4]: *** [cmd_detectflash.o] Error 1
make[4]: Leaving directory `/tmp/jtag/libbrux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/jtag/libbrux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/jtag/libbrux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/jtag'
make: *** [all] Error 2

What's going on? What did I do wrong?

I kept the two directories (jtag-0.5.1 and include-0.4.2) separate. Am I supposed to replace the include folder in jtag-0.5.1 with the include-0.4.2?

Another question: When I "./configure" in the jtag-0.5.1 folder, am supposed to type "./configure --with-include=PATH", where PATH is the path of include-0.4.2? I tried this out but still I experience the same problem on top.

Please help! My professor is shouting at me!


  • Zhenghao

    Zhenghao - 2008-01-08

    Error message printout

  • Zhenghao

    Zhenghao - 2008-01-08
    • priority: 5 --> 9
  • Kolja Waschk

    Kolja Waschk - 2008-01-11

    Logged In: YES
    Originator: NO

    Hi, you're supposed to do a "./configure && make && make install" in the include-0.4.2 directory first.

    The problem you're reporting with detectflash might be fixed in the CVS version of jtag (or include).

    OT: As a compatible alternative, you could try UrJTAG (http://urjtag.org)

  • Zhenghao

    Zhenghao - 2008-01-12

    Logged In: YES
    Originator: YES

    Hi, thanks for the help. As mentioned in 4th line of my original posting, I did "./configure && make && make install" in the include-0.4.2 directory first, and it worked out fine. The only problem comes when i do the same for the jtag-0.5.1.

    Do you know how to fix the CVS? I am absolutely clueless about CVS.

  • Gregg C Levine

    Gregg C Levine - 2008-01-12

    Logged In: YES
    Originator: NO

    Our host is telling you that it was indeed fixed in the one inside CVS. Instructions for retrieving it are found on the tab for code and then select CVS. Select as module the jtag one. You can either use it, or copy over the relevant files into the directory where you see the complaint.

    The idea is to do the retrieval into a new and empty directory.

  • Marcel Telka

    Marcel Telka - 2011-07-08

    The openwince project is no longer active.

    If this report is related to JTAG Tools, please try UrJTAG at http://urjtag.sourceforge.net/

  • Marcel Telka

    Marcel Telka - 2011-07-08
    • status: open --> closed
  • zara

    zara - 2015-02-15

    hello friends
    I use Urjtag with wiggler cable for rtl8671 in Hg521 .
    my cable recognized
    but when use detect command I have
    TDO seems stuck at 1


Log in to post a comment.