NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Adlo

First, I delete the folder "PPC603gnu". Afterwards, i do the whole procedure (run "gccsetup.bat" and "make") which results in the same error message. Meanwhile, an empty folder (PPC603gnu) is created in the "example" folder.

 

Regards

Davarpanah

Member
Aldo_A
Posts: 133
0 Kudos

Re: Compact RIO - vxworks

Hi Devarpanah,

 

thanks for the update, checking your %PATHS% environment variable, I see that you have installed Matlab Software which might point to a versioning problem for the compiler. Run the .bat file again and then type the following command in the command prompt:

 

c++ppc -v

 

which will produce the following output

 

version1.png

 

Make sure that the gcc version matches the one I have above. Post your results and let me know of any differences, thanks!

 

 

Aldo A
Applications Engineer
National Instruments
Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Adlo,

Thank you very much for your efforts

 

NI6.JPG

Member
Aldo_A
Posts: 133
0 Kudos

Re: Compact RIO - vxworks

Hi Davarpanah,

 

could you send the the contents of your vxworks61gccdist folder? I would like to see if you have any partial PPC603 links when compiling. Thanks! (you can just everything in a .zip file)

 

Thanks,

 

 

Aldo A
Applications Engineer
National Instruments
Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Aldo,

Because of the file size limitation, I divide the compressed file into seven parts. Please, after dowloading three parts, put them in a same folder, and extract the first part.

It should be noted that the attached zipped file consists of all contents of the vxworks61gccdist folder. Moreover, the mentioned folder is in the root C:\.

 

The first part is attached in this post.

 

Thanks

Davarpanah

Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Second and third parts are attached

Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Forth and fifth parts are attached

Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Aldo,

 

Two last parts are attached.

Let me know if you can extract the files. It is likely that you need the "Winrar" to extract them.

 

Thanks

Member
Aldo_A
Posts: 133

Re: Compact RIO - vxworks

Thanks for the files Davarpanah,

 

I downloaded your code and ran it on a Windows XP 32-bit SP3 virtual machine without any problems. I was able to build the example program without any errors. The next step here would be to start fresh with your environment variables or to contact WindRiver (developer of vxworks) to see what might be causing the get_feature error in your message. I have attached a screenshot of the results. 

 

It appears that other people are having trouble with the same issue with the c++ppc compiler:

 

1) http://forums.ni.com/t5/Real-Time-Measurement-and/Creating-out-file-using-GNU-Make-for-VxWorks/td-p/...

2) http://forums.usfirst.org/showthread.php?t=18768

3) http://fixunix.com/vxworks/48355-ccppc-spawn-get_feature-failed.html

 

but no known solutions have been found. Keep us updated on what you find. Thanks!

 

 

Aldo A
Applications Engineer
National Instruments
Member
Davarpanah
Posts: 14
0 Kudos

Re: Compact RIO - vxworks

Hi Adlo,

Thank you for your efforts,

Is there any other solution. For example is any commercial program available as a substitute for vxworks?

 

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page