SuSE Linux Enterprise Server 9 Asterisk 1.2.0 beta1 I am trying to build and install Asterisk on SuSE. I started with a fresh full installation of SuSE. The last lines of stdout and the full stderr are attached below. Thanks very much for your assistance. -Ramon F Herrera stdout: ------------------------------------------------------- gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -c -o ast_expr2f.o ast_expr2f.c gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o ast_expr2.o ast_expr2f.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done make[1]: Entering directory `/home/ramon/ftp/asterisk/1.2/asterisk-1.2.0-beta1/res' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -DOPENSSL_NO_KRB5 -fPIC -c -o res_adsi.o res_adsi.c gcc -shared -Xlinker -x -o res_adsi.so res_adsi.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -DOPENSSL_NO_KRB5 -fPIC -c -o res_features.o res_features.c gcc -shared -Xlinker -x -o res_features.so res_features.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -fomit-frame-pointer -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c make[1]: Leaving directory `/home/ramon/ftp/asterisk/1.2/asterisk-1.2.0-beta1/res' ------------------------------------------------------- stderr: /bin/sh: line 1: curl-config: command not found /bin/sh: line 1: curl-config: command not found ar: creating libtime.a ast_expr2f.c:1784: warning: no previous prototype for `ast_yyget_column' ast_expr2f.c:1860: warning: no previous prototype for `ast_yyset_column' ast_expr2f.c:1259: warning: `yyunput' defined but not used res_crypto.c:15:25: openssl/ssl.h: No such file or directory res_crypto.c:16:25: openssl/err.h: No such file or directory res_crypto.c:75: error: parse error before "RSA" res_crypto.c:75: warning: no semicolon at end of struct or union res_crypto.c:85: error: parse error before '}' token res_crypto.c: In function `pw_cb': res_crypto.c:102: error: dereferencing pointer to incomplete type res_crypto.c:104: error: dereferencing pointer to incomplete type res_crypto.c:104: error: dereferencing pointer to incomplete type res_crypto.c:105: error: dereferencing pointer to incomplete type res_crypto.c:107: error: dereferencing pointer to incomplete type res_crypto.c:109: error: dereferencing pointer to incomplete type res_crypto.c:110: error: dereferencing pointer to incomplete type res_crypto.c:116: error: dereferencing pointer to incomplete type res_crypto.c: In function `ast_key_get': res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:127: error: dereferencing pointer to incomplete type res_crypto.c:128: error: dereferencing pointer to incomplete type res_crypto.c:130: error: dereferencing pointer to incomplete type res_crypto.c: In function `try_load_key': res_crypto.c:164: error: dereferencing pointer to incomplete type res_crypto.c:166: error: dereferencing pointer to incomplete type res_crypto.c:190: error: dereferencing pointer to incomplete type res_crypto.c:191: error: dereferencing pointer to incomplete type res_crypto.c:193: error: dereferencing pointer to incomplete type res_crypto.c:197: error: dereferencing pointer to incomplete type res_crypto.c:206: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:212: error: invalid application of `sizeof' to an incomplete type res_crypto.c:220: error: dereferencing pointer to incomplete type res_crypto.c:220: error: dereferencing pointer to incomplete type res_crypto.c:222: error: dereferencing pointer to incomplete type res_crypto.c:222: error: dereferencing pointer to incomplete type res_crypto.c:223: error: dereferencing pointer to incomplete type res_crypto.c:225: error: dereferencing pointer to incomplete type res_crypto.c:227: error: dereferencing pointer to incomplete type res_crypto.c:229: error: dereferencing pointer to incomplete type res_crypto.c:230: error: dereferencing pointer to incomplete type res_crypto.c:235: error: dereferencing pointer to incomplete type res_crypto.c:235: warning: implicit declaration of function `PEM_read_RSA_PUBKEY' res_crypto.c:237: error: dereferencing pointer to incomplete type res_crypto.c:237: warning: implicit declaration of function `PEM_read_RSAPrivateKey' res_crypto.c:239: error: dereferencing pointer to incomplete type res_crypto.c:240: warning: implicit declaration of function `RSA_size' res_crypto.c:240: error: dereferencing pointer to incomplete type res_crypto.c:242: error: dereferencing pointer to incomplete type res_crypto.c:244: error: dereferencing pointer to incomplete type res_crypto.c:244: error: dereferencing pointer to incomplete type res_crypto.c:246: error: dereferencing pointer to incomplete type res_crypto.c:247: error: dereferencing pointer to incomplete type res_crypto.c:249: error: dereferencing pointer to incomplete type res_crypto.c:250: error: dereferencing pointer to incomplete type res_crypto.c:251: error: dereferencing pointer to incomplete type res_crypto.c:251: error: dereferencing pointer to incomplete type res_crypto.c:253: warning: implicit declaration of function `ERR_print_errors_fp' res_crypto.c:257: error: dereferencing pointer to incomplete type res_crypto.c:258: error: dereferencing pointer to incomplete type res_crypto.c:265: error: dereferencing pointer to incomplete type res_crypto.c:273: error: dereferencing pointer to incomplete type res_crypto.c: In function `ast_sign_bin': res_crypto.c:312: error: dereferencing pointer to incomplete type res_crypto.c:318: warning: implicit declaration of function `SHA1' res_crypto.c:321: warning: implicit declaration of function `RSA_sign' res_crypto.c:321: error: `NID_sha1' undeclared (first use in this function) res_crypto.c:321: error: (Each undeclared identifier is reported only once res_crypto.c:321: error: for each function it appears in.) res_crypto.c:321: error: dereferencing pointer to incomplete type res_crypto.c:324: error: dereferencing pointer to incomplete type res_crypto.c: In function `ast_decrypt_bin': res_crypto.c:341: error: dereferencing pointer to incomplete type res_crypto.c:352: warning: implicit declaration of function `RSA_private_decrypt' res_crypto.c:352: error: dereferencing pointer to incomplete type res_crypto.c:352: error: `RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function) res_crypto.c: In function `ast_encrypt_bin': res_crypto.c:368: error: dereferencing pointer to incomplete type res_crypto.c:378: warning: implicit declaration of function `RSA_public_encrypt' res_crypto.c:378: error: dereferencing pointer to incomplete type res_crypto.c:378: error: `RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function) res_crypto.c: In function `ast_check_signature_bin': res_crypto.c:409: error: dereferencing pointer to incomplete type res_crypto.c:420: warning: implicit declaration of function `RSA_verify' res_crypto.c:420: error: `NID_sha1' undeclared (first use in this function) res_crypto.c:420: error: dereferencing pointer to incomplete type res_crypto.c:423: error: dereferencing pointer to incomplete type res_crypto.c: In function `crypto_load': res_crypto.c:455: error: dereferencing pointer to incomplete type res_crypto.c:456: error: dereferencing pointer to incomplete type res_crypto.c:475: error: dereferencing pointer to incomplete type res_crypto.c:476: error: dereferencing pointer to incomplete type res_crypto.c:477: error: dereferencing pointer to incomplete type res_crypto.c:477: error: dereferencing pointer to incomplete type res_crypto.c:480: error: dereferencing pointer to incomplete type res_crypto.c:483: error: dereferencing pointer to incomplete type res_crypto.c:484: warning: implicit declaration of function `RSA_free' res_crypto.c:484: error: dereferencing pointer to incomplete type res_crypto.c:485: warning: implicit declaration of function `free' res_crypto.c: In function `show_keys': res_crypto.c:510: error: dereferencing pointer to incomplete type res_crypto.c:511: error: dereferencing pointer to incomplete type res_crypto.c:512: error: dereferencing pointer to incomplete type res_crypto.c:513: error: dereferencing pointer to incomplete type res_crypto.c:515: error: dereferencing pointer to incomplete type res_crypto.c: In function `init_keys': res_crypto.c:533: error: dereferencing pointer to incomplete type res_crypto.c:534: error: dereferencing pointer to incomplete type res_crypto.c:538: error: dereferencing pointer to incomplete type res_crypto.c: In function `crypto_init': res_crypto.c:559: warning: implicit declaration of function `SSL_library_init' res_crypto.c:560: warning: implicit declaration of function `ERR_load_crypto_strings' make[1]: *** [res_crypto.o] Error 1 make: *** [subdirs] Error 1
On Thu, 2005-10-20 at 03:31 -0400, telephony@jonjay.com wrote:> SuSE Linux Enterprise Server 9 > Asterisk 1.2.0 beta1 > > I am trying to build and install Asterisk on SuSE. I started with a > fresh full installation of SuSE. > > The last lines of stdout and the full stderr are attached below. > > Thanks very much for your assistance. > > -Ramon F Herrera> > stderr: > /bin/sh: line 1: curl-config: command not found > /bin/sh: line 1: curl-config: command not found > res_crypto.c:15:25: openssl/ssl.h: No such file or directory > res_crypto.c:16:25: openssl/err.h: No such file or directoryRead the error message. Note what's missing. Install it. -- Dave Cotton <dcotton@linuxautrement.com>
> SuSE Linux Enterprise Server 9 > Asterisk 1.2.0 beta1 > > I am trying to build and install Asterisk on SuSE. I started with a > fresh full installation of SuSE. > > The last lines of stdout and the full stderr are attached below. > > Thanks very much for your assistance. > > -Ramon F Herrera[cutted much lines]> res_crypto.c:15:25: openssl/ssl.h: No such file or directory > res_crypto.c:16:25: openssl/err.h: No such file or directory > res_crypto.c:75: error: parse error before "RSA"[cutted much lines] This is my first post to this list, I have no experiences with asterisk, but this problem is an easy one and it is not asterisk related. The problem is that you didn' t read the error messages. In the lines above you can see that you did't install the development files for openssl. I don't know how this rpm is named in suse, but in my distro it is called openssl-devel. Gerald