Error Openssl/ssl.h No Such File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn fatal error: openssl/opensslv.h: no such file or directory centos more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags openssl/sha.h: no such file or directory ubuntu Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you,
Ares.h: No Such File Or Directory
helping each other. Join them; it only takes a minute: Sign up How to compile .c file with OpenSSL includes? up vote 42 down vote favorite 11 I am trying to compile a small .c file that has
Openssl/opensslv.h No Such File Or Directory Ubuntu
the following includes: #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of
Openssl/ssl.h No Such File Or Directory Windows
this site About Us Learn more about Stack Overflow the company Business e_os2.h: no such file or directory Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask 'openssl/ssl.h' file not found mac Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign http://stackoverflow.com/questions/3368683/how-to-compile-c-file-with-openssl-includes up How do I install the OpenSSL C++ library on Ubuntu? up vote 112 down vote favorite 24 I'm trying to build some code on Ubuntu 10.04 LTS that uses OpenSSL 1.0.0. When I run make, it invokes g++ with the "-lssl" option. The source includes: #include
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://askubuntu.com/questions/594671/fatal-error-during-compilation-of-wpa-supplicant-dont-know-what-to-do answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business https://ubuntuforums.org/archive/index.php/t-1825434.html Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question no such and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Fatal error during compilation of wpa_supplicant. Don't know what to do no such file up vote 2 down vote favorite I'm a relative noob. Trying to add WiFi Direct to my 12.04 installation on an old netbook. I was following this advice: How to get wifi direct( wifi p2p) on my HP DM1 laptop? First, I downloaded wpa_supplicant-2.3 to the root and unpacked it myself@myself-AspireOne:~$ tar -xzf wpa_supplicant-2.3.tar.gz myself@myself-AspireOne:~$ cd wpa_supplicant-2.3/wpa_supplicant Then I created a file called .config from info based at https://wireless.wiki.kernel.org/en/developers/p2p/howto and started the compilation. myself@myself-AspireOne:~/wpa_supplicant-2.3/wpa_supplicant$ cp wpa_supplicant.conf /etc/wpa_supplicant.conf cp: cannot create regular file `/etc/wpa_supplicant.conf': Permission denied myself@myself-AspireOne:~/wpa_supplicant-2.3/wpa_supplicant$ sudo cp wpa_supplicant.conf /etc/wpa_supplicant.conf [sudo] password for myself: myself@myself-AspireOne:~/wpa_supplicant-2.3/wpa_supplicant$ sudo make && make install CC config.c CC notify.c CC bss.c CC eap_register.c CC ../src/utils/common.c CC ../src/utils/wpa_debug.c CC ../src/utils/wpabuf.c CC ../src/utils/os_unix.c CC ../src/utils/eloop.c CC config_file.c CC ../src/rsn_supp/wpa.c CC ../src/rsn_supp/preauth.c CC ../src/rsn_supp/pmksa_cache.c CC ../src/rsn_supp/peerkey.c CC ../src/rsn_supp/wpa_ie.c CC ../src/common/wpa_common.c CC p2p_supplicant.c CC ../src/p2p/p2p.c CC ../src/p2p/p2p_utils.c CC ../src/p2p/p2p_parse.c CC ../src/p2p/p2p_build.c CC ../src/p2p/p2p_go_neg.c CC ../src/p2p/p2p_sd.c CC ../src/p2p/p2p_pd.c CC ../src/p2p/p2p_invitation.c CC ../src
non-standard directory. wujj123456August 15th, 2011, 02:17 PMHello everyone, I am trying to compile telex (https://telex.cc) on Ubuntu 11.04 and I am getting the following error: cc -O3 -Wall -I./req/local/include -c -o listener.o listener.c In file included from listener.h:7:0, from listener.c:11: state.h:7:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated.The required header is a modified openssl/ssl.h in ./req/openssl-1.0.0d/include, and I tried cc -O3 -Wall -I./req/local/include -I./req/openssl-1.0.0d/include -c -o listener.o listener.cbut it still didn't work. What's the correct way to add a folder for gcc to search for headers? Btw, how do I know the default folders that gcc will search for? Thanks. Solution: My bad. It's not the compiler problem, but a broken link indeed. dwhitney67August 15th, 2011, 02:22 PMThe correct way is the way you have it, using the -I option. Question... where is this modified ssl.h file? Is it in ./req/openssl-1.0.0d/include, or in ./req/openssl-1.0.0d/include/openssl? The source file that is being compiled expects the header file to be in openssl, which is a sub-directory relative to one of the system header file directories (eg. /usr/include) or within one of the paths that you specified using the -I option. BachstelzeAugust 15th, 2011, 02:24 PMThis should work, are you sure that the header file is ./req/openssl-1.0.0d/include/openssl/ssl.h and not e.g. ./req/openssl-1.0.0d/include/ssl.h? Also you are using gcc, not g++. wujj123456August 15th, 2011, 02:28 PMThe correct way is the way you have it, using the -I option. Question... where is this modified ssl.h file? Is it in ./req/openssl-1.0.0d/include, or in ./req/openssl-1.0.0d/include/openssl? The source file that is being compiled expects the header file to be in openssl, which is a sub-directory relative to one of the system header file directories (eg. /usr/include) or within one of the paths that you specified using the -I option. It's ./req/openssl-1.0.0d/include/openssl/ssl.h. Actually I just found the problem. I only used "fin