RE: how to find library of header file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I assume you are talking purely about user space here? So your problems
boils down to this:

Your compiler is unamble to find definition of certain symbols (that
have been defined in the header files). Since you compiler is
complaining that means it is certainly not able to find the libraries
using the command line options (and env variables) passed to it. But you
can always grep the "objdump" / "nm" output of the libraries to find out
if they contain definition of a particular symbol, and then add them on
the command line.

This is better said than done, because you can have *LARGE* number of
libraries on your system...

Thanks,

Rajat


________________________________

	From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Mudit Aggarwal
	Sent: Monday, October 20, 2008 12:55 PM
	To: kernelnewbies@xxxxxxxxxxxx
	Subject: how to find library of header file?
	
	
	Hi List,
	 
	My issue is not exactly related to Kernel. 
	Here I am trying to build my module with the existing code
present in linux environment using existing header file and library file
present in different directories.
	The problem is, my make file is not able to find the library
files of the header file which I am adding in my module.
	 
	Is there is way to find out location of library file of the
concerned header file.?
	 
	Thanks!
	Mudit 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux