You are getting this error because the file you are assembling is in the old ST syntax.
You have two choices, set the ''Use AST6 Syntax'' in the assembler options or the better way would be to convert your project to the newer syntax, have a look at the examples given with RIDE. I would recommend converting your project to the newer syntax. Regards sjo