Friend, I want to modify the HTTP Server Error pages , I copy the module HTTP_err.c to my project .When I try to compile the project,I get the following errors:
linking... .\out\2188pro.axf: Error: L6200E: Symbol http_err_401 multiply defined (by http_err.o and http_err.o). .\out\2188pro.axf: Error: L6200E: Symbol http_err_404 multiply defined (by http_err.o and http_err.o). .\out\2188pro.axf: Error: L6200E: Symbol http_err_501 multiply defined (by http_err.o and http_err.o). .\out\2188pro.axf: Error: L6200E: Symbol http_err_head multiply defined (by http_err.o and http_err.o). .\out\2188pro.axf: Error: L6200E: Symbol http_err_foot multiply defined (by http_err.o and http_err.o). Target not created
Ideas?
Thanks lx
Same to me, any idea....
So it sounds like you now have two copies of this file in your project - which will, obviously, lead to multiple (duplicate, to be precise) definitions of everything in that file!
You are using outdated HTTP_err.c overlay file. Please use the latest from MDK4.50 found in ..\Keil\ARM\RL\TCPnet\User\HTTP_err.c
The item http_err_403 is missing, and the linker picks also the default internal HTTP_err module from the library. Then it finds some symbols duplicated.
hi,Franc Thanks for replying.You are right. Now it's working fine.
No, it will not. If the linker resolves all the symbols from external HTTP_err object module, it does not touch the internal HTTP_err from TCPnet library.
This allows you to override the default TCPnet internal library module with modified externally provided one.