This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error: e46 for CC300 + MSP430FR5739

Other Parts Discussed in Thread: MSP430FR5739

Hi,

I have downloaded the application "WIFI Sensor Application" for  MSP430FR5739 + CC300 experiment board. I have separately created the work space and added cc300Host_driver and cc300_SPI files separately  as library in the option and added Sensor_ application as an executable and included host_driver,SPI and INC in preprocessor option for all three projects. 

Both Host_Driver and SPI compile without error.

But for sensor Application it shows the following list of errors :

Error[e46]: Undefined external "wlan_ioctl_set_connection_policy" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\
Desktop\NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_disconnect" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_connect" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "init_spi" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_init" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\
IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_start" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\
IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "netapp_dhcp" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_stop" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\
IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_set_event_mask" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_ioctl_del_profile" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_first_time_config_set_prefix" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\
Desktop\NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "wlan_first_time_config_start" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "hci_unsolicited_event_handler" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\
Desktop\NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "netapp_ipconfig" referred in cc3000 ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\
NEW_SENSOR2\IAR\Debug\Obj\cc3000.r43 )
Error[e46]: Undefined external "socket" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "bind" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "listen" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "accept" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "recv" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "send" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\IAR\
Debug\Obj\server.r43 )
Error[e46]: Undefined external "getsockopt" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\
IAR\Debug\Obj\server.r43 )
Error[e46]: Undefined external "closesocket" referred in server ( C:\Documents and Settings\Administrator.WIPRO-1915757E3\Desktop\NEW_SENSOR2\
IAR\Debug\Obj\server.r43 )
Error while running Linker

Total number of errors: 22
Total number of warnings: 0

Please Help...

  • Hi uma,

    i think you need to explicitely add the CC3000HostDriver.r43 and CC3000_Spi.r43 binary libraries to your application project.

    You can do it such as the Sensor Application project (right lick -> "Add" -> "Add Files"):

  • Dear Sir,

    I have added libraries explicitly as you suggested and also included "msp430fr5739.xcl" file to he linker option.

    I am using :

    IAR Embedded workbench for MSP430 including complete build chain ebugger version: 5.51.1 and

    IAR common embedded workbench components version: 6.4.7.2442.

    but the following error shows:

    Building configuration: SENSOR_APPLICATION - Debug
    Updating build tree...

    17 file(s) deleted.
    Updating build tree...
    board.c cc3000.c demo.c sensors.c server.c strlib.c terminal.c uart.c
    Linking
    Fatal Error[e72]: Segment FRAM_DATA must be defined in a segment definition option (-Z, -b or -P)
    Error while running Linker

    Total number of errors: 1
    Total number of warnings: 0

    Regards,

    Uma

  • Dear Leo Sir, 

    Thank you for your help. The application code now complies without any error.

    But the problem here is the function "initDriver(); " in the demo.c file struck infinitely in the loop and i am not able to figure out what the problem here and debugging is not possible.

    Please help..

  • Dear Mam,

    How you got the solution for the below prob??

    Building configuration: BasicWiFiApplication - Debug
    Updating build tree...
    Linking
    Error[e12]: Unable to open file 'C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\config\linker\
    vee_lnk430fr5739.xcl'
    Error while running Linker

    Total number of errors: 1
    Total number of warnings: 0

    Please help me in this regard asap.....

**Attention** This is a public forum