I'm trying to build PCB from CVS. First error:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I./icons -DPCBLIBDIR=\"/usr/local/share/pcb\" -DPCBTREEDIR=\"/usr/local/share/pcb/newlib\" -g -O2 -MT dev_rs274x.o -MD -MP -MF .deps/dev_rs274x.Tpo -c -o dev_rs274x.o dev_rs274x.c In file included from dev_rs274x.c:60: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." What version of gcc is recommended for building PCB? I fixed that error which takes me to this: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I./icons -DPCBLIBDIR=\"/usr/local/share/pcb\" -DPCBTREEDIR=\"/usr/local/share/pcb/newlib\" -g -O2 -MT parse_l.o -MD -MP -MF .deps/parse_l.Tpo -c -o parse_l.o parse_l.c parse_l.l: In function ‘Parse’: parse_l.l:225: error: ‘yy_current_buffer’ undeclared (first use in this function) parse_l.l:225: error: (Each undeclared identifier is reported only once parse_l.l:225: error: for each function it appears in.) make[4]: *** [parse_l.o] Error 1 I have flex 2.5.33 installed. _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

