View Review Details


Book:   lex & yacc
Subject:   Compile error in make, help
Date:   2007-05-16 06:46:06
From:   kkc98
Rating:  StarStarStarStarStar

I try compile all code using "make" command in linux, but it come back with compile error, please help.


thank you!


/* output
[work]$ make
flex ch1-01.l
mv lex.yy.c ch1-01.c
gcc -g -o ch1-01.pgm ch1-01.c -ly -ll
/usr/bin/ld: cannot find -ly
collect2: ld returned 1 exit status
make: *** [ch1-01.pgm] Error 1
[work]$


*/


See larger cover