Hi,

I have had the same problem in Solaris a while back. Apparently kannel requires now C99 support for some of its structures since 1.4.1.

My solution was to disable the relevant checks in the configure script. I experienced no problems by doing so:


+os=${host##*-}
+os=${os%%.*}
+if [ "$os" == "solaris2" ] && [ "$CC" == "gcc" ]; then
+   $as_echo "$as_me: failed program was:" >&5
+   sed 's/^/| /' conftest.$ac_ext >&5
else
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
do
 CC="$ac_save_CC $ac_arg"
 rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"


and:

+ if [ "$ac_cv_prog_cc_c99" == "no" ] && !([ "$os" == "solaris2" ] && [ "$CC" = "gcc" ]); then { { $as_echo "$as_me:$LINENO: error: \"Kannel requires a C compiler that supports ISO C99.\"" >&5 $as_echo "$as_me: error: \"Kannel requires a C compiler that supports ISO C99.\"" >&2;}
  { (exit 1); exit 1; }; }
fi

BR,
Nikos
----- Original Message ----- From: "Bharat Vasant" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 25, 2009 12:10 PM
Subject: Kannel requires a C compiler that supports ISO C99 error


Hi,

Before couple of months, I had installed Kannel 1.4.1 and then CVS version
without any problem.

Now, I have downloaded latest production version 1.4.3 and I am getting
error in configure

I have tried to download software updates from my CentOS 5.2 but error is
not resolved

Configure output:
.....................
.....................
checking for gcc option to accept ISO C89... unsupported
checking for gcc option to accept ISO C99... unsupported
configure: error: "Kannel requires a C compiler that supports ISO C99."

I am new to Linux and any help about the issue would be appreciated.

Thanking you in anticipation.
Warm Regards,
Bharat K. Vasant






Reply via email to