This is just a stab in the dark . . . .
> In file included from /usr/include/stdio.h:34,
> from g_netlist.c:22:
> /usr/lib/gcc/i486-linux-gnu/4.0.3/include/stddef.h:214: error: syntax
^^^^^
> error before 'typedef'
> make: *** [g_netlist.o] Error 1
>
> The part of stddef.h is:
> 213: #if ! (defined (__GNUG__) && defined (size_t))
> 214: typedef __SIZE_TYPE__ size_t;
> 215: #ifdef __BEOS__
> 216: typedef long ssize_t;
> 217: #endif */ /* __BEOS__ */
> 218: #endif /* !(defined (__GNUG__) && defined (size_t)) */
>
> It's strange because stdio.h is also included in gschem, but it compiles
> fine, and it is even more strange that gnetlist/src/i_vars.c (which also
> includes stdio.h) is compiled ok before g_netlist.c ...
>
> I'm using GTK 2.8.9 and gcc 4.0.2.
^^^^^
Did you upgrade gcc from 4.0.2 to 4.0.3 at some point? Is it possible
your version of gcc is looking in the wrong place for its header files?
> Anyone has tried to compile geda with new versions of gcc?
I've gotten gEDA/gaf to compile just fine with gcc-4.0.2. Other
programs barfed, but gEDA/gaf worked fine for me.
Stuart