We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am trying to use the MDK libraries (TCPnet) in an application that I build using gcc. The ld linker complains about the format of the TCP_CM3.lib file: "could not read symbols: File format not recognized".
Does anyone know about how to fix this? Is it possible to convert the file format in some way?
/Peter
Yes. Get a TCP/IP library compiled using the same gcc as you build the rest of the project with.
Or get the source code for a TCP/IP library and build.
In theory, you could buy the source from Keil - but the license would probably not allow you to use that source with gcc so you better then also use a commercial Keil license for the compiler+linker in which case the Keil library file will be usable without a recompile.
So what you are saying is that if I want to stay with the KEIL MDK, and their TCP stack I should switch to their compiler and leave gcc?
I found the CMSIS-API release of the RTX part of the MDK. It has a gcc compiled lib. So I hoped there should be a way to get a gcc version of the other MDK parts too.
I gave LwIP a shot a while ago, but I found the MDK/TCP package easier to work with.
Yes, but look at the license for CMSIS port of RTX - so it's logical that you find a build with a free compiler.
The Keil TCP/IP stack isn't free.