Skip to main content
Raphael Vanstraelen
Associate
July 5, 2017
Question

Build error 238 on example/user/main.o

  • July 5, 2017
  • 3 replies
  • 1706 views
Posted on July 05, 2017 at 15:15

I have a P-NUCLEO-IHM001 board and try to build an example from the directotry 'STM32Cube_FW_F3_V1.8.0' with AC6 toolchain and always get a build error 238 on example/user/main.o

Why does this occur and how can I solve it?

    This topic has been closed for replies.

    3 replies

    ST Technical Moderator
    July 5, 2017
    Posted on July 05, 2017 at 16:50

    Hi

    raphael.vanstraelen

    ,

    Which example did you tested ? Did you make some update on the example ?

    Which version of AC6 is used?

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Raphael Vanstraelen
    Associate
    July 6, 2017
    Posted on July 06, 2017 at 07:13

    Hello Imen,

    I did not make any updates on the example. I unzipped the file and installed it in following directory

    C:\Program Files (x86)\STMicroelectronics

    I imported the directory in system workbench

    I used the following example:

    C:\Program Files (x86)\STMicroelectronics\STM32Cube_FW_F3_V1.8.0\Projects\STM32F302R8-Nucleo\Templates\SW4STM32\STM32F302R8-Nucleo

    AC6 version is 

    System Workbench for STM32 - OpenOCD (for Windows 32bits)

    Version: 1.14.0.201705091103

    Build id: @build@

    Copyright (c) 2014 Ac6 Tools. All rights reserved.

    Visit

    https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.openstm32.org

    AvaTar
    Senior III
    July 6, 2017
    Posted on July 06, 2017 at 12:24

    A bit more information about the error message would be really helpful.

    Perhaps your IDE or the project is not set up properly ?

    Since an *.o file is involved, it seems to be a linker error.

    Some sources not added to the project ?