[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: Libgeda and GCC4



Hi,

>I have some problem with building libgeda on Fedora Core 4.
>The compiler (gcc4)  reports an error related to difference between 
>declarations in s_log.nw and globals.h :
>....
>../noweb/s_log.nw:104: error: static declaration of 'logfile_fd' follows 
>non-static declaration
>../include/globals.h:52: error: previous declaration of 'logfile_fd' was here
>make[3]: *** [s_log.lo] Error 1
>make[2]: *** [all] Error 2
>make[1]: *** [all-recursive] Error 1
>....
>the first one is static while the second is external.
>What is the best way to correct this?


	Delete the extern declaration in include/globals.h and you should
be able to continue with the build.   I have checked in a fix for this 
into CVS now.


>
>There are also some warnings for other software (included)
>

	If somebody wants to take a look at these and fix the ones that
are problems, that'll be great, otherwise I will do it (slowly).  Thanks.

								-Ales