Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] building swish-e-2.4.5 using gcc 4

From: Judith Retief <JudithR(at)not-real.inet.co.za>
Date: Mon Jul 13 2009 - 06:56:48 GMT
> what version of glibc do you have installed? I expect 
> it's a header mismatch, but can't be sure unless you 
> post the error messages you're seeing.

Sorry, I realise answerning c lib compilation errors isn't exactly what this list is for.

On the system where things compile smoothly:
	/lib/libc.so.6 -> libc-2.3.5.so

On the system where it doesn't:
	 /lib/libc.so.6 -> libc-2.7.so



As for the complation errors, things complile find until this step:

make[3]: Entering directory `/root/cms-install/swish-e-2.4.5/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -Dlibexecdir=\"/usr/local/lib/swish-e\" -DPATH_SEPARATOR=\":\"   -I/usr/include/libxml2 -Ireplace  -Wall -g -O2 -MT search.lo -MD -MP -MF ".deps/search.Tpo" -c -o search.lo search.c; \
        then mv -f ".deps/search.Tpo" ".deps/search.Plo"; else rm -f ".deps/search.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Dlibexecdir=\"/usr/local/lib/swish-e\" -DPATH_SEPARATOR=\":\" -I/usr/include/libxml2 -Ireplace -Wall -g -O2 -MT search.lo -MD -MP -MF .deps/search.Tpo -c search.c  -fPIC -DPIC -o .libs/search.o
In file included from swish.h:135,
                 from search.c:123:
/usr/include/regex.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 're_void'
/usr/include/regex.h:315: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
/usr/include/regex.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
/usr/include/regex.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TclReFree'
/usr/include/regex.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ANSI_ARGS_'
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Jul 13 02:57:01 2009