LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to compile .so files from a .h (https://www.linuxquestions.org/questions/programming-9/how-to-compile-so-files-from-a-h-420704/)

jorian1 03-01-2006 02:31 PM

how to compile .so files from a .h
 
I have some libraries, for example libsrfftw.so and libsrfftw.so.2 and have also a srfftw.h file from which I think those two came from, now I change my kernel version and those seems not to work on it, how do I make to compile those libraries for my new kernel?
Does anyone know which gcc options do I require? :confused:

acid_kewpie 03-01-2006 02:42 PM

you need to install the correct version of the package that these static objects came from, libsrfft i assume. a .h file is a c header, you can't compile it, and even even you could, you cna't just throw it at gcc and somehow get what you want out the other end... you've not even told us what happens when they don't work...

ta0kira 03-01-2006 04:50 PM

Here is where I learned:
http://www-128.ibm.com/developerworks/library/l-shobj/
ta0kira

jorian1 03-02-2006 02:17 PM

thank you ta0kira!!! That info was very helpful, I'll try those steps and if something funny happens I'll post a new question.


All times are GMT -5. The time now is 02:00 AM.