cancel
Showing results for 
Search instead for 
Did you mean: 

trouble with make file.

arnold
Associate II
Posted on July 18, 2012 at 22:14

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
3 REPLIES 3
arnold
Associate II
Posted on July 18, 2012 at 22:27

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6bX&d=%2Fa%2F0X0000000bre%2FxSEnhjf5eta77OE02SEq1fWJ9WQ0cjAOiIwtreBXez8&asPdf=false
arnold
Associate II
Posted on July 18, 2012 at 22:45

Now i have a new problem, where i can't find much info about.

i googeld the error but could not find any helpfull answers so i try it here.

what could be wrong ?

i attached the whole project, i use yatargo as compiler and eclips as development platform.

22:39:20 **** Incremental Build of configuration Build (GNU) for project rs232 ****
make all 
Linking target: out/rself
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Tstm32f4xx.ld -g -Wl,-Map=out/rsmap,--cref,--no-warn-mismatch -Wl,--gc-sections -nostartfiles out/startup_stm32f4xx.o out/stm32f4xx_it.o out/system_stm32f4xx.o out/stm32f4_discovery.o out/stm32f4_discovery_lis302dl.o -o out/rself
out/startup_stm32f4xx.o: In function `LoopFillZerobss':
G:\workspace\rs232/startup_stm32f4xx.s:105: undefined reference to `main'
out/stm32f4xx_it.o: In function `SDIO_IRQHandler':
G:\workspace\rs232/stm32f4xx_it.c:149: undefined reference to `SD_ProcessIRQSrc'
collect2.exe: error: ld returned 1 exit status
make: *** [out/rself] Error 1
22:39:20 Build Finished (took 421ms)

________________

Attachments :

rs232.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtVV&d=%2Fa%2F0X0000000aR1%2FhrS2si_mrI4yUpY2qRqfjWZMsTlw.Igz1BCDFxCb1wA&asPdf=false
frankmeyer9
Associate II
Posted on July 19, 2012 at 08:52

I can't comment on Yagarto/Eclipse, but

G:\workspace
s232/startup_stm32f4xx.s:105: undefined reference to `main'
 ...
 
G:\workspace
s232/stm32f4xx_it.c:149: undefined reference to `SD_ProcessIRQSrc'

Looks like some sources are not actually belonging to the project. They not only need to be in place, but also included in the project and the build. Especially main() should be easy to locate.