axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christina Larocca <christina.laro...@gmail.com>
Subject Broken build for Axis2c 1.6.0 with icc over IA64
Date Tue, 27 Apr 2010 15:11:27 GMT
Hello developers,

I´m trying to compile Axis2c 1.6.0 on a IA64 machine with icc compiler.

I'm using the following configure options: ./configure
--prefix=/users/dsdeldev/
Axis2c/comp CC=icc CFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1
-O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes
-Wstrict-prototypes" CXX=icpc CXXFLAGS="-D__64BIT__ -D__LINUX64__ -D_LP64 -g
-fPIC -w1 -O3 -pipe -Wall -Wpointer-arith -Wshadow -Wmissing-prototypes
-Wstrict-prototypes"

At the very beggining I find the error below. For your information, if I
remove the -W options, they are still present in the Makefile in
axis2c-src-1.6.0/util/src/platforms/unix (I guess this is by default to not
allow even warning in this folder). Removing the -Werror would make it work,
but i guess this is not the idea.

------------------------------

...

Making all in src
gmake[4]: Entering directory
`/users/dsdeldev/Axis2c/source/axis2c-src-1.6.0/util/src'
Making all in platforms/unix
gmake[5]: Entering directory
`/users/dsdeldev/Axis2c/source/axis2c-src-1.6.0/util/src/platforms/unix'
/bin/sh ../../../libtool --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I.
-I../../.. -I../../../include -I../../../include/platforms
-I../../../include/platforms/unix    -D__64BIT__ -D__LINUX64__ -D_LP64 -g
-fPIC -w1 -O3 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -D_GNU_SOURCE  -MT uuid_gen_unix.lo -MD
-MP -MF .deps/uuid_gen_unix.Tpo -c -o uuid_gen_unix.lo uuid_gen_unix.c
 icc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include
-I../../../include/platforms -I../../../include/platforms/unix -D__64BIT__
-D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe -D_LARGEFILE64_SOURCE -ansi
-Wall -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -MT
uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c uuid_gen_unix.c
-fPIC -DPIC -o .libs/uuid_gen_unix.o
icc: Command line warning: ignoring option '-W'; no argument required
uuid_gen_unix.c(148): error #810: conversion from "int" to "unsigned short"
may lose significant bits
          clck = rand();
               ^

uuid_gen_unix.c(62): error #593: variable "tv" was set but never used
      struct timeval tv;
                     ^

compilation aborted for uuid_gen_unix.c (code 2)
gmake[5]: *** [uuid_gen_unix.lo] Error 1


---------------------------------



If I remove the -Werror option I would have an error like:



---------------------------------


gmake[3]: Entering directory
`/users/dsdeldev/Axis2c/source/axis2c-src-1.6.0/util/src'
/bin/sh ../libtool --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I. -I..
-I../include    -D__64BIT__ -D__LINUX64__ -D_LP64 -g -fPIC -w1 -O3 -pipe
-D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration
-D_GNU_SOURCE  -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c -o hash.lo hash.c
mkdir .libs
 icc -DHAVE_CONFIG_H -I. -I.. -I../include -D__64BIT__ -D__LINUX64__ -D_LP64
-g -fPIC -w1 -O3 -pipe -D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -D_GNU_SOURCE -MT hash.lo -MD -MP -MF
.deps/hash.Tpo -c hash.c  -fPIC -DPIC -o .libs/hash.o
icc: Command line warning: ignoring option '-W'; no argument required
hash.c(457): error #193: zero used for undefined preprocessing identifier
  #if AXIS2_POOL_DEBUG
      ^

compilation aborted for hash.c (code 2)
gmake[3]: *** [hash.lo] Error 1



-----------------------------------------



Thanks in advance for youir responses,
Christina.

Mime
View raw message