Unable to compile STM32F4 code sample with Eclipse
This error maybe because of the missing startup file "startup_stm32f4xx.S". Check if your you have this file. And also this file should have an extension ".S" not ".s" otherwise eclipse wouldn't recognise it.

Also check if you have a linker script file "Linker -> General -> Script file".