[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Interesting problem



In message <[🔎] 20020112155851.GP9244@finlandia.infodrom.north.de>
          Martin Schulze <joey@infodrom.org> wrote:

> Hi,
> 
> I tried to recompile the stable version of at (3.1.8-10) on a stable
> arm machine (rameau) but wasn't quite successful:
> 
> gcc -c -O -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc\" -DLOADAVG_MX=1.5 -DDAEMON_USERNAME=\"daemon\" -DDAEMON_GROUPNAME=\"daemon\" -DLFILE=\"/var/spool/cron/atjobs/.SEQ\" -Wall lex.yy.c
> lex.yy.c:1273: warning: `yyunput' defined but not used
> gcc -O -o at at.o panic.o perm.o y.tab.o lex.yy.o
> lex.yy.o: In function `yylex':
> lex.yy.o(.text+0x7c4): undefined reference to `yywrap'
> lex.yy.o(.text+0x7c4): relocation truncated to fit: R_ARM_PC24 yywrap

You need to link with the lex library.  try adding -ll to your link.

Peter

-- 
------------------------------------------------------------------------
 Peter Naulls - peter@chocky.org
 RISC OS Projects Initiative  -  http://www.chocky.org/initiative/
 Java for RISC OS and ARM     -  http://www.chocky.org/java/
 Debian Linux on RiscPCs      -  http://www.chocky.org/debian/
------------------------------------------------------------------------



Reply to: