FW: Problem with multiple file handles

Hyatt, Daniel J (HYATTDJ@sce.com)
Wed, 27 Jan 1999 14:57:01 -0800


Thanks in advance,
I am trying to get a command line tool to download files from SSL websites.
I am trying to compile SSL to get its telnet tool working. But when I go to
compile the code I have the following problem:



I am having difficulty compiling this on HP-UX 10.2
When I run make I get :

making crypto...
    echo "#define DATE  \"`date`\"" >date.h
    cc -I. -I../include -O -DNOPROTO -DCFLAGS=" \"cc -O -DNOPROTO\" " -c
cryptli
b.c
cc: "../include/bio.h", line 316: error 1000: Unexpected symbol: "*".
cc: "../include/bio.h", line 317: error 1000: Unexpected symbol: "*".
cc: "../include/bio.h", line 318: error 1000: Unexpected symbol: "*".
cc: "../include/bio.h", line 319: error 1000: Unexpected symbol: "*".
cc: "../include/bio.h", line 316: error 1705: Function prototypes are an
ANSI fe
ature.
cc: "../include/bio.h", line 316: error 1573: Type of "bio" is undefined due
to 
an illegal declaration.
cc: "../include/bio.h", line 317: error 1705: Function prototypes are an
ANSI fe
ature.
cc: "../include/bio.h", line 317: error 1573: Type of "bio" is undefined due
to 
an illegal declaration.
cc: "../include/bio.h", line 318: error 1705: Function prototypes are an
ANSI fe
ature.
cc: "../include/bio.h", line 318: error 1573: Type of "bio" is undefined due
to 
an illegal declaration.
cc: "../include/bio.h", line 319: error 1705: Function prototypes are an
ANSI fe
ature.
cc: "../include/bio.h", line 319: error 1573: Type of "bio" is undefined due
to 
an illegal declaration.
cc: "../include/bio.h", line 320: error 1705: Function prototypes are an
ANSI fe
ature.
*** Error exit code 1





Lines 316 on are:

int BIO_get_ex_num(BIO *bio);
int BIO_set_ex_data(BIO *bio,int idx,char *data);
char *BIO_get_ex_data(BIO *bio,int idx);
void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)());
int BIO_get_ex_new_index(long argl, char *argp, int (*new_func)(),
    int (*dup_func)(), void (*free_func)());



Dan Hyatt
CDAS Administrator
hyattdj@sce.com
562 945 9259
x 59259