I am trying to run a sample ssl program in fedora 8. Here is what I got
make all
Building file: ../common.c
Invoking: GCC C Compiler
gcc -I"/home/shashi/workspace/Sample" -I/usr/local/ssl/include/
-I/usr/local/ssl/lib -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"common.d"
-MT"common.d" -o"common.o" "../common.c"
In file included from /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:122,
from
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:11,
from /usr/include/bits/socket.h:32,
from /usr/include/sys/socket.h:36,
from ../common.h:8,
from ../common.c:1:
/usr/include/limits.h:122:61: error: no include path in which to search for
limits.h
make: *** [common.o] Error 1
I checked if I had openssl installed: Yes it came with my linux
Just incase I did download openssl then did following:
./Configure
make test
got the very same error:
cc -I. -I.. -I../include -O -c -o o_dir.o o_dir.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:122,
from
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:11,
from LPdir_unix.c:30,
from o_dir.c:74:
/usr/include/limits.h:122:61: error: no include path in which to search for
limits.h
make[3]: *** [o_dir.o] Error 1
make[3]: Leaving directory `/home/shashi/workspace/openssl-0.9.8g/crypto'
make[2]: *** [build_crypto] Error 1
make[2]: Leaving directory `/home/shashi/workspace/openssl-0.9.8g'
make[1]: *** [../libcrypto.a] Error 2
make[1]: Leaving directory `/home/shashi/workspace/openssl-0.9.8g/test'
make: *** [tests] Error 2
I would really appreciate if you guys threw me a tip on: I am trying to write
an interoperable encryption algorithm between .Net and Linux(c/c++). I am
replacing an age old component falcon(built in 97). Falcon used to act as a
bridge between Unix (Tru64) and .Net. I am moving the components from unix to
linux in the process getting rid of falcon.
The two approaches I had were to use
1. oracle database as common interface
completed this process but need to encrypt messages as the the servers are
across domains (any suggestions of using an interoperable encryption algorithm
which can work in .Net and Unix/Linux) --- I tried using crypto++ : struck with
the exactly same stupid error.
2. Use OpenSSL and socket programming (Yeah I am stuck with this stupid error)
I am sure this is related to my linux box, but I don't know how to solve this.
Please respond to [EMAIL PROTECTED] or [EMAIL PROTECTED]
thanks a bunch in advance
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total
Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com