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

Re: ns 2.1b2 for Solaris - build fails



Lloyd Wood wrote:
> 
> On Thu, 29 Jan 1998, Haobo Yu wrote:
> 
> >Lloyd Wood wrote:
> >
> > > We're having major problems with the configure stage. Compiling either
> > > statically or dynamically, release sans debugging options,
> > > ns-2.1b2/configure reports:
> > >
> > >   checking for main in -ldl... (cached) no
> > >   no dynamic load lib
> >
> > I got this problem before with sunos4.1.4. In my system, there was only
> > /usr/lib/libdl.so, but not libdl.a. Therefore when configuring with
> > -static, it'll fail. My ad hoc solution was, editing the Makefile
> > generated by configure, add "-Xlinker -Bdynamic" before "-ldl". That
> > worked for me.
> 
> Thanks for the suggestion, haobo. Solaris (or, at least, every
> implementation of 5.4 and 5.5.1 I have access to) does not have a
> libdl.a file either; unfortunately your suggestion doesn't work for me
> (producing a 'conflicts with -dn' grumble.)

hi,
I resolve this problem by deleting the line :
STATIC	= -static
in Makefile.

I hope that's ok for you

Arnaud.


-- 
----------------------------------------------------------------------
Arnaud Legout

Institut Eurecom               	Phone : 00.33.4.93.00.26.61
2229, route des Cretes         	Fax   : 00.33.4.93.00.26.27
BP 193                         	E-mail: [email protected]
06904 Sophia Antipolis cedex    Web   : http://www.eurecom.fr/~legout    
FRANCE                    
----------------------------------------------------------------------