[RESOLVED] Compilation errors


#1

I know my way around IT, but I come from the Netware/MS world. I’m a newbie when it comes to Linux (and certainly Asterisk), but am diving right in, using Asterisk as the reason to brush up on my Linux knowledge.

I am attempting to compile Asterisk 1.0.9 on Open Suse 10.0. I already figured out that the default Suse install doesn’t include gcc or the kernal source when I attempted to compile the zaptel portion. Got that taken care of, but now trying to run make on the Asterisk source bombs with the following message:

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 ast_expr.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  editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv   -lssl
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

I’m also getting a considerable amount of warnings, should I be worried about them?

enum.c:145: warning: pointer targets in passing argument 1 of âstrncasecmpâ differ in signedness
enum.c:146: warning: pointer targets in passing argument 2 of â__builtin_strncpyâ differ in signedness
enum.c:157: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
enum.c:165: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
enum.c:165: warning: pointer targets in assignment differ in signedness
enum.c:185: warning: pointer targets in passing argument 2 of âregcompâ differ in signedness

Thanks in advance for any advice. :smile:


#2

Welcome to enlightenment. :wink:

Have you ensured that you have these requirements on your system?:

[quote=“Digium”]Things you will want to install in order to build Asterisk and/or Zaptel:

* ncurses, and associated -devel
* openssl, and associated -devel
* zlib, and associated -devel
* bison, and associated -devel (1.0.X only)[/quote]

Source

Also, I would highly recommend either buying or downloading this book:

voip-info.org/wiki/view/Aste … +Telephony


#3

I had that book on preorder before it was printed. :wink: I read right past the specific mention of that error message. Installing open-ssl fixed it. Thanks for the help!