Re: compile ORBit 0.5.17 on Solaris 9.



Note that the actual symbol is __builtin_alloca() on Solaris 8. alloca()
is conditionally #defined to this in alloca.h. You may want to check the
#ifdef logic in alloca.h and the defines to make sure alloca() is being
defined correctly for you.

	-Huw

> Do a nm on the libraries in /lib to find which has alloca, then make
> sure that is on the link line. Something like (/bin/sh):
> 
> for i in /lib/*.so
> do echo ----- $i
> nm $i | fgrep alloca
> done
> 
> If you can't find it, it may have moved to /usr/ccs/lib or /usr/lib or
> /usr/ucblib or /usr/ucb/lib or ... under Solaris 9 - suggest checking
> these places. Also /usr/local/lib just in case.
> 
> Note an UNDEF line from nm indicates an undefined reference to alloca,
> not a definition of the symbol.
> 
> 	-Huw
> 
> > I'm having one hell'va time compiling ORBit 0.5.17 on Solaris 9. The
> > build process keeps complaining about not being able to link in alloca.
> > I've got flex installed as well as autoconf. The configure process
> > seems to find alloca.h with no problem.
> > 
> > So why won't it build..
> > 
> > Any advice is much appreciated.
> 
> -- 
> Huw Rogers <count0@localnet.com>

-- 
Huw Rogers <count0@localnet.com>




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