Error on build RTE


#1

Hi i am using eclipse 3.1 ide and i have this problem. when i build the project the first time everything is ok , then if i write some more code i get this error
make: *** [make_single_bin] Error 1
Done.
Updating RTE kernel file…
no generated DLL found…
[wmmake error #1] Build error.
if i move the code that i added after the build that was code in a already existing function then the project compiles just fine.
What is happening?


#2

Hello sergiulungu.

I don’t really know what is happening, but have you tried to write the new code into a different file? If the problem is that you can’t write outside existing functions, perhaps using a new file can help. I think something like that happened to me long ago, but I can’t remember how I (if I did) fixed it.

Hope this helps :slight_smile:

PD: I have remembered that it might be some linking problem due to a missing include or something… take a look at that.


#3

if i put the code in a new file everything is ok. but i don’t think this is a solution for everytime this happens. From what i see i didn’t forget any includes. If you remember the solution please tell me


#4

i have a perfectly good workinf code that compiles just fine (in RTE) if i put this function

void getDataFromFlash(){
}

in my c file then it doesn’t compile anymore. What is wrong with this function?


#5

Where do you put it?

What messages do you get?


#6

it doesn’t metter where do i put it put from time to time there (not only with this case) but when i add some ok stuff(stuff that normally would compile) to a .c file i get this error
make: *** [make_single_bin] Error 1
Done.
Updating RTE kernel file…
no generated DLL found…
[wmmake error #1] Build error.

This is it. If i comment the code i put i works but this is vey annoying especially because no specific error is given


#7

Do you have any corresponding function declaration in the code?


#8

like i said this is not only about this function this is about a code that works fine compiles and runs and i add a function, any function and i get the error from above