[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lex & yacc, Second Edition example compile code problem
From: |
kkc |
Subject: |
lex & yacc, Second Edition example compile code problem |
Date: |
Fri, 25 May 2007 09:37:08 -0700 (PDT) |
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]$
*/
--
View this message in context:
http://www.nabble.com/lex---yacc%2C-Second-Edition-example-compile-code-problem-tf3817146.html#a10806368
Sent from the Gnu - Flex mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lex & yacc, Second Edition example compile code problem,
kkc <=