Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Build problem with 4.6 release candidate 20090429: (20 Items)
   
Build problem with 4.6 release candidate 20090429  
Each workspace I open, I get the following error for each project in the workspace:

make:: ***No rule to make target 'all'.

When I perform a clean I get the following similar message

make:: ***No rule to make target 'clean'.


I just updated my Momentics IDE using the Software Update option under Help.

My workspaces were built under 20090304

I'm running Windows XP 

Attach is a zip file with a Word doc showing the version of all the Momentics components along with the .log from the 
workspace. The update started after 10AM today.
Attachment: Compressed file Upload_Make_Err_20090429.zip 210.25 KB
Re: Build problem with 4.6 release candidate 20090429  
Hi, Keith,

I'll have a look at your attachment to investigate, and will report
back.

Thanks,

Christian

Re: Build problem with 4.6 release candidate 20090429  
Hi, Keith,

Thanks for the details of your installation.  It looks like the problem
is that you missed updating the Eclipse C/C++ Tools (CDT) feature to
version 5.0.x.  The QNX IDE 4.6 depends on API that was changed or added
in CDT 5, so it would not work with CDT 4.0.4.

I recommend either updating the rest of the CDT plug-ins from the
Foundry update site, or just installing 4.6 afresh from the ZIP
download.

A colleaque of mine confirms that updating the QNX, Eclipse Platform,
and CDT plug-ins all from the Foundry update site seems to work, and
doesn't result in the make problems you are seeing.

HTH,

Christian

Re: Build problem with 4.6 release candidate 20090429  
I understand that I'm supposed to update the CDT to 5.0.x

However, each time I run Help/Software Updates/Find and Install...Search for updates of the currently installed features
 no additional files are found.

I have downloaded 20090429 zip file.

Where do I find the procedure to install the new zip?
Re: Build problem with 4.6 release candidate 20090429  
http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/Builds_Tau_Integration

Installation Instructions

Keith Smith wrote:
> I understand that I'm supposed to update the CDT to 5.0.x
> 
> However, each time I run Help/Software Updates/Find and Install...Search for updates of the currently installed 
features no additional files are found.
> 
> I have downloaded 20090429 zip file.
> 
> Where do I find the procedure to install the new zip?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29076
> 
Re: Build problem with 4.6 release candidate 20090429  
When following the installation instructions to unzip a download of the IDE does one have to do anything with the files 
in 

C:\Documents and Settings\<userid>\momentics\4.6\configuration

?
Re: Build problem with 4.6 release candidate 20090429  
Not really. Unless it fails to start. In this case it can be removed.

Keith Smith wrote:
> When following the installation instructions to unzip a download of the IDE does one have to do anything with the 
files in 
> 
> C:\Documents and Settings\<userid>\momentics\4.6\configuration
> 
> ?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29080
> 
Re: Build problem with 4.6 release candidate 20090429  
I downloaded qnx-momentics-200904291800-win32.zip

I unzipped it into a temporary directory and ran eclipse/qde.exe from the temporary directory.

It starts up, and the splash screen states it is version 20090429, but
when I look at the versions Help/About screens, the Eclipse C++ Development Tools is versioned 4.0.3.v200803101044-....

The plugin-details only show 5.0.x versions for C/C++ Development User Guide and Eclipse C/C++ Development Tools. All 
other plug-in versions are version 4.0.x

and

the make and clean errors are still present.
Re: Build problem with 4.6 release candidate 20090429  
Make errors are caused by new way of qnx project trying to create makefile, see Christian post about possible workaround
.


Keith Smith wrote:
> I downloaded qnx-momentics-200904291800-win32.zip
> 
> I unzipped it into a temporary directory and ran eclipse/qde.exe from the temporary directory.
> 
> It starts up, and the splash screen states it is version 20090429, but
> when I look at the versions Help/About screens, the Eclipse C++ Development Tools is versioned 4.0.3.v200803101044-...
.
> 
> The plugin-details only show 5.0.x versions for C/C++ Development User Guide and Eclipse C/C++ Development Tools. All 
other plug-in versions are version 4.0.x
> 
> and
> 
> the make and clean errors are still present.
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29083
> 
Re: Build problem with 4.6 release candidate 20090429  
Remove this directory just in case.

Keith Smith wrote:
> When following the installation instructions to unzip a download of the IDE does one have to do anything with the 
files in 
> 
> C:\Documents and Settings\<userid>\momentics\4.6\configuration
> 
> ?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29080
> 
Re: Build problem with 4.6 release candidate 20090429  
Keith,

Could you please to provide copy of console log as well? Just copy and 
past it . If you can send one of your projects (we don't need sources, 
you can remove them before sending), it would be also very nice.

Alex.


On 08/05/2009 11:31 AM, Keith Smith wrote:
> Each workspace I open, I get the following error for each project in the workspace:
>
> make:: ***No rule to make target 'all'.
>
> When I perform a clean I get the following similar message
>
> make:: ***No rule to make target 'clean'.
>
>
> I just updated my Momentics IDE using the Software Update option under Help.
>
> My workspaces were built under 20090304
>
> I'm running Windows XP
>
> Attach is a zip file with a Word doc showing the version of all the Momentics components along with the .log from the 
workspace. The update started after 10AM today.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29046
>    
Re: Build problem with 4.6 release candidate 20090429  
Could you please also check MAKEFLAGS environment variable on your machine?

On 08/05/2009 11:31 AM, Keith Smith wrote:
> Each workspace I open, I get the following error for each project in the workspace:
>
> make:: ***No rule to make target 'all'.
>
> When I perform a clean I get the following similar message
>
> make:: ***No rule to make target 'clean'.
>
>
> I just updated my Momentics IDE using the Software Update option under Help.
>
> My workspaces were built under 20090304
>
> I'm running Windows XP
>
> Attach is a zip file with a Word doc showing the version of all the Momentics components along with the .log from the 
workspace. The update started after 10AM today.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29046
>    
Re: Build problem with 4.6 release candidate 20090429  
Console log from one project when performing a 'clean'. All projects are the same.

Error: Cannot create qde_internal file
C:\QNX640\host\win32\x86\usr\bin\make -k EXTRA_SUFFIXES=cpp  clean --file=C:/DOCUME~1/ke509sm/LOCALS~1/Temp/
QMakefile124180827758732953.tmp 
C:\QNX640\host\win32\x86\usr\bin\make: *** No rule to make target `clean'.


MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include

Re: Build problem with 4.6 release candidate 20090429  
Do you have temporary directory on your computer? How about permissions?

On 08/05/2009 2:47 PM, Keith Smith wrote:
> Console log from one project when performing a 'clean'. All projects are the same.
>
> Error: Cannot create qde_internal file
> C:\QNX640\host\win32\x86\usr\bin\make -k EXTRA_SUFFIXES=cpp  clean --file=C:/DOCUME~1/ke509sm/LOCALS~1/Temp/
QMakefile124180827758732953.tmp
> C:\QNX640\host\win32\x86\usr\bin\make: *** No rule to make target `clean'.
>
>
> MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29071
>
>    
Re: Build problem with 4.6 release candidate 20090429  
I don't think there is a point discussing it if wrong CDT is used. Can you reproduce it if you download and use IDE 4.6 
from zip?

Alex Chapiro wrote:
> Do you have temporary directory on your computer? How about permissions?
> 
> On 08/05/2009 2:47 PM, Keith Smith wrote:
>> Console log from one project when performing a 'clean'. All projects are the same.
>>
>> Error: Cannot create qde_internal file
>> C:\QNX640\host\win32\x86\usr\bin\make -k EXTRA_SUFFIXES=cpp  clean --file=C:/DOCUME~1/ke509sm/LOCALS~1/Temp/
QMakefile124180827758732953.tmp
>> C:\QNX640\host\win32\x86\usr\bin\make: *** No rule to make target `clean'.
>>
>>
>> MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include
>>
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post29071
>>
>>    
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29073
> 
Re: Build problem with 4.6 release candidate 20090429  
Sorry, wrong question. What I see in the last extract you sent, there 
are troubles with creation .qnx_internal file. Could it be that your 
project directory has read-only status?



On 08/05/2009 2:54 PM, Alex Chapiro wrote:
>
> Do you have temporary directory on your computer? How about permissions?
>
> On 08/05/2009 2:47 PM, Keith Smith wrote:
>> Console log from one project when performing a 'clean'. All projects 
>> are the same.
>>
>> Error: Cannot create qde_internal file
>> C:\QNX640\host\win32\x86\usr\bin\make -k EXTRA_SUFFIXES=cpp  clean 
>> --file=C:/DOCUME~1/ke509sm/LOCALS~1/Temp/QMakefile124180827758732953.tmp
>> C:\QNX640\host\win32\x86\usr\bin\make: *** No rule to make target 
>> `clean'.
>>
>>
>> MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include
>>
>>
>>
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post29071
>>
>
Re: Build problem with 4.6 release candidate 20090429  
Hi, Keith,

It appears that the IDE is attempting to update a hidden file in your
project directory (.qnx_internal.mk) that is checked in to ClearCase.
The IDE is not accounting for this by requesting a check-out, so it
fails to update the file (the contents are changed in the 4.6 release)
and the result is the error you are seeing.

A possible work-around is as follows:

     1. Check out the .qnx_internal.mk files in your projects from
        ClearCase.
     2. Run a build (any build will do, even clean).
     3. Check the .qnx_internal.mk files into ClearCase.

Subsequent builds will not need to modify these files.  It is just a
one-time upgrade from the old version.  I have checked this by emulating
the ClearCase environment with read-only files.

HTH,

Christian


On Fri, 2009-05-08 at 14:47 -0400, Keith Smith wrote:

> Console log from one project when performing a 'clean'. All projects are the same.
> 
> Error: Cannot create qde_internal file
> C:\QNX640\host\win32\x86\usr\bin\make -k EXTRA_SUFFIXES=cpp  clean --file=C:/DOCUME~1/ke509sm/LOCALS~1/Temp/
QMakefile124180827758732953.tmp 
> C:\QNX640\host\win32\x86\usr\bin\make: *** No rule to make target `clean'.
> 
> 
> MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include
> 



Re: Build problem with 4.6 release candidate 20090429  
Making the file .qnx_internal.mk read/write (by checking it out of ClearCase)
solves the make and clean problems.

Thank you very much. Kudos to all.

P.S.

Will the updated version of .qnx_internal.mk be usable on previous versions of the IDE, like 4.5.1?
Re: Build problem with 4.6 release candidate 20090429  
No, you cannot switch back and forward between different versions. IDE 4.5 would try to update makefile in its own way..
.

Keith Smith wrote:
> Making the file .qnx_internal.mk read/write (by checking it out of ClearCase)
> solves the make and clean problems.
> 
> Thank you very much. Kudos to all.
> 
> P.S.
> 
> Will the updated version of .qnx_internal.mk be usable on previous versions of the IDE, like 4.5.1?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29087
> 
Re: Build problem with 4.6 release candidate 20090429  
Actually it should work. Eacch version tries to have its format for this 
file. So try to replace 4.5.1 file with 4.6 file. After build you'll 
find that the old one was restored.


On 08/05/2009 4:45 PM, Keith Smith wrote:
> Making the file .qnx_internal.mk read/write (by checking it out of ClearCase)
> solves the make and clean problems.
>
> Thank you very much. Kudos to all.
>
> P.S.
>
> Will the updated version of .qnx_internal.mk be usable on previous versions of the IDE, like 4.5.1?
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29087
>
>