In message <[EMAIL PROTECTED]>
          Martin Schulze <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]
 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 via email to