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
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!
Oh i could do that but the function i want to REMOVE is in the library(which is a closed-source!) :(
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.
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
as far as i can imagine, at_http_cgi.o is from the library (the only one i have in my project it RTLTCP.lib).
No other file of this nature is included otherwise.
I have net_config, serial, startup, main...
I'll try to make it static.
Thanks, 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.
View all questions in Keil forum