Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-08 Thread Dave Cotton
On Mon, 2005-08-08 at 12:57 +0800, chris wrote:
 hi,
 
 thank you vary much for the updates, i jsut got the latest from cvs and the
 error is fixed, however, i got this new error, when running make,
 
 /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lncurses
 collect2: ld returned 1 exit status
 make: *** [asterisk] Error 1
 
 pls advise.
 

The ncurses library is missing or not where the Makefile thinks it
should be.


-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-08 Thread chris
 reference to `HMAC_Update'
/usr/local/ssl/lib/libssl.so: undefined reference to
`X509_STORE_CTX_set_verify_ cb'
/usr/local/ssl/lib/libssl.so: undefined reference to `ERR_load_strings'
/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_md2'
/usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_CTX_init'
/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_get_digestbyname'
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

i only see warnings and undefined reference to' '.

pls advise.

thnks.

chris


- Original Message -
From: Dave Cotton [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Monday, August 08, 2005 2:27 PM
Subject: Re: [Asterisk-Users] function declaration isn't a prototype


 On Mon, 2005-08-08 at 12:57 +0800, chris wrote:
  hi,
 
  thank you vary much for the updates, i jsut got the latest from cvs and
the
  error is fixed, however, i got this new error, when running make,
 
  /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lncurses
  collect2: ld returned 1 exit status
  make: *** [asterisk] Error 1
 
  pls advise.
 

 The ncurses library is missing or not where the Makefile thinks it
 should be.


 --
 Dave Cotton [EMAIL PROTECTED]

 ___
 Asterisk-Users mailing list
 Asterisk-Users@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

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-08 Thread chris
hi dave,

any suggestions on myencoutrered problem below?

thnks so much.

chris
- Original Message -
From: chris [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Monday, August 08, 2005 4:51 PM
Subject: Re: [Asterisk-Users] function declaration isn't a prototype


 hi dave,

 yes, it was indeed missing, so i downloaded ncurses from sunfreeware.com
 and got a new error,

 /usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lssl

 so i downloaded openssl-0.9.7g-sol9-sparc-local.gz  from sun freeware,it
was
 installed in /usr/local/ssl/.. the compile did contiue, however, i have a
 new error.



  else \
 mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
 fi

 rm -f include/asterisk/version.h.tmp
 make[1]: `ast_expr.a' is up to date.
 make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk'
 gcc -g  -o asterisk  io.o sched.o logger.o frame.o loader.o config.o
 channel.o t ranslate.o file.o
 say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod
 em.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 strcompat.o ast_expr.a editline/libedit.a db1-ast/libd
 b1.a

stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u
 sr/local/ssl/lib -lssl
 /usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.7,
needed
 by /
 usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link)
 /usr/local/sparc-sun-solaris2.8/bin/ld: warning: libgcc_s.so.1, needed by
 /usr/l ocal/ssl/lib/libssl.so,
 not found (try using -rpath or -rpath-link)
 utils.o: In function `vasprintf':
 /export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to
 `va_copy '
 /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'
 /usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup'
 /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc'
 /usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null'
 /usr/local/ssl/lib/libssl.so: undefined reference to
 `X509_STORE_get_by_subject'
 /usr/local/ssl/lib/libssl.so: undefined reference to `lh_free'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal'
 /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new'
 /usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup'
 /usr/local/ssl/lib/libssl.so: undefined reference to
 `X509_STORE_CTX_set_ex_data '
 /usr/local/ssl/lib/libssl.so: undefined reference to `X509_free'
 /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data'
 /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bin2bn'
 /usr/local/ssl/lib/libssl.so: undefined reference to
 `CRYPTO_get_ex_new_index'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal_ex'
 /usr/local/ssl/lib/libssl.so: undefined reference to
 `PEM_read_bio_RSAPrivateKey '
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_aes_128_cbc'
 /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bn2bin'
 /usr/local/ssl/lib/libssl.so: undefined reference to `RAND_add'
 /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_socket'
 /usr/local/ssl/lib/libssl.so: undefined reference to `asn1_add_error'
 /usr/local/ssl/lib/libssl.so: undefined reference to `BUF_MEM_grow_clean'
 /usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey'
 /usr/local/ssl/lib/libssl.so: undefined reference to `sk_num'
 /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_free_all'
 /usr/local/ssl/lib/libssl.so: undefined reference to `RSA_up_ref'
 /usr/local/ssl/lib/libssl.so: undefined reference to
`BIO_get_retry_reason'
 /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_new'
 /usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_Final'
 /usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_Init_ex'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_md5'
 /usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_object_size'
 /usr/local/ssl/lib/libssl.so: undefined reference to
`EVP_get_cipherbyname'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc4'
 /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_add_cipher'
 /usr/local/ssl/lib/libssl.so: undefined

Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-07 Thread chris
hi,

thank you vary much for the updates, i jsut got the latest from cvs and the
error is fixed, however, i got this new error, when running make,

/usr/local/sparc-sun-solaris2.8/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

pls advise.

much thnks.

chris.


- Original Message -
From: Steve Drach [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Saturday, August 06, 2005 12:04 AM
Subject: Re: [Asterisk-Users] function declaration isn't a prototype


 In file included from include/asterisk/utils.h:26,
  from term.c:32:
 include/asterisk/strings.h:232: parse error before `va_list'
 include/asterisk/strings.h:232: warning: function declaration isn't a
 prototype
 make: *** [term.o] Error 1

 pls advise on how i can fix this,

It's fixed in CVS head now,  Do an update.
___
Asterisk-Users mailing list
Asterisk-Users@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

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-05 Thread chris



hi

i gues the error is in this line

include/asterisk/strings.h:232: parse error before 
`va_list'

can anyone help me please. how can i fix 
this?

much thnks.

chris.



  - Original Message - 
  From: 
  chris 
  
  To: asterisk-users@lists.digium.com 
  
  Sent: Tuesday, July 26, 2005 4:01 
PM
  Subject: [Asterisk-Users] function 
  declaration isn't a prototype
  
  hello, 
  
  i got this error when i run make after 
  downloading asteirsk from cvs.
  
  gcc -pipe -Wall -Wstrict-prototypes 
  -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include 
  -Iinclude/solaris-compat -I/usr/local/ssl/include -D_REENTRANT 
  -D_GNU_SOURCE -O6 -Wcast-align 
  -DSOLARIS 
  -DBUSYDETECT_MARTIN 
  -fomit-frame-pointer -c -o term.o term.cIn file included 
  from 
  include/asterisk/utils.h:26, 
  from term.c:32:include/asterisk/strings.h:232: parse error before 
  `va_list'include/asterisk/strings.h:232: warning: function declaration 
  isn't a prototypemake: *** [term.o] Error 1
  
  pls advise on how i can fix this,
  
  thnks,
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] function declaration isn't a prototype

2005-08-05 Thread Steve Drach
 In file included from include/asterisk/utils.h:26,
  from term.c:32:
 include/asterisk/strings.h:232: parse error before `va_list'
 include/asterisk/strings.h:232: warning: function declaration isn't a
 prototype
 make: *** [term.o] Error 1 
   
 pls advise on how i can fix this, 

It's fixed in CVS head now,  Do an update.
___
Asterisk-Users mailing list
Asterisk-Users@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


[Asterisk-Users] function declaration isn't a prototype

2005-07-26 Thread chris



hello, 

i got this error when i run make after downloading 
asteirsk from cvs.

gcc -pipe -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include 
-Iinclude/solaris-compat -I/usr/local/ssl/include -D_REENTRANT 
-D_GNU_SOURCE -O6 -Wcast-align 
-DSOLARIS 
-DBUSYDETECT_MARTIN 
-fomit-frame-pointer -c -o term.o term.cIn file included 
from 
include/asterisk/utils.h:26, 
from term.c:32:include/asterisk/strings.h:232: parse error before 
`va_list'include/asterisk/strings.h:232: warning: function declaration isn't 
a prototypemake: *** [term.o] Error 1

pls advise on how i can fix this,

thnks,
___
Asterisk-Users mailing list
Asterisk-Users@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