Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SNiFF: "No rule to make target" problem

219 views
Skip to first unread message

Andre Chrcanovic

unread,
Jun 16, 2003, 1:50:47 PM6/16/03
to
Hi all,

I started a new SNiFF project to generate a bootable image to our ACTIS card.

When I try to build the project I get the following output:

***building***: PPC603gnu/vxWorks
make -f"D:/Projetos/bz/bznpac_i/Makefile" MAKE="make
PRJ_DIR=D:/Projetos/bz/bznpac_i" PRJ_DIR="D:/Projetos/bz/bznpac_i"
TGT_DIR="D:/Tornado2.2/target" VPATH="D:/Projetos/bz/bznpac_i"
BUILD_SPEC=default CPU=PPC603 TOOL=gnu TOOL_FAMILY=gnu EXTRA_MODULES="bil.o
bil_ubt.o ctf.o (TGT_DIR)/config/csbc6872/m8260SmcSio.obj
(TGT_DIR)/config/csbc6872/m8260SccSio.obj
(TGT_DIR)/config/csbc6872/m8260FecEnd.obj" DEFAULT_RULE=vxWorks vxWorks
make.EXE[2]: *** No rule to make target
`(TGT_DIR)/config/csbc6872/m8260SmcSio.obj', needed by `partialImage.o'.
Stop.
D:\SNIFF_~1\bin\gnu-win32\gmake.EXE[1]: *** [PPC603gnu/vxWorks] Error 2
gmake: *** [main_all] Error 2
SNiFF+ Build: Aborted: Fri Jun 13 14:07:41 2003

The file m8260SmcSio.obj is in the directory
D:/Tornado2.2/target/config/csbc6872. Do you have an idea about what is
going on here?

Thanks in advance,

Andre Chrcanovic

drdiags

unread,
Jun 16, 2003, 11:28:34 PM6/16/03
to
Andre,

"Andre Chrcanovic" <al...@task.com.br> wrote in message
news:5c9be5c2.03061...@posting.google.com...


> Hi all,
>
> I started a new SNiFF project to generate a bootable image to our ACTIS
card.
>
> When I try to build the project I get the following output:
>
> ***building***: PPC603gnu/vxWorks
> make -f"D:/Projetos/bz/bznpac_i/Makefile" MAKE="make
> PRJ_DIR=D:/Projetos/bz/bznpac_i" PRJ_DIR="D:/Projetos/bz/bznpac_i"
> TGT_DIR="D:/Tornado2.2/target" VPATH="D:/Projetos/bz/bznpac_i"
> BUILD_SPEC=default CPU=PPC603 TOOL=gnu TOOL_FAMILY=gnu
EXTRA_MODULES="bil.o
> bil_ubt.o ctf.o (TGT_DIR)/config/csbc6872/m8260SmcSio.obj
> (TGT_DIR)/config/csbc6872/m8260SccSio.obj
> (TGT_DIR)/config/csbc6872/m8260FecEnd.obj" DEFAULT_RULE=vxWorks vxWorks
> make.EXE[2]: *** No rule to make target
> `(TGT_DIR)/config/csbc6872/m8260SmcSio.obj', needed by `partialImage.o'.

Shouldn't (TGT_DIR) be derefenced using a "$" or "%" sign (cygwin used for
build?)? Your macro
expansion doesn't appear to be working, but I am not a SNiFF+ user, so
expansion may be occurring and this
is just an echo of what is going on in the background. Martin R. was one of
the best champions
for SNiFF+ and he posts from time to time. What version of SNiFF+? Good
luck....

> Stop.
> D:\SNIFF_~1\bin\gnu-win32\gmake.EXE[1]: *** [PPC603gnu/vxWorks] Error 2
> gmake: *** [main_all] Error 2
> SNiFF+ Build: Aborted: Fri Jun 13 14:07:41 2003
>
> The file m8260SmcSio.obj is in the directory
> D:/Tornado2.2/target/config/csbc6872. Do you have an idea about what is
> going on here?
>
> Thanks in advance,

Hmm... Tornado 2.2, is this your own BSP or a third party one?

>
> Andre Chrcanovic


Andre Chrcanovic

unread,
Jun 17, 2003, 7:48:16 AM6/17/03
to
>
> Shouldn't (TGT_DIR) be derefenced using a "$" or "%" sign (cygwin used for
> build?)? Your macro
> expansion doesn't appear to be working, but I am not a SNiFF+ user, so
> expansion may be occurring and this
> is just an echo of what is going on in the background. Martin R. was one of
> the best champions
> for SNiFF+ and he posts from time to time. What version of SNiFF+? Good
> luck....
>

Yes, I guess it should. But the command line is generated
automatically by SNiFF. I looked for the expression (TGT_DIR) in the
project file (.wpj) and in the related Makefile, but all occurrences
have form $(TGT_DIR).

The SNiFF version is 4.1.1.

>
> Hmm... Tornado 2.2, is this your own BSP or a third party one?
>

This is a third party one. And it worked with Tornado 2.2. I had
another set of problems with Tornado, like relative paths and
dependencies generation for example, but I was able to build a
bootable image with this BSP using Tornado.

Thanks,

Andre Chrcanovic

Martin Raabe

unread,
Jun 17, 2003, 11:18:59 AM6/17/03
to
Hello Andre,
as Dr. Diag said, I am familar with SNiFF+.
So here is what I get in the Build pane, when I have created the bootable
VxWorks project directly from the BSP mbx860
and have Build the project immediately. (see attached sniff.txt file).

I also used SNiFF+ 4.1.1.

There is a good chance that the TGT_DIR variables are not set, when you have
installed SNiFF+ before you have installed Tornado.
If this is the case, please install the Tornado integration again, to make
sure the "SNiFF+ 4.1.1 for TornadoII 2.2 ppc" shortcut has been generated
correctly.

If you need further help, feel free to contact me for further consulting
services (also online).

Best Regards

--
BaSystem Martin Raabe
E: Martin...@NOSPAMBaSystem.de
Web: http://BaSystem.de/eng_index.htm


Andre Chrcanovic

unread,
Jun 18, 2003, 8:38:02 AM6/18/03
to
Hello Martin.

Thank you for the tip! This is exactly what Wind River told me to do!
Unfortunately I ended with the same error. They think there is
something wrong with the BSP.

I am using Google Groups to access the list, and I could not access
the file sniff.txt...

Danke shon!

Heztliche Grusse.

Andre.

0 new messages