mustafakemalgilor / arduino-mssql

THIS PROJECT IS NOW DEPRECATED; PLEASE USE TDSLITE INSTEAD! https://github.com/mustafakemalgilor/tdslite A TDS 7.0 implementation for Arduino, allowing connection to Microsoft SQL Server and running queries. (using UIPEthernet or Ethernet)
MIT License
21 stars 11 forks source link

Update sqlard.h #3

Closed gerard-talla closed 2 years ago

gerard-talla commented 4 years ago

I got the following error when running your code with Arduino 1.8.12: sketch\MSSQL_esp.ino.cpp.o:(.text.ZN10SQLardUtil7freeRamEPKc[SQLardUtil::freeRam(char const*)]+0x0): undefined reference to `_brkval'

sketch\MSSQL_esp.ino.cpp.o:(.text.ZN10SQLardUtil7freeRamEPKc[SQLardUtil::freeRam(char const*)]+0x4): undefined reference to `_heap_start'

mustafakemalgilor commented 4 years ago

It seems __brkval symbol is not available in glibc implementation of your board's platform. You may alter freeRam function to make it compatible;

https://github.com/arduino/ArduinoCore-arc32/pull/396/files