LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 12:24 PM   #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, 03: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, 07: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


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


All times are GMT -5. The time now is 10:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration