Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - make errors: (9 Items)
   
make errors  
I tried to compile io-pkt GA in QNX 6.4 environment we got this make error:

make[4]: *** No rule to make target `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/io-pkt-spe-v4.
use', needed by `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4/io-pkt-spe-
v4'.  Stop.
make[4]: Leaving directory `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4'
make[3]: *** [install] Error 2

I found that io-pkt-spe-v4.use is missing from the source.

I then made a copy of 
io-pkt-v4.use to io-pkt-spe-v4.use, 
io-pkt-v4-hc.use to io-pkt-spe-v4-hc.use
io-pkt-v6-hc.use to io-pkt-spe-v6-hc.use
iio-pkt-v6-hc.use to io-pkt-spe-v6-hc.use

recompiled, and the make errors went away. Subsequently, the make succeeded.

Is the copy the right way to resolve the errors? If not what would be the appropriate way?

Thanks,

Re: make errors  
Without an updated set of mkfiles in $QNX_TARGET/usr/include/mk, you will have to add

EXCLUDE_VARIANTLIST=spe to your build.

Colin

Santosh Kumar wrote:
> I tried to compile io-pkt GA in QNX 6.4 environment we got this make error:
> 
> make[4]: *** No rule to make target `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/io-pkt-spe-v4.
use', needed by `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4/io-pkt-spe-
v4'.  Stop.
> make[4]: Leaving directory `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4'

> make[3]: *** [install] Error 2
> 
> I found that io-pkt-spe-v4.use is missing from the source.
> 
> I then made a copy of 
> io-pkt-v4.use to io-pkt-spe-v4.use, 
> io-pkt-v4-hc.use to io-pkt-spe-v4-hc.use
> io-pkt-v6-hc.use to io-pkt-spe-v6-hc.use
> iio-pkt-v6-hc.use to io-pkt-spe-v6-hc.use
> 
> recompiled, and the make errors went away. Subsequently, the make succeeded.
> 
> Is the copy the right way to resolve the errors? If not what would be the appropriate way?
> 
> Thanks,
> 
> 
> 
> _______________________________________________
> Builds
> http://community.qnx.com/sf/go/post23424
> 

-- 
cburgess@qnx.com
Re: make errors  
Colin,

We're using multi-core processor, so we need spe.
RE: make errors  
Hi Santosh:

   SPE isn't related to SMP.  SPE is an ABI variant for the Freescale PowerQUICC-III processors.  The tool chain to 
build this variant is only available with the upcoming 6.4.1 release.

   Robert.


-----Original Message-----
From: Santosh Kumar [mailto:community-noreply@qnx.com]
Sent: Tue 3/3/2009 10:06 PM
To: builds-networking
Subject: Re: make errors
 
Colin,

We're using multi-core processor, so we need spe.

_______________________________________________
Builds
http://community.qnx.com/sf/go/post23427


Attachment: Text winmail.dat 2.43 KB
Re: RE: make errors  
Any idea when 6.4.1 release available?

Thanks
RE: RE: make errors  
Sometime around the May/June time frame, I believe.  Is there specific
functionality that you're looking for?

	Robert.

-----Original Message-----
From: Santosh Kumar [mailto:community-noreply@qnx.com] 
Sent: Wednesday, March 04, 2009 1:01 PM
To: builds-networking
Subject: Re: RE: make errors

Any idea when 6.4.1 release available?

Thanks

_______________________________________________
Builds
http://community.qnx.com/sf/go/post23501
Re: RE: RE: make errors  
We are using MPC8572E processor. Do we need spe??

thanks
RE: RE: RE: make errors  
Hi Santosh:

	If you aren't using extensive floating point operations in your
application, then you won't need it.  The SPE variant was needed to
provide ABI compatibility with the floating point hardware
implementation on the PQ-III processors.

The software emulated floating point works just fine on these processors
when not using SPE, it's just a slower implementation.

  R.


-----Original Message-----
From: Santosh Kumar [mailto:community-noreply@qnx.com] 
Sent: Wednesday, March 04, 2009 5:21 PM
To: builds-networking
Subject: Re: RE: RE: make errors

We are using MPC8572E processor. Do we need spe??

thanks

_______________________________________________
Builds
http://community.qnx.com/sf/go/post23558
Re: make errors  
On Tue, Mar 03, 2009 at 09:34:03PM -0500, Santosh Kumar wrote:
> I tried to compile io-pkt GA in QNX 6.4 environment we got this make error:
> 
> make[4]: *** No rule to make target `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/io-pkt-spe-v4.
use', needed by `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4/io-pkt-spe-
v4'.  Stop.
> make[4]: Leaving directory `/home/snguyen/workspace/ne_main/ne/thirdparty/Networking/trunk/sys/target/ppc/o.be.spe.v4'

> make[3]: *** [install] Error 2
> 
> I found that io-pkt-spe-v4.use is missing from the source.
> 
> I then made a copy of 
> io-pkt-v4.use to io-pkt-spe-v4.use, 
> io-pkt-v4-hc.use to io-pkt-spe-v4-hc.use
> io-pkt-v6-hc.use to io-pkt-spe-v6-hc.use
> iio-pkt-v6-hc.use to io-pkt-spe-v6-hc.use
> 
> recompiled, and the make errors went away. Subsequently, the make succeeded.
> 
> Is the copy the right way to resolve the errors? If not what would be the appropriate way?

Is your io-pkt/sys/target/common.mk up to date?  I think the last
update to it should address this:

io-pkt/sys/target >svn diff -c 805 common.mk
Index: common.mk
===================================================================
--- common.mk   (revision 804)
+++ common.mk   (revision 805)
@@ -35,7 +35,7 @@
 NAME=io-pkt
 empty:=
 space:=$(empty) $(empty)
-USEFILE= $(PRODUCT_ROOT)/$(NAME)-$(subst $(space),-,$(filter-out be le, $(VARIANT_LIST))).use
+USEFILE= $(PRODUCT_ROOT)/$(NAME)-$(subst $(space),-,$(filter-out be le spe, $(VARIANT_LIST))).use

 ISMIPS:= $(filter mips,$(subst /,$(space),$(patsubst $(IOPKT_ROOT)%,%, $(CURDIR))))
 ISSH:= $(filter sh,$(subst /,$(space),$(patsubst $(IOPKT_ROOT)%,%, $(CURDIR))))