Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Paul Stanier" <paul.stanier@cerillion.com>
Subject: Re: gcc on Freeware CD, compile error
Date: Sat, 27 Oct 2001 09:58:01 +0100	[thread overview]
Message-ID: <1004173262.1311.0.nnrp-13.c3adc012@news.demon.co.uk> (raw)
In-Reply-To: 9rejlj$inu$1@net44p.hkbu.edu.hk

The snprintf library routine is not supplied with Tru64 4.x

It is supplied in Tru64 5.x. in '/usr/lib/libc.a'

Its a relatively new addition to standard C libraries.

However if you add '-ldb' to the link options it should find a version of
the routine in the '/usr/lib/libdb.a'  library supplied with 4.x

This is certainly the situation on the standard Compaq C compilers, I havent
tried it in gcc.

"PM WONG" <s11976@net2.hkbu.edu.hk> wrote in message
news:9rejlj$inu$1@net44p.hkbu.edu.hk...
> I've inserted the Freeware software CD on my alphaserver
> running 4.0E
> The gcc that's on the CD have successfully compiled and
> made many of my programs.
> But lately on one called amavis, the following error cropped
> up during the make:
>
> gcc  -g -O2   -o amavis  amavis.o
> /usr/bin/ld:
> Unresolved:
> snprintf
> collect2: ld returned 1 exit status
>
> Does anyone know what caused this error
> Anything to tweak about so that this gcc can be used
> to make my compilation work.
>
> BTW if this CD's gcc is really not meeting my requirement
> (is it too outdated ?) where can i can the latest gcc
> to install to work on 4.0E




      reply	other threads:[~2001-10-27  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-27 15:25 gcc on Freeware CD, compile error PM WONG
2001-10-27  8:58 ` Paul Stanier [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox