[Lunar-bugs] [Lunar Linux 0000334]: ppp-2.4.4: undefined references to lex_init, lex_cleanup and pcap_lex

Lunar bug reports list lunar-bugs at lunar-linux.org
Wed Feb 20 21:14:55 CET 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=334 
====================================================================== 
Reported By:                engelsman
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   334
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Moonbase Version:           20080214.20 
Core Tools:                 Theedge 
Core Tools Version:         20080205 
====================================================================== 
Date Submitted:             02-16-2008 10:58 CET
Last Modified:              02-20-2008 21:14 CET
====================================================================== 
Summary:                    ppp-2.4.4: undefined references to lex_init,
lex_cleanup and pcap_lex
Description: 
ppp-2.4.4 fails to compile with undefined references to lex_init,
lex_cleanup
and pcal_lex. Full compile log attached.

Is there a missing or outdated dependency?
====================================================================== 

---------------------------------------------------------------------- 
 hitchi - 02-16-08 22:36  
---------------------------------------------------------------------- 
It's not compiling with libpcap, if you remove libpcap it compiles. 

---------------------------------------------------------------------- 
 engelsman - 02-20-08 21:14  
---------------------------------------------------------------------- 
I reported this on the ppp bug tracker, and James Carlson replied:

 "lex_init is a function defined inside libpcap -- it's in the code
  generated by running lex on scanner.l -- and pcap_compile is a
  function in libpcap's gencode.o.  Nothing in pppd defines or uses
  lex_init; it's an internal implementation detail of libpcap.

  At a guess, libpcap on your system is damaged (perhaps it was re-built
  without a working copy of lex or flex on the system).  You might want
  to consider turning off the "FILTER=y" option in pppd/Makefile, if you
  want to try compiling without that feature."

After florin's downgrade of flex today I know I've definitely got 2.5.33
(although I thought I had tried with lin -w 2.5.33 flex) and re-installed
libpcap and then ppp, and the undefined references problem has gone away. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-16-08 10:58  engelsman      New Issue                                    
02-16-08 10:58  engelsman      File Added: ppp-2.4.4.compile.txt                
   
02-16-08 10:58  engelsman      Moonbase Version          => 20080214.20     
02-16-08 10:58  engelsman      Core Tools                => Theedge         
02-16-08 10:58  engelsman      Core Tools Version        => 20080205        
02-16-08 22:36  hitchi         Note Added: 0000754                          
02-20-08 21:14  engelsman      Note Added: 0000764                          
======================================================================



More information about the Lunar-bugs mailing list