Skip to main content.
home | support | download

Back to List Archive

Re: Conpilation on Compaq Tru64 UNIX

From: Giuseppe <Giuseppe.Cabras(at)not-real.fisica.uniud.it>
Date: Tue Feb 06 2001 - 12:02:23 GMT
Thanks Fred Zewi:
> snprintf() is indeed not yet in the DU 4.0 libc.  There is one in libdb
>        which can be linked in, and it is likely to be supported in future
>        releases (4.2).  

I have modified in swish-e-2.0.4/src/Makefile:
LIBS= -ldb -lm 

and now gmake correctly in OSF1 also.

Cheers,
                              Giuseppe
Giuseppe wrote:
> 
>  Thank you Dave,
> Dave Stevens wrote:
> >
> > I personally haven't tried it on Tru64 (nee DEC) Unix, but I have
> > sucessfully on Solaris 2.6, 7 and 8 and FreeBSD, in addition to Linux.  The
> > thing that has helped me, is to use the original GNU gcc and GNU make,
> > (http://www.gnu.org)
> 
> I have used GNU gcc and gmake
> 
> > I've found that software developed with Linux or the GNU tools, require
> > libs that some other distributions might not include.  Don't know that it's
> > the case here, but it's something to try.
> 
> I agree: libs to specify maybe the problem... but which one?
> 
> >
> > Dave
> >
> > >Hi *,
> > >I tried to gmake swish-e 2.0.4 on a OSF1 unix but I get the following
> > >error:
> > >
> > >
> > >>gmake
> > >/usr/local/bin/gcc -o swish-e -g -O2 check.o file.o index.o search.o
> > >error.o methods.o hash.o list.o mem.o string.o merge.o swish.o
> > >stemmer.o soundex.o docprop.o fs.o http.o httpserver.o  -lm
> > >/usr/bin/ld:
> > >Unresolved:
> > >snprintf
> > >vsnprintf
> > >collect2: ld returned 1 exit status
> > >gmake: *** [swish-e] Error 1
> > >
> > >What can I do to make swish-e correctly?
> > >
> > >Cheers,
> > >                                         Giuseppe
> > >
> > >Phone: +39-043255-8212  University of Udine - Department of Physics
> > >Fax:   +39-043255-8222     via delle Scienze, 208 - 33100 UDINE
> > >                          URL:http://www.fisica.uniud.it/~cabras


-- 
                                         Giuseppe

Phone: +39-043255-8212  University of Udine - Department of Physics
Fax:   +39-043255-8222     via delle Scienze, 208 - 33100 UDINE
                          URL:http://www.fisica.uniud.it/~cabras
Received on Tue Feb 6 12:06:24 2001