Paras Fadte wrote on 8/18/09 2:01 AM:
> Hi Peter,
>
> Thank you for the response. I am currently facing one more problem .
> I installed swish-e on a machine with SUSE LINUX 10.1 (X86-64) and it
> woks fine . But on another machine having same OS of same version it
> is giving following error during "make statement". Can you help me out
> with the following ?
>
> gcc version 4.1.0 (SUSE Linux)
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> make[3]: Entering directory `/home/paras/swish-e-2.4.7/src/expat'
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I. -I../../src -I"./xmlparse" -I"./xmltok" -g -O2 -MT
> xmltok.lo -MD -MP -MF ".deps/xmltok.Tpo" -c -o xmltok.lo xmltok.c; \
> then mv -f ".deps/xmltok.Tpo" ".deps/xmltok.Plo"; else rm -f
> ".deps/xmltok.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./xmlparse -I./xmltok -g
> -O2 -MT xmltok.lo -MD -MP -MF .deps/xmltok.Tpo -c xmltok.c -fPIC
> -DPIC -o .libs/xmltok.o
> In file included from /usr/include/features.h:346,
> from /usr/include/string.h:26,
> from ./xmltok/xmldef.h:6,
> from xmltok.c:6:
> /usr/include/gnu/stubs.h:4: error: expected â=â, â,â, â;â, âasmâ or
> â__attribute__â before â<â token
> In file included from /usr/include/features.h:346,
> from /usr/include/string.h:26,
> from ./xmltok/xmldef.h:6,
> from xmltok.c:6:
> /usr/include/gnu/stubs.h:7:21: error: invalid suffix "h" on floating constant
> /usr/include/gnu/stubs.h:9:21: error: invalid suffix "h" on floating constant
> In file included from ./xmltok/xmldef.h:6,
> from xmltok.c:6:
> /usr/include/string.h:39: error: expected declaration specifiers or
> â...â before âsize_tâ
are these messages really like:
â...â before âsize_tâ
or is that an encoding artifact in your/my mailer?
'cause that's weird.
/usr/include/gnu/stubs.h just calls stubs-32 or stubs-64 based on the arch of
the box. Sounds like you have some include path brokenness somewhere.
Can you compile this little test on the troublesome box:
------------------<snip>--------------
#include <string.h>
#include <stdio.h>
int main() {
printf("hello world\n");
return 1;
}
------------------<snip>--------------
should compile with:
% gcc -Wall -o stringtest stringtest.c
with no warnings.
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
gpg key: 37D2 DAA6 3A13 D415 4295 3A69 448F E556 374A 34D9
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Aug 19 00:17:27 2009