LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 06-04-2007, 03:15 PM   #1
Mahonri
Member
 
Registered: May 2007
Location: Austin, Texas, USA
Distribution: Debian Etch
Posts: 34

Rep: Reputation: 15
undefined reference to `yywrap' compiling PAM


Does anyone know how to get past this compilation error:

/home/dallas/downloads/Linux-PAM-0.99.7.1/lex.yy.c:1100: undefined reference to `yywrap'

I've seen suggestions to downgrade your 'flex' package. Doesn't seem to make any difference.

I'm cross compiling PAM on a Debian 4.0 system. My target is an embedded i686.

Any help appreciated!
 
Old 08-20-2007, 04:57 AM   #2
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Same problem here!
 
Old 09-16-2009, 05:25 AM   #3
nitinarora
LQ Newbie
 
Registered: Apr 2009
Posts: 19

Rep: Reputation: 0
same problem

undefined reference to `yywrap'

same problem
cross compiling for ARM.
 
Old 11-10-2009, 10:23 AM   #4
CarlosJ
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
I have the same problem in Ubuntu 9.10.
 
Old 02-06-2010, 03:56 AM   #5
esox_ch
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Hi,

In order to solve this problem you need to installl libfl.a which can usually be found in "flex" package (at least in RHEL5 and Debian sid).

Bye
 
Old 12-30-2011, 07:00 PM   #6
inedit00
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Completing the answer of esox_ch, you must do on Debian:

sudo aptitude install flex

And then executing this commands should compile:
./configure
make
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Several "undefined reference to" error when compiling a C programm acer_peri Programming 8 12-11-2008 06:45 AM
Undefined errno reference while compiling loadable module kesher Linux - Software 3 04-10-2006 02:22 AM
Undefined reference to WxGtk libraries when compiling Xchm Darwish Linux - Software 0 09-04-2005 12:11 AM
undefined reference to `cfb_fillrect' and more when compiling kernel KR-data Linux - Software 0 09-03-2005 02:56 PM


All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration