trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Hai Nam <nam...@nd24.net>
Subject Error when compiling on SunOS
Date Mon, 31 Oct 2011 14:50:00 GMT
Hi,

I'm building ATS on the Solaris-based system (OpenIndiana build 151a)
and got trouble when run gmake command.

$ ./configure CC=gcc --prefix=/usr/ats
$ gmake

After gmake runs for awhile, the error has seen as:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../lib
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_REENTRANT -Dsolaris -I/usr/local/include -march=i586 -g -pipe -Wall
-Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof -MT ink_string.lo -MD -MP -MF
.deps/ink_string.Tpo -c ink_string.cc  -fPIC -DPIC -o
.libs/ink_string.o
ink_string.cc: In function 'void ink_utf8_to_latin1(const char*, int,
char*, int*)':
ink_string.cc:504:55: error: invalid conversion from 'const char**' to
'char**' [-fpermissive]
/usr/include/iconv.h:44:15: error:   initializing argument 2 of
'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)'
[-fpermissive]
gmake[3]: *** [ink_string.lo] Error 1
gmake[3]: Leaving directory `/home/neddy/trafficserver-3.1.0-unstable/lib/ts'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/neddy/trafficserver-3.1.0-unstable/lib/ts'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/neddy/trafficserver-3.1.0-unstable/lib'
gmake: *** [all-recursive] Error 1

Anybody got an idea?

P/S: gcc v4.6.2, and gmake v3.81

Thanks

-- 
Best regards,
Hai Nam, Nguyen

Mime
View raw message