From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6767e9ecef213072 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-27 02:02:01 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mailgate.cerillion.co.uk!not-for-mail From: "Paul Stanier" Newsgroups: comp.unix.tru64 Subject: Re: gcc on Freeware CD, compile error Date: Sat, 27 Oct 2001 09:58:01 +0100 Message-ID: <1004173262.1311.0.nnrp-13.c3adc012@news.demon.co.uk> References: <9rejlj$inu$1@net44p.hkbu.edu.hk> NNTP-Posting-Host: mailgate.cerillion.co.uk X-NNTP-Posting-Host: mailgate.cerillion.co.uk:195.173.192.18 X-Trace: news.demon.co.uk 1004173262 nnrp-13:1311 NO-IDENT mailgate.cerillion.co.uk:195.173.192.18 X-Complaints-To: abuse@demon.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:5553 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" 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