Share

The openwince project

Tracker: Support Requests

9 jtag-0.5.1 make errors - ID: 1866586
Last Update: Comment added ( masteryoda )

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 ( talltk ) - 2008-01-08 08:03

9

Open

None

Marcel Telka

openwince

None

Public


Comments ( 3 )

Date: 2008-01-12 06:45
Sender: masteryodaAccepting Donations


Hello!
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.


Date: 2008-01-12 06:03
Sender: talltk


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.


Date: 2008-01-11 19:59
Sender: kawk


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)



Attached File ( 1 )

Filename Description Download
errors Error message printout Download

Changes ( 2 )

Field Old Value Date By
priority 5 2008-01-08 08:04 talltk
File Added 261297: errors 2008-01-08 08:03 talltk