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?

Two other notes, blastwave has more recent gcc versions
and Sun now makes their compilers and IDE available for
free for Sol10 users.  "I think" it is called Studio 11.
It is more likely to be optimized for AMD64 as that is
the processor in many of Sun's new x86 boxes.


-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to