Copy the sensordemo folder to the samples directory. After the project is compiled, the following error occurs:
Error [e46]: Undefined external "mac_mlmesetreq ::? Relay "referred in mac_beacon (D: \ Texas Instruments \ ZStack-CC2530-2.3.1-1.4.0 \ projects \ zstack \ libraries \ timac \ bin \
The following error occurs after the project compilation is started:
Error [e46]: Undefined external "macpib" referred in mac_beacon (C: \ Texas Instruments \ ZStack-CC2530-2.3.1-1.4.0 \ projects \ zstack \ libraries \ timac \ bin \ TIMAC-CC2530.lib)
Error [e46]: Undefined external "mac_mlmesetreq ::? Relay "referred in mac_beacon (C: \ Texas Instruments \ ZStack-CC2530-2.3.1-1.4.0 \ projects \ zstack \ libraries \ timac \ bin \ TIMAC-CC2530.lib)
Error [e46]: Undefined external "macpibreset ::? Relay "referred in mac_beacon (C: \ Texas Instruments \ ZStack-CC2530-2.3.1-1.4.0 \ projects \ zstack \ libraries \ timac \ bin \ TIMAC-CC2530.lib)
Error [e46]: Undefined external "mac_mlmegetreq ::? Relay "referred in zmac (C: \ Texas Instruments \ ZStack-CC2530-2.3.1-1.4.0 \ projects \ zstack \ samples \ sensordemo \ cc2530db \ collectoreb \ OBJ \ zmac. R51)
Error while running linker
Solution:
I also encountered this problem. On http://e2e.ti.com/, I found the solution: Add file: mac_pib.c (under the high level directory) IN THE machigh level of the work space, and recompile it.