[Asterisk-Users] Redhat 7.3 compiling problem
MattB
mattb at forethought.net
Mon May 17 09:49:22 MST 2004
Looks like you need to install the openssl development packages and make
sure you are doing an 'export LANG=C'. Some of the stuff did not
compile on my redhat system (9.0) because it was set as
LANG=en_US.UTF-8. The first problem is indeed it cannot find your
openssl headers.
--
Matthew Billings | Affordable WWW & Internet Solutions
foreThought.net | for Small Business
matt.billings at foreThought.net | 910 16th Street, #1220 (303)
228-0070 x821
--The Future is Now!-- | Denver, CO 80202 (303)
228-0077 fax
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of Nicholas Ruddick
> Sent: Monday, May 17, 2004 10:36 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Redhat 7.3 compiling problem
>
> Firstly, amazing software, props to all the developers.
>
> I'm trying to compile the latest asterisk cvs checkout and keep
getting
> an error which I can't solve, any help would be much appreciated -
>
>
> make[1]: Leaving directory `/usr/src/asterisk/stdtime'
> if [ -d CVS ] && ! [ -f .version ]; then echo
CVS-HEAD-05/17/04-16:45:34
> > .version; fi
> for x in res channels pbx apps codecs formats agi cdr astman stdtime;
do
> make -C $x || exit 1 ; done
> make[1]: Entering directory `/usr/src/asterisk/res'
> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
> -DASTERISK_VERSION=\"CVS-HEAD-05/17/04-16:45:34\"
-DINSTALL_PREFIX=\"\"
> -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
> -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\"
-DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/lib/asterisk/modules\"
> -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN
> -DNEW_PRI_HANGUP -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o
> res_crypto.o res_crypto.c
> res_crypto.c:25:25: openssl/ssl.h: No such file or directory
> res_crypto.c:26:25: openssl/err.h: No such file or directory
> res_crypto.c:74: parse error before `RSA'
> res_crypto.c:74: warning: no semicolon at end of struct or union
> res_crypto.c:84: parse error before `}'
> res_crypto.c: In function `pw_cb':
> res_crypto.c:101: dereferencing pointer to incomplete type
> res_crypto.c:103: dereferencing pointer to incomplete type
> res_crypto.c:103: dereferencing pointer to incomplete type
> res_crypto.c:104: dereferencing pointer to incomplete type
> res_crypto.c:106: dereferencing pointer to incomplete type
> res_crypto.c:108: dereferencing pointer to incomplete type
> res_crypto.c:109: dereferencing pointer to incomplete type
> res_crypto.c:115: dereferencing pointer to incomplete type
> res_crypto.c: In function `ast_key_get':
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:126: dereferencing pointer to incomplete type
> res_crypto.c:127: dereferencing pointer to incomplete type
> res_crypto.c:129: dereferencing pointer to incomplete type
> res_crypto.c: In function `try_load_key':
> res_crypto.c:163: dereferencing pointer to incomplete type
> res_crypto.c:165: dereferencing pointer to incomplete type
> res_crypto.c:188: dereferencing pointer to incomplete type
> res_crypto.c:189: dereferencing pointer to incomplete type
> res_crypto.c:191: dereferencing pointer to incomplete type
> res_crypto.c:195: dereferencing pointer to incomplete type
> res_crypto.c:204: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:210: sizeof applied to an incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:218: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:220: dereferencing pointer to incomplete type
> res_crypto.c:221: dereferencing pointer to incomplete type
> res_crypto.c:223: dereferencing pointer to incomplete type
> res_crypto.c:225: dereferencing pointer to incomplete type
> res_crypto.c:227: dereferencing pointer to incomplete type
> res_crypto.c:228: dereferencing pointer to incomplete type
> res_crypto.c:233: dereferencing pointer to incomplete type
> res_crypto.c:233: warning: implicit declaration of function
> `PEM_read_RSA_PUBKEY'
> res_crypto.c:235: dereferencing pointer to incomplete type
> res_crypto.c:235: warning: implicit declaration of function
> `PEM_read_RSAPrivateKey'
> res_crypto.c:237: dereferencing pointer to incomplete type
> res_crypto.c:239: dereferencing pointer to incomplete type
> res_crypto.c:241: dereferencing pointer to incomplete type
> res_crypto.c:241: dereferencing pointer to incomplete type
> res_crypto.c:243: dereferencing pointer to incomplete type
> res_crypto.c:244: dereferencing pointer to incomplete type
> res_crypto.c:245: dereferencing pointer to incomplete type
> res_crypto.c:246: dereferencing pointer to incomplete type
> res_crypto.c:246: dereferencing pointer to incomplete type
> res_crypto.c:248: warning: implicit declaration of function
> `ERR_print_errors_fp'
> res_crypto.c:252: dereferencing pointer to incomplete type
> res_crypto.c:253: dereferencing pointer to incomplete type
> res_crypto.c:260: dereferencing pointer to incomplete type
> res_crypto.c:268: dereferencing pointer to incomplete type
> res_crypto.c: In function `ast_sign':
> res_crypto.c:391: dereferencing pointer to incomplete type
> res_crypto.c:397: warning: implicit declaration of function `SHA1'
> res_crypto.c:400: warning: implicit declaration of function `RSA_sign'
> res_crypto.c:400: `NID_sha1' undeclared (first use in this function)
> res_crypto.c:400: (Each undeclared identifier is reported only once
> res_crypto.c:400: for each function it appears in.)
> res_crypto.c:400: dereferencing pointer to incomplete type
> res_crypto.c:403: dereferencing pointer to incomplete type
> res_crypto.c: In function `ast_check_signature':
> res_crypto.c:424: dereferencing pointer to incomplete type
> res_crypto.c:442: warning: implicit declaration of function
`RSA_verify'
> res_crypto.c:442: `NID_sha1' undeclared (first use in this function)
> res_crypto.c:442: dereferencing pointer to incomplete type
> res_crypto.c: In function `crypto_load':
> res_crypto.c:462: dereferencing pointer to incomplete type
> res_crypto.c:463: dereferencing pointer to incomplete type
> res_crypto.c:482: dereferencing pointer to incomplete type
> res_crypto.c:483: dereferencing pointer to incomplete type
> res_crypto.c:484: dereferencing pointer to incomplete type
> res_crypto.c:484: dereferencing pointer to incomplete type
> res_crypto.c:487: dereferencing pointer to incomplete type
> res_crypto.c:490: dereferencing pointer to incomplete type
> res_crypto.c:491: warning: implicit declaration of function `RSA_free'
> res_crypto.c:491: dereferencing pointer to incomplete type
> res_crypto.c:492: warning: implicit declaration of function `free'
> res_crypto.c:454: warning: `nkey' might be used uninitialized in this
> function
> res_crypto.c: In function `show_keys':
> res_crypto.c:516: dereferencing pointer to incomplete type
> res_crypto.c:517: dereferencing pointer to incomplete type
> res_crypto.c:518: dereferencing pointer to incomplete type
> res_crypto.c:519: dereferencing pointer to incomplete type
> res_crypto.c:521: dereferencing pointer to incomplete type
> res_crypto.c: In function `init_keys':
> res_crypto.c:537: dereferencing pointer to incomplete type
> res_crypto.c:538: dereferencing pointer to incomplete type
> res_crypto.c:542: dereferencing pointer to incomplete type
> res_crypto.c: In function `crypto_init':
> res_crypto.c:596: warning: implicit declaration of function
> `SSL_library_init'
> res_crypto.c:597: warning: implicit declaration of function
> `ERR_load_crypto_strings'
> res_crypto.c: In function `init_keys':
> res_crypto.c:531: warning: `kn' might be used uninitialized in this
> function
> make[1]: *** [res_crypto.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/res'
> make: *** [subdirs] Error 1
>
> Thanks,
>
> Nicholas Ruddick
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list