Error during compilation

Guillaume Marcais guslist at free.fr
Tue Nov 12 16:03:46 CET 2002


I tried to compile the latest snapshots, 1.0.5, I got the following error:

make[2]: Entering directory `/mnt/lfs/kernel/bird-1.0.5/obj/conf'
gcc -I../ -I../..  -g -O2 -Wall -W -Wstrict-prototypes -Wno-parentheses 
-Wno-unused -o cf-parse.tab.o -c cf-parse.tab.c
cf-parse.y: In function `cf_parse':
cf-parse.y:331: `FILE' undeclared (first use in this function)
cf-parse.y:331: (Each undeclared identifier is reported only once
cf-parse.y:331: for each function it appears in.)
cf-parse.y:331: `f' undeclared (first use in this function)
cf-parse.y:331: invalid lvalue in assignment
cf-parse.y:336: `stderr' undeclared (first use in this function)
make[2]: *** [cf-parse.tab.o] Error 1
make[2]: Leaving directory `/mnt/lfs/kernel/bird-1.0.5/obj/conf'
make[1]: *** [subdir] Error 2
make[1]: Leaving directory `/mnt/lfs/kernel/bird-1.0.5/obj'
make: *** [all] Error 2

FILE and stderr not declared??? Is there an include missing here or my 
lex/yacc installation is completly broken. My platform is Linux Mandrake 8.2. 
With flex-2.5.4a-18mdk and bison-1.32-2mdk (rpm binary distribution).

Any idea?

Cheers,
Guillaume.



More information about the Bird-users mailing list