LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

build fails: Rebuild ALL succeeds

I am using VDSP 5 with LV 8.5 and a BF 537 target.
My project is growing in size and an annoying problem has begun to occur.
I can no longer use 'Build' without fatal linker errors. However, I can use 'Rebuild All' and all is well, but it is slower than molasses in Winter.
Compiling goes along well enough but I always get the same linker error.
It seems related to some globals I've added:
_______________________________________________________________________
[Error li1021]  The following symbols referenced in processor 'p0' could not be resolved:        
        '_CR_LF_array__294346968' referenced from '.\Embedded_Main.doj'
        '_FnLoopPeriod__294347520' referenced from '.\Embedded_Main.doj'
        '_Serial_Settings__295350468' referenced from '.\Embedded_Main.doj'
_______________________________________________________________________

'Rebuild All' takes over 5 minutes on a dual core AMD machine with 2Gig of memory and this idle time is killing me. If I change just one VI I shouldn't have to rebuild the whole project.
I have tried Mass compiling, purging all of the .C files, rebooting LV...you name it.
I have other globals that work fine.
Shoulds ALL globals be put in one VI? I was using several with different names  according to their purpose.

Thanks
 MacBeth ( Al Pacheco@ Boston Engineering)
0 Kudos
Message 1 of 22
(9,160 Views)

Boston Engineer.

 

Glad to help you out. I have been in the similar situation myself, but to solve it. I don’t know what to tell you. You told me your project is very big and growing. That is the problem in itself. You simply got to find what you have missed link somewhere in your program. You either delete it or link it correctly.

 

Good luck.

0 Kudos
Message 2 of 22
(9,148 Views)
Thanks for the reply ,Joe,
The fact that the Rebuild All works tells me that the linker does find all the compiled files it needs so I don't feel there is anything missing.
I also don't even look in the folder that is used for the compiled files, it's scary in there.
Often times I make a simple change to one VI and I would hope that selecting 'Build' would deal only with the change I make and not need to start over again each time.

0 Kudos
Message 3 of 22
(9,143 Views)
MacBeth:
 
Thank you very much for contacting National Instruments about this issue. I am very curious to find out why it is that you have to use the "Rebuild All" option in order to make things work. I would like to reproduce the issue on my end and do further troubleshooting. Would you be able to send me your code?. Please let me know if you would feel more comfortable sending the files to me directly.
 
Regards,
 
Rudi N.
Applications Engineer
0 Kudos
Message 4 of 22
(9,138 Views)
Thanks for any assistance you can offer, Rudi......I've zipped up the project and you can download it here...(too big for e-mail)

http://home.comcast.net/~ajpacheco/LVEMBEDDED/FLD003.zip

I've alraeady built the app and the .C files are included.
The project name is 'FLD003_2008.lvproj'
 The main VI is Embedded_Main.vi
If you open the main vi and make the slightest change you should be able to try to 'Build'.and see the link error.
Target is a BF 537 processor connected via JTEG  (ADZS-HPUSB-ICE)
FYI, The project is basically  a communication loop and several data acquisition/control loops.
What's there now is functional although far from complete.  I just wish I didn't have to wait so long for the compilel/link process.
Thanks,
Macbeth.... (Al Pacheco at Boston Engineering)





0 Kudos
Message 5 of 22
(9,118 Views)
Sorry for any confusion....My forum profile is different  for my home PC... not sure how to change that.
I find that I have to get a lot of work done at home due to the long compile times. 20 minutes to compile the above project on a P4 with 1gig ram.
Al
0 Kudos
Message 6 of 22
(9,102 Views)
Hi Rudi,
Just wondering if you had a chance to give my project a look. I'm now up to 90 VIs in the code and it takes almost 9 minutes to build/link using rebuild all.
If I'm doing something stupid, I sure wish I knew what.
~Al
.

0 Kudos
Message 7 of 22
(9,075 Views)

Al:

I am sorry for not being able to get back with you any sooner and I apologize for that. I tried to download your files from "http://home.comcast.net/~ajpacheco/LVEMBEDDED/FLD003.ziphttp://home.comcast.net/~ajpacheco/LVEMBEDDED/FLD003.zip" and was not able to do so. Please let me know how I can download the files and run further troubleshooting.

Regards,

Rudi N.

0 Kudos
Message 8 of 22
(9,055 Views)
Hi Rudi,The link is valid again...I had to pull it as it contains customer related code. I'll leave it up for 24 hours.
Thanks
0 Kudos
Message 9 of 22
(9,052 Views)


Message Edited by Rudi N on 03-07-2008 05:49 PM
0 Kudos
Message 10 of 22
(9,043 Views)