how to link all and make execute
I am having an openssl dh_gen.c file which is having cryptlib.h as shared library. I am having cryptlib.h file also, in that cryptlib.h again its having another two shared libraries e_os.h and ms/uplink.h i am also having e_os.h and uplink.h files also and also having one uplink.c file also. now i want to make dh_gen.c to be execute suggest how to link all and make it execute. plz help me
In brief Code:
dh_gen.c Code:
cryptlib.h Code:
upload.h |
Do you want to execute all header files i.e. library files within a single c executable file? Does your dh_gen.c file has execute permissions?
An executable can simple run by ./<executable-filename> command from a Unix terminal. So please specify the error message or problem you're facing while running it. |
To rephrase your question, you want to build C source files (xxxx.c & yyyy.h) into executable binaries. It is possible that in this case, it is as simple as typing
Code:
make dh_gen
One last point of clarification; C header files (blahblah.h) are not libraries. They often accompany libraries (libblablah.so.x.y), so that the code that uses the library knows how to access the content of the library. --- rod. |
All times are GMT -5. The time now is 05:13 AM. |