[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
Sun Feb 24 21:27:49 CET 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=334 
====================================================================== 
Reported By:                engelsman
Assigned To:                engelsman
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   334
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Moonbase Version:           20080214.20 
Core Tools:                 Theedge 
Core Tools Version:         20080205 
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-16-2008 10:58 CET
Last Modified:              02-24-2008 21:27 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. 

---------------------------------------------------------------------- 
 engelsman - 02-20-08 21:16  
---------------------------------------------------------------------- 
solved by downgrade of flex to 2.5.33, rebuild of libpcap and ppp 

---------------------------------------------------------------------- 
 engelsman - 02-24-08 21:27  
---------------------------------------------------------------------- 
I confirm that ppp-2.4.4 now builds after the downgrade of flex to 2.5.33 

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                          
02-20-08 21:16  engelsman      Status                   new => resolved     
02-20-08 21:16  engelsman      Resolution               open => fixed       
02-20-08 21:16  engelsman      Assigned To               => engelsman       
02-20-08 21:16  engelsman      Note Added: 0000765                          
02-24-08 21:27  engelsman      Status                   resolved => closed  
02-24-08 21:27  engelsman      Note Added: 0000770                          
======================================================================



More information about the Lunar-bugs mailing list