[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spread-users
Subject:    Re: [Spread-users] Serious compiling problem on Solaris 10x86
From:       "Luc I. Suryo" <luc.suryo () cabelas ! com>
Date:       2006-05-31 16:21:03
Message-ID: 20060531162103.GC24240 () gizmo ! cabelas ! com
[Download RAW message or body]


joker,

I you could share the changes? so it could maybe added to cvs??

> 
> 
> > 
> > > > I'm trying to build the source, but there are
> > errors:
> > > > 
> > > > # cd spread-src-3.17.3
> > > > # ./configure
> > > > creating cache ./config.cache
> > > > checking host system type... i386-pc-solaris2.10
> > > > checking for gcc... no
> > > > checking for cc... cc
> > > > checking whether the C compiler (cc  ) works...
> > yes
> > > > checking whether we are using GNU C... no
> > > > 
> > > > # make
> > > 
> > > > cc -g -I. -I.   -DHAVE_CONFIG_H -c memory.c
> > > > "memory.c", line 136: reference to static
> > identifier
> > > > "Mem_Bytes_Allocated" in extern inline function
> > > > "memory.c", line 140: reference to static
> > identifier
> > > > "Mem_Obj_Inuse" in extern inline function
> > > 
> > > I don't know what the official list of supported
> > compilers is, but you'll
> > > almost certainly have better luck using GCC. 
> > Either that, or figure out if
> > > there are some options to Sun's cc to make it
> > behave more like gcc (and add
> > > them to $CFLAGS).
> > > 
> > 
> > there is 2 thing you could do
> > 	1. use gcc that come with Sol-10 (/usr/sfw/bin/gcc)
> > 	or
> > 	2. hack the code and remove inline's
> > 
> > I do realize that option #2 is a bit nasty but some
> > of the 'gcc' based
> > coding break when you using strick posix.. btw i
> > used Sun's Studio 11
> > 
> > nb: if you compile with gcc do a 'ldd' to the binary
> > to see what
> > libraries it depends.. sometime it will need gcc
> > libgcc_s and/or
> > libstd++ in case you planning to copy/install the
> > binaries on a other
> > system and therefore you need to be sure you have
> > the these libraries
> > installed as well..
> > 
> > 
> > hope this might help a bit..
> > 
> > -ls
> > 
> 
> I've hacked around a bit and made some changes to the
> Makefile, now it works under Sol10x86 with cc. The
> problem is in the configuration step, wrong flags and
> definitions.

-ls

_______________________________________________
Spread-users mailing list
Spread-users@lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic