Please use _exactly_ the commands given in the [Geany plugin howto](https://www.geany.org/manual/reference/howto.html) "Building" section, do not add stuff to the command, and then post errors if it does not work.
Make sure your plugin file is `plugin.c` and you execute the commands in that directory.