Sean Boudreau(deleted)
|
Re: On linux, which "recurse.mk" is used?
|
Sean Boudreau(deleted)
11/28/2011 12:01 PM
post90319
|
Re: On linux, which "recurse.mk" is used?
Check the MAKEFLAGS environmental variable.
On Mon, Nov 28, 2011 at 11:59:31AM -0500, Raymond G. Pan wrote:
> Question: on my linux, why does "make" use "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk" instead of "$QNX_TARGET
/usr/include/mk/recurse.mk"?
>
> The document (http://www.qnx.com/developers/docs/6.4.1/neutrino/prog/make_convent.html) says:
> The recurse.mk file resides under $QNX_TARGET/usr/include/mk. This directory contains other files that are included
within makefiles. Note that while the make utility automatically searches $QNX_TARGET/usr/include, we've created
symbolic links from there to $QNX_TARGET/usr/include/mk.
>
> However, in the tests on my linux, it looks that "make" uses "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk"
instead of "$QNX_TARGET/usr/include/mk/recurse.mk". Why?
>
>
> Details:
> 1. There are "recurse.mk" files under both "$QNX_TARGET/usr/include/mk/recurse.mk" and "/opt/qnx650/target/qnx6/usr/
include/mk/recurse.mk".
>
> 2.The QNX env variables are:
> QNX_TARGET_SDK=/opt/qnx650/target/qnx6
> QNX_CONFIGURATION=/etc/qnx
> QNX_JAVAHOME=/opt/qnx650/_jvm
> QNX_TARGET=/home/builder/p4/myProject/ap/msm/deckard65x/developer/trunk/target/qnx6
> QNX_HOST=/opt/qnx650/host/linux/x86
>
> 3. I did following tests:
> a. modify "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk" by adding a line "$(info QNX_TARGET=$(QNX_TARGET))", run
"make install", then we can see the message:
>
> QNX_TARGET=/home/builder/p4/myProject/ap/msm/deckard65x/developer/trunk/target/qnx6
>
> b. delete "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk" and run "make install" then we can see:
>
> Makefile:4: recurse.mk: No such file or directory
> make: *** No rule to make target `recurse.mk'. Stop.
>
>
> Thank you,
> Raymond
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post90318
>
|
|
|
Ryan Mansfield(deleted)
|
Re: On linux, which "recurse.mk" is used?
|
Ryan Mansfield(deleted)
11/28/2011 12:03 PM
post90320
|
Re: On linux, which "recurse.mk" is used?
On 11-11-28 11:59 AM, Raymond G. Pan wrote:
> Question: on my linux, why does "make" use "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk" instead of "$QNX_TARGET
/usr/include/mk/recurse.mk"?
>
> The document (http://www.qnx.com/developers/docs/6.4.1/neutrino/prog/make_convent.html) says:
> The recurse.mk file resides under $QNX_TARGET/usr/include/mk. This directory contains other files that are included
within makefiles. Note that while the make utility automatically searches $QNX_TARGET/usr/include, we've created
symbolic links from there to $QNX_TARGET/usr/include/mk.
>
> However, in the tests on my linux, it looks that "make" uses "/opt/qnx650/target/qnx6/usr/include/mk/recurse.mk"
instead of "$QNX_TARGET/usr/include/mk/recurse.mk". Why?
It's because your MAKEFLAGS envvar still points at /opt/qnx650 and not
-I$QNX_TARGET/usr/include
Regards,
Ryan Mansfield
|
|
|
Raymond G. Pan
|
Re: On linux, which "recurse.mk" is used?
|
Raymond G. Pan
11/28/2011 12:24 PM
post90322
|
Re: On linux, which "recurse.mk" is used?
Sean and Ryan,
I just verified that after changing MAKEFLAGS=-I$QNX_TARGET/usr/include, I can see "make" search "recurse.mk" under "$
QNX_TARGET/usr/include" instead of ""/opt/qnx650/target/qnx6/usr/include".
Thank you! :)
|
|
|
Srinivas M(deleted)
|
Re: On linux, which "recurse.mk" is used?
|
Srinivas M(deleted)
12/02/2014 3:28 AM
post112503
|
Re: On linux, which "recurse.mk" is used?
Hi Raymond,
you were able to build and run dce_test ?
Could you please let me know the procedures you followed to build and run libdce and dce_test?
Thanks,
Srinivas.
|
|
|