From: SourceForge.net <no...@so...> - 2008-01-12 06:45:25
|
Support Requests item #1866586, was opened at 2008-01-08 03:03 Message generated for change (Comment added) made by masteryoda You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=469851&aid=1866586&group_id=52603 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: openwince Group: None Status: Open Priority: 9 Private: No Submitted By: Zhenghao (talltk) Assigned to: Marcel Telka (telka) Summary: jtag-0.5.1 make errors Initial Comment: 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! ---------------------------------------------------------------------- Comment By: Gregg C Levine (masteryoda) Date: 2008-01-12 01:45 Message: Logged In: YES user_id=79839 Originator: NO 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. ---------------------------------------------------------------------- Comment By: Zhenghao (talltk) Date: 2008-01-12 01:03 Message: Logged In: YES user_id=1974104 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. ---------------------------------------------------------------------- Comment By: Kolja Waschk (kawk) Date: 2008-01-11 14:59 Message: Logged In: YES user_id=478715 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) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=469851&aid=1866586&group_id=52603 |