@freddix
so problems are not due to Codebench...
I'm not near my AmigaOne but I'm almost sure that editing the Makefile and adding '-lraauto' and '-lauto' on the link command line could solve your problems...
The link stage is recognizable because it's the only one that uses the final executable name together with the GCC command (I simplify, I hope the makefile is simple).
Makefile main part is structured like this :
<target> : <dependency list space separated>
<command to execute>
for the link stage it should be :
<target> will be the name of your executable to generate
<dependency list, space separated> will contain some names (one or more) with a .o extension
<command to execute> should be something like
gcc -o myExecutable objectFile1.o objectFile2.o
just add -lraauto and -lauto at the end of this line.
I suggest you to find a tutorial on Make and it's makefiles format too