Please Help - Compilation Failed on Solaris 8

David Shaw dshaw@jabberwocky.com
Wed Jan 15 21:21:02 2003


On Tue, Jan 14, 2003 at 05:11:20PM +0100, Owen.Singleton@ubsw.com wrote:
> Hello,
> 
> I'm attempting to compile gnupg 1.2.1 on Solaris 8 but am getting an error.  The details are below.  Any help would be greatly appreciated.
> 
> Best Regards,
> 
> Owen Singleton
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../intl    -g -O2 -Wall -c `test -f 'misc.c' || echo './'`misc.c
> In file included from misc.c:35:
> /usr/include/sys/resource.h:193: warning: `struct rlimit64' declared inside parameter list
> /usr/include/sys/resource.h:193: warning: its scope is only this definition or declaration,
> /usr/include/sys/resource.h:193: warning: which is probably not what you want.
> /usr/include/sys/resource.h:194: warning: `struct rlimit64' declared inside parameter list

This is a known problem with Solaris (search for the error message
with google and you'll see it happens with many different programs).

Is _LARGEFILE_SOURCE defined in your config.h file ?

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson