On Sat, 12 Sep 2009 10:54:51 +0200, Cédric wrote:
Hi,
Thanks for your explanations :-) That's important to me to understand how it works !
on a side note, while fixing this issue you put the -fno-common flag in your Makefile.am. This can be problematic when users have other compilers than gcc and these compilers may not know the -fno-common option. Most of the compiler flags are not common (except things like -o, -c and -g) and so you should avoid using them in build system files as much as possible. Same goes for -Wall.
If you still want to use them, just add: CFLAGS="-Wall -fno-common" export CFLAGS
to your ~/.bashrc or ~/.profile or the config file of whatever shell you are using.
Regards, Enrico