ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] redhat build problems?


From: Gergely Nagy
Subject: Re: [RP] redhat build problems?
Date: Sat Jun 7 13:51:01 2003
User-agent: Mutt/1.3.28i

> Here's the post from IRC:
> 
> <bobn> make fails on redhat linux 7.2:
> [05:52]<bobn> gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -O2  
> -I/usr/X11R6/include -c main.c
> [05:52]<bobn> main.c: In function `chld_handler':
> [05:52]<bobn> main.c:221: parse error before `*'
> [05:52]<bobn> ...
> [05:52]<bobn> make[1]: *** [main.o] Error 1
> [05:52]<bobn> make[1]: Leaving directory `/home/bobn/ratpoison-1.2.1/src'
> [05:52]<bobn> make: *** [all-recursive] Error 1
> [05:52]<bobn> this is for latest: 1.2.1
> [05:57]
> Can someone with a redhat machine try 1.2.1?

As a blind bet, how about using "struct rp_child_info *foo" instead of
"rp_child_info *foo" ? Or a typedef? Probably won't fix it, but still...

By the way, adding a -E to the commandline, and sharing the output might
help - so one can see what the preprocessor made of the sources. The
version of gcc would also help. I couldn't reproduce the problem on
Debian sid neither with gcc 3.x, nor 2.95.

Cheers,
-- 
Gergely Nagy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]