7 years, 8 months ago.

Error: Undefined symbol serial_set_flow_control (referred from SerialBase.K64F.o)

I'm developing a program for the frdm-k64f. I had 3 similar programs that were all working on July 26. On July 29th I changed a few lines of one of the programs, went to compile and ran into this error. Error: Undefined symbol serial_set_flow_control (referred from SerialBase.K64F.o). After trying to debug for quite a while I checked the two other programs that no one had changed since I had previously compiled them, they also threw the above error. I was wondering If anyone knows what caused the error, and if there is a simple way to fix it. I originally thought I had possibly updated one of the 3 libraries I was using(mbed-rtos, EthernetInterface, and mbed-src) and had introduced a problem, but when I checked they were still the same versions I'd been using for the past 6 months. Anyways I'd appreciate any help anyone could give. Thanks,

3 Answers

-deleted-
7 years, 8 months ago.

Please use the latest mbed-dev (not mbed-src) from https://developer.mbed.org/users/mbed_official/code/mbed-dev/. This should fix the flow control compile issues.

Accepted Answer

What is the difference between mbed-dev and mbed-src? I even used my previously working copies of mbed-src but it didn't compile.

posted by Kasra Haghighi 03 Aug 2016

That got rid of the flow control error, however afterwards there were other errors that appeared, such as SIM_UIDH wasn't recognized. However after debugging for a while I was able to get those to go away also. Thank you.

posted by Jared Baxter 04 Aug 2016

oops, I encounter the same issue. So what's wrong with the mbed-src???

posted by Ted Lin 28 Aug 2016
7 years, 8 months ago.

I have same issue... EthernetInterface + mbed-rtos + mbed-src = error. It was OK a few days ago, today I am not able to build it. I will be very grateful for any help.

7 years, 8 months ago.

My codes were OK before. But recently, I am getting this error over and over. I feel there is a recent internal mbed compiler problem.