[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Where to download PCB CVS snapshot?



> 
> Try manually running:
> 
> 

Interesting is that in this GCC command there are glib-2.0 includes missing. If I add them into command you sent me I can compile the source. Anyway when I run "make -d" in the log it is correct.

I found that the file is compiled correctly. So I run "make" several times and now I stopped on following:

In file included from hid/gtk/gui-top-window.c:100:
./insert.h:41: error: syntax error before "void"
In file included from hid/gtk/gui-top-window.c:109:
./resource.h:33: error: syntax error before "ResourceVal"
./resource.h:33: warning: no semicolon at end of struct or union
./resource.h:34: warning: type defaults to `int' in declaration of `Resource'
./resource.h:34: warning: data definition has no type or storage class
./resource.h:41: error: syntax error before '*' token
./resource.h:41: warning: type defaults to `int' in declaration of `resource_par
se'
./resource.h:41: warning: data definition has no type or storage class
./resource.h:42: error: syntax error before '*' token
./resource.h:43: error: syntax error before '*' token
./resource.h:43: error: syntax error before '*' token
./resource.h:43: warning: type defaults to `int' in declaration of `resource_sub
res'
./resource.h:43: warning: data definition has no type or storage class
./resource.h:45: error: syntax error before '*' token
./resource.h:45: error: syntax error before '*' token
./resource.h:45: warning: type defaults to `int' in declaration of `resource_cre
ate'
./resource.h:45: warning: data definition has no type or storage class
./resource.h:46: error: syntax error before '*' token
./resource.h:49: error: syntax error before '*' token
hid/gtk/gui-top-window.c:186: error: syntax error before '*' token
hid/gtk/gui-top-window.c:186: warning: type defaults to `int' in declaration of
`action_resources'
hid/gtk/gui-top-window.c:186: warning: data definition has no type or storage cl
ass
hid/gtk/gui-top-window.c:187: error: syntax error before '*' token
hid/gtk/gui-top-window.c:187: warning: type defaults to `int' in declaration of
`toggle_action_resources'
hid/gtk/gui-top-window.c:187: warning: data definition has no type or storage cl
ass
hid/gtk/gui-top-window.c:191: error: syntax error before '*' token
hid/gtk/gui-top-window.c:191: warning: type defaults to `int' in declaration of
`layerview_resources'

It looks that GCC does not understand some constructs in the .h files. It is maybe somewhere in global.h or even before... Because the lines do not look strange for me...

Maybe it would be better to upgrade to some other GCC version and MAKE version. Can somebody tell me the combination which was successfull to compile CVS pcb ?

Vaclav



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user