Hello everyone,
I want to create a dynamic page.
When i try to include http_cgi.c in my project i get the following errors:
1. http.axf: Error: L6200E: Symbol cgi_process_var multiply defined (by at_http_cgi.o and http_cgi.o).
2. http.axf: Error: L6200E: Symbol cgi_func multiply defined (by at_http_cgi.o and http_cgi.o).
What am i doing wrong?
thanks and regards
Akshat
you have a symbol with an external linkage defined more than once - where does the file 'at_http_cgi.c' come from? you could make the function static.
Well static function won't work, cause i want MY cgi_func() to be used not the one whose source i can't define (i'm sure it's in the library).
Is there any other way to update the web-page with variables from my program?
I want the web-page to display a buffer which is filled from serial data via the other serial port.
Thanks
why don't you simply change the name of your function? If you have access to the place where it is called, you have no problem. As far as I know, in C you can not just remove a symbol from the global namespace.
Oh i could do that but the function i want to REMOVE is in the library(which is a closed-source!) :(
No no no no no no no no You are trying to name your own function just like one in the library. Change the name of your function to get rid of the ambiguity, so it does not collide with the library name!
View all questions in Keil forum