LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2007, 11:24 AM   #1
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
Lightbulb compiling wpa_supplicant - howto fix dlerror, dlsym, dlopen, dlclose errors


Hi.

This is not a query on some topic, its just an informative post.

I have been trying to get wpa_supplicant compiled madly for the last few days. the compilation of several source files ended in undefined symbols of the dynamic linker. After worrying about my glibc, my gcc and my binutils and searching for the problem i had an enlightenment one fine evening:

If the compiler can't link the damn code, is it perhaps the fault of the Makefile? And endeed, the makefile did at no point link to the library in question.

So if you too have trouble compiling wpa_supplicant (I don't recall the version at this point and i'm too lazy to reboot and find out), try adding -ldl to the CFLAGS in the Makefile.

Hope this helps someone someday.

Cheers
 
Old 07-16-2007, 02:18 PM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
it might not hurt to send this message to the ndiswrapper team if it was a rescent version
 
Old 07-20-2007, 06:03 AM   #3
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
weirdly enough it where two sources: the old 4.8 and the up-to-date 5.8. both had the same flaw, which leads me to believe that the problem is located on my end. I hardly think that a compilation problem like this would have gone unnoticed over a timespan of one year...
 
  


Reply



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
undefined reference to dlopen, dlclose, dlsym and dlerror patrickdepingui Slackware 5 02-14-2010 08:55 AM
Odd WPA_Supplicant Errors stlpcsolutions Linux - Wireless Networking 1 07-23-2006 06:35 AM
help translating pascal's libc "dlopen , dlsym and dlclose" into c source ... alred Programming 1 04-30-2006 04:49 PM
Error compiling wpa_supplicant 0.4.8 Harpoontang Linux - Wireless Networking 2 03-21-2006 09:17 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:28 AM.

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
Open Source Consulting | Domain Registration