What's new in make?

Hi,
After having installed the new qrtp, I tried to build the application
I’m writing but I got the following message:

make -j 1 -CDataServer all && make -j 1 -CDataServer_API all && make -j
1 -Ctest all
make[1]: Entering directory `/home/a.bonnefoy/src/DataServer/DataServer’

make -j 1 -Cnto all
make[2]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make -j 1 -Cx86 all make[3]: Entering directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make -j 1 -Co all && make -j 1 -Co.g all
make[4]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' : No such file or directory.mk '. Stop.*** No rule to make target …/…/…/common.mk
make[4]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make[1]: *** [all] Error 2 make[1]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer’
make: *** [all] Error 2

I tried on another project, I got a similar problem.

Did you change something in make, makefiles, macros, etc. ?

Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

Hi,
After having installed the new qrtp, I tried to build the application
I’m writing but I got the following message:

make -j 1 -CDataServer all && make -j 1 -CDataServer_API all && make -j
1 -Ctest all
make[1]: Entering directory `/home/a.bonnefoy/src/DataServer/DataServer’

make -j 1 -Cnto all
make[2]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make -j 1 -Cx86 all make[3]: Entering directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make -j 1 -Co all && make -j 1 -Co.g all
make[4]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' : No such file or directory.mk '. Stop.*** No rule to make target …/…/…/common.mk
make[4]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make[1]: *** [all] Error 2 make[1]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer’
make: *** [all] Error 2

I tried on another project, I got a similar problem.

Did you change something in make, makefiles, macros, etc. ?

Alain.

You’re using the QSSL makefile macros as documented in
Appendix A of the “Building Embedded Systems” manual. Take
a look at this documentation if you have not already.

It appears your bottom most makefile is trying to include
a non-existing common.mk in the project level directory. A
typical common.mk file is documented on page 296 of the named
manual, and is suitable for most projects.

Allan Kleywegt a écrit :

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
Hi,
After having installed the new qrtp, I tried to build the application
I’m writing but I got the following message:

make -j 1 -CDataServer all && make -j 1 -CDataServer_API all && make -j
1 -Ctest all
make[1]: Entering directory `/home/a.bonnefoy/src/DataServer/DataServer’

make -j 1 -Cnto all
make[2]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make -j 1 -Cx86 all make[3]: Entering directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make -j 1 -Co all && make -j 1 -Co.g all
make[4]: Entering directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' : No such file or directory.mk '. Stop.*** No rule to make target …/…/…/common.mk
make[4]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto/x86/o' make[3]: *** [all] Error 2 make[3]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer/nto/x86’
make[2]: *** [all] Error 2
make[2]: Leaving directory
/home/a.bonnefoy/src/DataServer/DataServer/nto' make[1]: *** [all] Error 2 make[1]: Leaving directory /home/a.bonnefoy/src/DataServer/DataServer’
make: *** [all] Error 2

I tried on another project, I got a similar problem.

Did you change something in make, makefiles, macros, etc. ?

Alain.

You’re using the QSSL makefile macros as documented in
Appendix A of the “Building Embedded Systems” manual. Take
a look at this documentation if you have not already.

It appears your bottom most makefile is trying to include
a non-existing common.mk in the project level directory. A
typical common.mk file is documented on page 296 of the named
manual, and is suitable for most projects.

Sorry, it was my fault or the fault of WinCVS/CVS which included carriage
returns in the common.mk files.

Alain.