-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yet another Make error #7
Comments
With windows it might be a path name error \a\b\c vs /a/b/c
Geoffrey
…On Sun, Jan 15, 2017 at 5:12 AM, Hemal Chevli ***@***.***> wrote:
Hello,
I'm using windows 7 and GNU ARM Embedded Toolchain from launch pad, and
peripheral lib v3.5
I'm getting the following error.
D:\STM32\STM32-Template\Demo>make C:\Program Files (x86)\GNU Tools ARM
Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3 -mthumb
-I.. -ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0 \Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3. 5.0\Libraries\STM32F10x_StdPeriph_Driver\inc
-I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT
-I..\Library\ff9\src -I..\Library ../startup_stm32 f10x.c -o
startup_stm32f10x.o /usr/bin/sh: -c: line 1: syntax error near unexpected
token '(x' /usr/bin/sh: -c: line 1: 'C:\Program Files (x86)\GNU Tools ARM
Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3 -mthumb
-I.. -ID:\STM32\STM3 2F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport
-ID:\STM32\S TM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_Driver\inc
-I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT
-I..\Library\ff9\src -I. .\Library ../startup_stm32f10x.c -o
startup_stm32f10x.o' make: *** [startup_stm32f10x.o] Error 258
It seems that there is a syntax error in startup_stm32f10x.c but I haven't
edited it.
Please advise.
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABq_Ui7EUG9fhmu-gC6cZGHKk7hnoyFmks5rSfEogaJpZM4Lj4NJ>
.
|
I tried that. And also commenting out STARUP variable in makefile.common
still getting the same error. Its invoking /use/bin/sh that is something
I'm looking in to.
Thanks for the quick reply.
Have a good one.
On 15-Jan-2017 7:00 pm, "Geoffrey Brown" <[email protected]> wrote:
With windows it might be a path name error \a\b\c vs /a/b/c
Geoffrey
On Sun, Jan 15, 2017 at 5:12 AM, Hemal Chevli ***@***.***> wrote:
Hello,
I'm using windows 7 and GNU ARM Embedded Toolchain from launch pad, and
peripheral lib v3.5
I'm getting the following error.
D:\STM32\STM32-Template\Demo>make C:\Program Files (x86)\GNU Tools ARM
Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3
-mthumb
-I.. -ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0 \Libraries\CMSIS\CM3\
DeviceSupport\ST\STM32F10x
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3. 5.0\Libraries\STM32F10x_
StdPeriph_Driver\inc
-I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT
-I..\Library\ff9\src -I..\Library ../startup_stm32 f10x.c -o
startup_stm32f10x.o /usr/bin/sh: -c: line 1: syntax error near unexpected
token '(x' /usr/bin/sh: -c: line 1: 'C:\Program Files (x86)\GNU Tools ARM
Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3
-mthumb
-I.. -ID:\STM32\STM3 2F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\
DeviceSupport\ST\STM32F10x
-ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport
-ID:\STM32\S TM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_
Driver\inc
-I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT
-I..\Library\ff9\src -I. .\Library ../startup_stm32f10x.c -o
startup_stm32f10x.o' make: *** [startup_stm32f10x.o] Error 258
It seems that there is a syntax error in startup_stm32f10x.c but I haven't
edited it.
Please advise.
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABq_Ui7EUG9fhmu-
gC6cZGHKk7hnoyFmks5rSfEogaJpZM4Lj4NJ>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA55YI38FJ2M8BOlH25YwnGIP6x2Oqedks5rSh-KgaJpZM4Lj4NJ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm using windows 7 and GNU ARM Embedded Toolchain from launch pad, and peripheral lib v3.5
I'm getting the following error.
D:\STM32\STM32-Template\Demo>make C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3 -mthumb -I.. -ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0 \Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x -ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport -ID:\STM32\STM32F10x_StdPeriph_Lib_V3. 5.0\Libraries\STM32F10x_StdPeriph_Driver\inc -I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT -I..\Library\ff9\src -I..\Library ../startup_stm32 f10x.c -o startup_stm32f10x.o /usr/bin/sh: -c: line 1: syntax error near unexpected token '(x' /usr/bin/sh: -c: line 1: 'C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin\arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3 -mthumb -I.. -ID:\STM32\STM3 2F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x -ID:\STM32\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport -ID:\STM32\S TM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_Driver\inc -I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT -I..\Library\ff9\src -I. .\Library ../startup_stm32f10x.c -o startup_stm32f10x.o' make: *** [startup_stm32f10x.o] Error 258
It seems that there is a syntax error in startup_stm32f10x.c but I haven't edited it.
Please advise.
Thank you.
The text was updated successfully, but these errors were encountered: