On Sun, May 14, 2006 at 10:31:05AM -0400, Jon LaBadie wrote:
> On Sun, May 14, 2006 at 09:06:10AM -0400, stan wrote:
> > I tried to build on Soalris 10 AMD64 today, and it failed like this:
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
> > -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
> > -MT alloc.lo -MD -MP
> > -MF .deps/alloc.Tpo -c alloc.c -fPIC -DPIC -o .libs/alloc.o
> > In file included from /usr/include/wait.h:14,
> > from amanda.h:182,
> > from alloc.c:33:
> > /usr/include/sys/siginfo.h:259: error: parse error before
> > "ctid_t"
> > /usr/include/sys/siginfo.h:292: error: parse error before
> > '}' token
> >
> > This was with gcc version 3.3.2 from SunFreeware
> >
> > What can I do to fix this?
> >
>
> Shot in the dark. Most gcc installs on Solaris also require
> running a "fix the system headers to work with gcc" program.
> I think it is typically called "fixinclude" or something
> similar. Was this in the gcc distribution and was it run?
>
Here's a bit more data. The problem is precisly reproducable
on Solaris 10 SPARC (same version of GCC from the same source).
--
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong
Terror
- New York Times 9/3/1967
|