X
RSS YouTube LinkedIn Twitter XCore IRC

Search




Post new topic Reply to topic   [ 5 posts ] 
Author Message
PostPosted: Thu Mar 08, 2012 1:16 am 
Joined: Thu Apr 15, 2010 4:52 pm
Posts: 18
I have just loaded the latest tools (11.2.2), and I am having a small problem with xmake -- it is coming up with '*** [all] Error 2' on one platform, probably as a result of me making a fundamental mistake. Does anyone know where I can download a manual which explains the error codes emitted by xmake?


Top
Offline Profile View all posts by this user  
 
PostPosted: Thu Mar 08, 2012 1:30 am 
User avatar
XCore Moderator
Joined: Thu Dec 10, 2009 6:56 pm
Posts: 545
This is usually not an error from make but from a program that make invoked, i.e. xcc.
Is it printing anything before you get the error?
Besides that xmake behaves almost completely or completely like GNU make because xmake is based on GNU make.


Top
Offline Profile View all posts by this user  
 
PostPosted: Fri Mar 09, 2012 1:57 am 
Joined: Thu Apr 15, 2010 4:52 pm
Posts: 18
I think you are correct: xmake gives a message about entering a directory, and then leaving that directory, followed by the Error 2. I have a feeling that xcc is not seeing any files to compile. Before I ran a 'make clean' I saw several error messages regarding some files not being found, but the paths and files looked correct. I obviously need to look more closely. Thanks.


Top
Offline Profile View all posts by this user  
 
PostPosted: Wed Mar 14, 2012 4:28 pm 
Joined: Thu Apr 15, 2010 4:52 pm
Posts: 18
There ended up being two problems, neither of them with xcc or xmake. When using scp to copy a directory structure from one machine to another, the directory structure changed in a strange way. For example ".../dir1//XMOS/XMOS/dir2/..." became ".../dir/XMOS/dir2/...". I will remember to use rsync instead of scp next time to avoid this particular issue. The other issue was related to "xmake clean" not being able to remove some files in the copied directories due to ownership issues. Once again easily fixed.


Top
Offline Profile View all posts by this user  
 
PostPosted: Wed Mar 14, 2012 11:50 pm 
User avatar
XCore Moderator
Joined: Thu Dec 10, 2009 6:56 pm
Posts: 545
Glad its solved now :)


Top
Offline Profile View all posts by this user  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic   [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest



Search for:
Jump to: