gcc problem

Stelios Bounanos sb at dial.pipex.com
Thu Nov 15 22:30:02 EET 2001


On Thu, Nov 15, 2001 at 08:28:57PM +0200, Peter Pissias 
 <petrance at di.uoa.gr> was rumoured to have said:

> Exw to exhs provlhma:
> 
> kanontas compile (enws paragomenou apo to flex arxeiou) enw
> pernaei to stadio tou compilation exei provlhma sto linking.
> to output einai to exhs: 
> 
> root at plutonas:~# gcc lex.yy.c
> /tmp/cc5G3Sdj.o: In function `yylex':
> /tmp/cc5G3Sdj.o(.text+0x43b): undefined reference to `yywrap'
> /tmp/cc5G3Sdj.o: In function `input':
> /tmp/cc5G3Sdj.o(.text+0xb42): undefined reference to `yywrap'
> collect2: ld returned 1 exit status
> 
> exw : slackware 7.1, kernel 2.4.10 , gcc 3.0
> 
> Exei kaneis idea ti ftaiei?
> 

Nai, to oti de diabases to manual page toy flex :> Prepei na kaneis
link me thn libfl.a (-lfl).

> Efxaristw.
> Petros
> 

Rgds,
/-sb.

-- 

Stelios Bounanos <sb at dial.pipex.com>
  ..............7500000 years later:
  The Ultimate Answer is 42.
  (next mail will give the Question)



More information about the Linux-greek-users mailing list