libxml2 error
I got this error while doing installation of libxml2 in redhat 6.2
./configure
make
elfgcchack.h:7518: warning: `visibility' attribute directive ignored
elfgcchack.h:7524: warning: `visibility' attribute directive ignored
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -c parser.c -Wp,-MD,.deps/parser.TPlo -o parser.o >/dev/null 2>&1
source='tree.c' object='tree.lo' libtool=yes \
depfile='.deps/tree.Plo' tmpdepfile='.deps/tree.TPlo' \
depmode=gcc /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -c -o tree.lo tree.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -c tree.c -Wp,-MD,.deps/tree.TPlo -fPIC -DPIC -o .libs/tree.o
In file included from libxml.h:57,
from tree.c:14:
elfgcchack.h:59: warning: `visibility' attribute directive ignored
elfgcchack.h:63: warning: `visibility' attribute directive ignored
elfgcchack.h:70: warning: `visibility' attribute directive ignored
elfgcchack.h:76: warning: `visibility' attribute directive ignored
elfgcchack.h:82: warning: `visibility' attribute directive ignored
elfgcchack.h:88: warning: `visibility' attribute directive ignored
elfgcchack.h:94: warning: `visibility' attribute directive ignored
|