RE: Problems compiling sqwebmail

"startux.org webmaster" <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
Hi,

First of all, thank you for your answer.

No errors from the code you've sent me.
./broken works just fine.

Warm Regards,
Mário Gamito 

> -----Original Message-----
> From: Brian Candler [mailto:[email protected]] 
> Sent: Monday, April 12, 2004 8:19 PM
> To: startux.org webmaster
> Cc: [email protected]
> Subject: Re: [sqwebmail] Problems compiling sqwebmail
> 
> On Mon, Apr 12, 2004 at 06:59:49PM +0100, startux.org webmaster wrote:
> > Compiling atotimet.c
> > In file included from /usr/include/bits/string2.h:1211,
> >                 from /usr/include/string.h:375,
> >                 from atotimet.c:10:
> > /usr/include/stdlib.h:762: error: parse error before "div"
> > /usr/include/stdlib.h:764: error: parse error before "ldiv"
> > /usr/include/stdlib.h:833: error: parse error before '*' token
> > /usr/include/stdlib.h:837: error: parse error before "wchar_t"
> > /usr/include/stdlib.h:841: error: parse error before '*' token
> > /usr/include/stdlib.h:845: error: parse error before '*' token
> > make[2]: *** [atotimet.o] Error 1
> 
> You have broken C header files if <string.h> won't compile.
> 
> Try this:
> 
> cat <<EOF >broken.c
> #include <string.h>
> int main(void) { return 0; }
> EOF
> gcc -Wall -o broken broken.c
> 
> Does that work or does it give an error? If an error, your 
> compiler is broken. You can send the above 5 lines to the 
> maintainers of the gcc package you are using.
> 
> But first check that you haven't done a partial upgrade of gcc (e.g.
> upgraded the binaries but not the headers). If I were you I'd 
> install a fresh copy of SuSE on another machine and try it again.
> 
> Brian.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.