473,395 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

OPENSSL (0.9.6b)

41
Hi ,

I am linking openssl-0.9b.tar but it's picking up the definition in /usr/local/unistd.h
the definition in /usr/local/unistd.h

#ifdef __USE_XOPEN
/* Encrypt at most 8 characters from KEY using salt to perturb DES. */
extern char *crypt (__const char *__key, __const char *__salt)
__THROW __nonnull ((1, 2));

whereas in in crypto include/des.h doesn't have this __THROW __nonnull ((1, 2));

I don't want to commented it out in /usr/local/unistd.h

Any ideas how to overcome this ???
I don't want to comment out the __THROW __nonnull ((1, 2)); in /usr/local/unistd.h

this is my error message i get
usr/include/unistd.h:1020: error: declaration of âchar* crypt(const char*, const char*) throw ()â throws different exceptions
/usr/local64/include/openssl/des.h:193: error: from previous declaration âchar* crypt(const char*, const char*)â

My os is redhat4.5
GCC4.1.1

Thanks
Oct 31 '07 #1
2 1927
weaknessforcats
9,208 Expert Mod 8TB
It looks like your compiler supports function exception specification:
Expand|Select|Wrap|Line Numbers
  1. void MyFunc(int, int) throw (MyException, int);
  2.  
In the function prototype abobve, the throw indicates what type of exception can be thrown by the function. In this case, a MyException object or an int. Should the function throw anything else, it is an error and this is probably what your compiler is complaining about.

A function that does not throw anything should look like:
Expand|Select|Wrap|Line Numbers
  1. void MyFunc(int, int) throw ();
  2.  
Not all compilers support this.
Oct 31 '07 #2
nano2
41
Do You Know how I can force it to use the crypto as i don't want to update the sytem library ...

Thanks
Nov 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: User1001 | last post by:
I have been trying to enable/use specific OpenSSL extensions that I use in generating certificates manually, via PHP5 + php5-openssl module/extension. Filling out the "configargs" array with...
3
by: nanard | last post by:
Hi,Bonjour, I m running FreeBSD 4.10 STABLE and using Apache 1.3.x and PHP4. Today, i updated php4 from Ports Tree and there was lot of change. Indeed, no more php4-something package... only...
1
by: Niko | last post by:
Hello, I want to retrieve the details of an SSL certificate of HTTPS websites, using openSSL, running on Windows 2003. This works fine as follows: openssl s_client www.somewebsite.com:443 >...
0
by: John Bergstrom | last post by:
Hello everyone! I wrote a simple perl program to encrypt a string using Crypt::OpenSSL::RSA. Everything as described in the module documentation. The public key is a valid X.509 encrypted...
2
by: Christopher Murtagh | last post by:
Greetings, I'm trying to build 7.3.4 and I've come across two problems, one during the configure and the other afterward. Problem 1) Trying to build with openssl support gives this: ...
17
by: cpptutor2000 | last post by:
Could some C guru please help me? I have a simple piece of code as: #include <stdio.h> #include <stdlib.h> #include <openssl/rand.h> int main(){ unsigned char temp; RAND_bytes(temp, 4);
1
by: laredotornado | last post by:
Hello, I downloaded PHP 4.4.4 and am trying to install for Apache 2 on Fedora Core 5. However when trying to configure with openssl, I get this error, configure: error: Cannot find...
4
by: Patrick | last post by:
Hello, I'm currently trying the OpenSSL Library, but I got some problems. I want to create a server and client application that communicate through the OpenSSL API, but this code doesn't work. I...
5
by: Chuck Anderson | last post by:
I run Apache 2.0.55, and Php (both 4.4.1 and 5.2.5) on my home PC (Windows XP). One of the scripts that I run daily needs to access a secure URL (https://..............). When I am running Php4,...
4
by: Tan | last post by:
Hi folk, I'm trying to install latest OpenSSL version in VS2008 Express Edition on WinXP. I have downloaded and installed the redistributable for VC+ +2008 (including SP1), and also installed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.