Re: make error

2006-06-13 Thread Linkas
You need to install some more libraries to compile, check docs for 
minimum requirements.


Julien

sarwat jabeen ha scritto:

the following error occurs with the make command :

[EMAIL PROTECTED] gateway-1.4.0]# make
gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE 
-I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c 
gw/bb_alog.c

In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype
/usr/include/openssl/kssl.h:134: parse error before FAR
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before context
/usr/include/openssl/kssl.h:160: parse error before 
kssl_build_principal_2

/usr/include/openssl/kssl.h:160: parse error before context
/usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
/usr/include/openssl/kssl.h:163: parse error before atime
/usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before enctype
In file included from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
/usr/include/openssl/ssl.h:915: `debug' redeclared as different kind 
of symbol

gwlib/log.h:114: previous declaration of `debug'
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** [gw/bb_alog.o] Error 1

thanks 4 the help
regards,
sarwat and tayyaba

_
Express yourself instantly with MSN Messenger! Download today it's 
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/








RE: make error

2006-06-13 Thread Rene Kluwen
I once fixed this error (on some systems) with:

CFLAGS=-I/path/to/krb5.h ./configure [configure options]

Rene Kluwen
Chimit


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of sarwat jabeen
Sent: dinsdag 13 juni 2006 19:38
To: users@kannel.org
Subject: make error


the following error occurs with the make command :

[EMAIL PROTECTED] gateway-1.4.0]# make
gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c
gw/bb_alog.c
In file included from /usr/include/openssl/ssl.h:179,
 from gwlib/conn.h:274,
 from gwlib/gwlib.h:94,
 from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
 from gwlib/conn.h:274,
 from gwlib/gwlib.h:94,
 from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype
/usr/include/openssl/kssl.h:134: parse error before FAR
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before kssl_ctx_setstring
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before kssl_ctx_setprinc
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before kssl_cget_tkt
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before kssl_sget_tkt
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before kssl_ctx_setkey
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before context
/usr/include/openssl/kssl.h:160: parse error before kssl_build_principal_2
/usr/include/openssl/kssl.h:160: parse error before context
/usr/include/openssl/kssl.h:163: parse error before kssl_validate_times
/usr/include/openssl/kssl.h:163: parse error before atime
/usr/include/openssl/kssl.h:165: parse error before kssl_check_authent
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before enctype
In file included from gwlib/conn.h:274,
 from gwlib/gwlib.h:94,
 from gw/bb_alog.c:64:
/usr/include/openssl/ssl.h:909: parse error before KSSL_CTX
/usr/include/openssl/ssl.h:915: `debug' redeclared as different kind of
symbol
gwlib/log.h:114: previous declaration of `debug'
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** [gw/bb_alog.o] Error 1

thanks 4 the help
regards,
sarwat and tayyaba

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/







Re: make error

2006-06-13 Thread Stipe Tolj

sarwat jabeen wrote:


the following error occurs with the make command :

[EMAIL PROTECTED] gateway-1.4.0]# make
gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE 
-I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c 
gw/bb_alog.c

In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from gwlib/conn.h:274,
from gwlib/gwlib.h:94,
from gw/bb_alog.c:64:
/usr/include/openssl/kssl.h:132: parse error before krb5_enctype


if fact this is a broken openssl installation. The openssl package includes 
the kssl.h file (a header for kerberos 5 et al) and that one tries to include 
the core krb5.h header, which doesn't exist on your system.


Which distro are you using? Try to upgrade openssl and/or install/re-install the 
kerberos package.


It's not a Kannel issue... it's an issue with a messed up openssl (with kerberos 
support) thing.


Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---



Re: make error

2006-06-13 Thread Mi Reflejo

I don't know if this is your case, but i have been seen in some redhat
machines that kerberos include file is in /usr/kerberos/include.

so.

1. Make sure you have the krb5-devel and krb5-libs rpms installed. and do:
# ln -s /usr/kerberos/include/com_err.h /usr/include/
# ln -s /usr/kerberos/include/profile.h /usr/include/
# ln -s /usr/kerberos/include/krb5.h /usr/include/

Regards,
Martin

On 6/13/06, Stipe Tolj [EMAIL PROTECTED] wrote:

sarwat jabeen wrote:

 the following error occurs with the make command :

 [EMAIL PROTECTED] gateway-1.4.0]# make
 gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 -I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c
 gw/bb_alog.c
 In file included from /usr/include/openssl/ssl.h:179,
 from gwlib/conn.h:274,
 from gwlib/gwlib.h:94,
 from gw/bb_alog.c:64:
 /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
 In file included from /usr/include/openssl/ssl.h:179,
 from gwlib/conn.h:274,
 from gwlib/gwlib.h:94,
 from gw/bb_alog.c:64:
 /usr/include/openssl/kssl.h:132: parse error before krb5_enctype

if fact this is a broken openssl installation. The openssl package includes
the kssl.h file (a header for kerberos 5 et al) and that one tries to include
the core krb5.h header, which doesn't exist on your system.

Which distro are you using? Try to upgrade openssl and/or install/re-install the
kerberos package.

It's not a Kannel issue... it's an issue with a messed up openssl (with kerberos
support) thing.

Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---