Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6601 ANSI C example codes in Linux

I found an article about handling segmentation faults. http://digital.ni.com/public.nsf/allkb/EB202A78FB1D083186257117005CEF21

 

But i'm quite confused with what it says in the last paragraph. What does "explicitly link the dl library (-ldl) as the first library in your list." mean ??

 

 

Kevin

0 Kudos
Message 11 of 12
(1,013 Views)
This thread is getting well away from NI-related hardware and software and is more focused on general Linux programming. The Linux community at large has numerous mailing lists for these kinds of questions, and you'll find more knowledgeable experts there than here.

The best way to find good information is with your favorite search engine 😉 My first search returned something quite helpful [1] about your question. Also, the GNU compiler is well documented on the same site [2], just key off of your compiler's version. Finally, POSIX threads are also well documented [3], and you'll find a lot more information if you keep using your search engine.

[1] Re: g++ -ldl
http://gcc.gnu.org/ml/gcc-help/2006-09/msg00250.html

[2] GCC online documentation
http://gcc.gnu.org/onlinedocs/

[3] POSIX Threads Programming
https://computing.llnl.gov/tutorials/pthreads/
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 12 of 12
(1,005 Views)