From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,a36b49f532054f67 X-Google-Attributes: gidfee84,public From: Aleksandar Milivojevic Subject: Re: gcc 2.7.2.2 on DU 4.0 Date: 1997/02/26 Message-ID: #1/1 X-Deja-AN: 221585576 Distribution: world Sender: alex@bjesomar.srce.hr References: <33144F5F.7566@ursa.ess.harris.com> g"y?n@Z7Z))\eR6cfis*onX4OL_hkc9Dut>?({p8.#@5Ci&bK(X7=haC`!YQ=sqIC$U?JOk_-7: Rs{ X-Face: *kq/QhAP%!E|K_[kn%b8(4DeLb/J:l;`0!r%cI,)HEDHm4)#<`?.fyPQ+/yYFd*NghB[%8M Organization: SRCE X-Url: http://jagor.srce.hr/~alex/ Newsgroups: comp.unix.osf.osf1 Alfonso E. Urdaneta (aurdanet@ursa.ess.harris.com) wrote: > > Am in the process of installing gcc-2.7.2.2 on 4.0. While making the > stage 2 compiler [snip] I think that fix for this was posted here (or was it gnu.gcc.bug?) some time ago. Anyway, you need to edit file cp/errfn.c and replace line 198: extern errorfn sprintf; with: extern int sprintf __((char *, const char *, ...)); I have no idea why gnu people redeclared sprintf in cp/errfn.c, but it seems that everything works ok if their declaration is replaced with declaration of sprintf from /usr/include/stdio.h. -- Aleksandar Milivojevi� http://jagor.srce.hr/~alex/ e-mail: alex@srce.hr ================================ooooO=Ooooo============================== Real Users never know what they want, but they always know when your program doesn't deliver it.