From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1734 invoked from network); 12 Mar 2000 05:49:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Mar 2000 05:49:47 -0000 Received: from web107.yahoomail.com (web107.yahoomail.com [205.180.60.74]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id AAA23022 for ; Sun, 12 Mar 2000 00:49:47 -0500 Received: (qmail 26109 invoked by uid 60001); 12 Mar 2000 05:49:46 -0000 Message-ID: <20000312054946.26108.qmail@web107.yahoomail.com> Received: from [24.16.105.40] by web107.yahoomail.com; Sat, 11 Mar 2000 21:49:46 PST Date: Sat, 11 Mar 2000 21:49:46 -0800 (PST) From: Designer Seven Subject: Re: Compiling with ccc and gcc snapshot installed. config errors (fwd) To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Peter, Long time dude!... well, I don't know if you recall my past emails about CCC and XFree86... I could never get XFree86 to compile. And I'm pretty sure my CCC/egcs/gcc installation works... to some degree.. at least I've been able to compile quite a bit of stuff with CCC.... about 30 packages so far. (XFree86 and WindowMaker are the two packages I would really like to compile w/ CCC... but have never succeeded.) D. --- Peter Petrakis wrote: > > I just found out the hard way that ccc depends alot > upon your exsiting > installation of egcs. I have a gcc cvs grab install > to /usr/local/. ccc > has dependances and symlinks to where egcs used to > be. I fixed all of them > , correctly I don't know. It sure wont compile > anything. It bails on > Xfree 4.0 > > ccc -o ccimake -O -I../../include > -I../../imports/x11/include/X11 > ccimake.c > cc: Info: ccimake.c, line 40: In this statement, for > the function "exit", > the implicit return type of "int" is not consistent > with the expected type > of "void". It will be treated as an ordinary > implicitly defined external > function. (bltinimplret) > exit(0); > --------^ > ccc -c -O -I../../include > -I../../imports/x11/include/X11 `./ccimake` > imake.c > ccc -o imake -O -I../../include > -I../../imports/x11/include/X11 imake.o > make[2]: Leaving directory > `/usr/src/xc/config/imake' > rm -f ./config/makedepend/Makefile.proto > ./config/imake/imake -I./config/cf -s > ./config/makedepend/Makefile.proto > -f ./config/makedepend/Imakefile -DTOPDIR=../.. > -DCURDIR=./config/makedepend > cc: Error: > /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/2.96/include/stdarg.h, > line > 43: Missing ";". (nosemi) > typedef __builtin_va_list __gnuc_va_list; > cc: Error: /usr/include/libio.h, line 363: > Ill-formed parameter type list. > (parmtyplist) > extern int _IO_vfscanf __P ((_IO_FILE * __restrict, > const char * > __restrict, > nosemi) > typedef __builtin_va_list __gnuc_va_list; > --------------------------^ > cc: Error: /usr/include/libio.h, line 363: > Ill-formed parameter type list. > (parmtyplist) > extern int _IO_vfscanf __P ((_IO_FILE * __restrict, > const char * > __restrict, > -----------------------^ > cc: Error: /usr/include/libio.h, line 365: > Ill-formed parameter type list. > (parmtyplist) > extern int _IO_vfprintf __P ((_IO_FILE *__restrict, > const char > *__restrict, > ------------------------^ > cc: Error: /usr/include/stdio.h, line 256: > Ill-formed parameter type list. > (parmtyplist) > extern int vfprintf __P ((FILE *__restrict __s, > --------------------^ > cc: Error: /usr/include/stdio.h, line 260: > Ill-formed parameter type list. > (parmtyplist) > extern int vprintf __P ((__const char *__restrict > __format, > -------------------^ > cc: Error: /usr/include/stdio.h, line 263: > Ill-formed parameter type list. > (parmtyplist) > extern int vsprintf __P ((char *__restrict __s, > --------------------^ > cc: Error: /usr/include/stdio.h, line 273: > Ill-formed parameter type list. > (parmtyplist) > extern int __vsnprintf __P ((char *__restrict __s, > size_t __maxlen, > -----------------------^ > cc: Error: /usr/include/stdio.h, line 277: > Ill-formed parameter type list. > (parmtyplist) > extern int vsnprintf __P ((char *__restrict __s, > size_t __maxlen, > ---------------------^ > make[1]: *** [config/makedepend/Makefile.proto] > Aborted (core dumped) > make[1]: *** Deleting file > `config/makedepend/Makefile.proto' > make[1]: Leaving directory `/usr/src/xc' > make: *** [World] Error 2 > > Here's how I tweaked ccc. > First my compiler version, > Reading specs from > /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/2.96/specs > gcc version 2.96 20000221 (experimental) > > now for ccc > /usr/lib/compaq/ccc-6.2.9.002-2/alpha-linux/bin/ > > -rw-r--r-- 1 root root 160 Dec 13 > 14:28 > __DECC_include_epilogue.h > -rw-r--r-- 1 root root 370 Dec 13 > 14:28 > __DECC_include_prologue.h > lrwxrwxrwx 1 root root 11 Mar 11 > 15:18 as -> /usr/bin/as > lrwxrwxrwx 1 root root 12 Mar 11 > 15:18 ccc -> lnxcc_driver > -rw-r--r-- 1 root root 360 Mar 11 > 15:34 comp.config > -rw-r--r-- 1 root root 342 Mar 11 > 15:30 comp.config.mine > -rw-r--r-- 1 root root 422 Mar 11 > 15:17 comp.config.rpmsave > -rw-r--r-- 1 root root 342 Dec 13 > 14:28 comp.config~ > lrwxrwxrwx 1 root root 55 Mar 11 > 15:29 cpp -> > /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/2.96/cpp > -rwxr-xr-x 1 root root 8022 Dec 13 > 14:27 > create-comp-config.sh > lrwxrwxrwx 1 root root 15 Mar 11 > 15:18 crt1.o -> > /usr/lib/crt1.o > lrwxrwxrwx 1 root root 19 Mar 11 > 15:18 crtbegin.o -> > /usr/lib/crtbegin.o > lrwxrwxrwx 1 root root 17 Mar 11 > 15:18 crtend.o -> > /usr/lib/crtend.o > lrwxrwxrwx 1 root root 15 Mar 11 > 15:18 crti.o -> > /usr/lib/crti.o > lrwxrwxrwx 1 root root 15 Mar 11 > 15:18 crtn.o -> > /usr/lib/crtn.o > lrwxrwxrwx 1 root root 16 Mar 11 > 15:18 gcrt1.o -> > /usr/lib/gcrt1.o > lrwxrwxrwx 1 root root 11 Mar 11 > 15:24 ld -> /usr/bin/ld > lrwxrwxrwx 1 root root 51 Jan 30 > 22:12 ld.bak -> > /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.90.29/ld > -rwxr-xr-x 1 root root 34755146 Dec 13 > 14:27 lnxcc > -rwxr-xr-x 1 root root 1570531 Dec 13 > 14:28 lnxcc_driver > -rwxr-xr-x 1 root root 9502 Dec 13 > 14:27 > protect_headers_setup.sh > > I tried to find an ld that pointed to the same place > as my stock egcs. I > could not find it. I also edited the comp.config > file. > > | -SysIncDir > /usr/lib/compaq/ccc-6.2/alpha-linux/include > -SysIncDir > /usr/local/include -SysIncDir > /usr/local/alpha-redhat-linux/include > -SysIncDir > /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/2.96/include > -L/usr/lib/compaq/ccc-6.2/alpha-linux/lib > -L/usr/local/lib > -L/usr/alpha-unknown-linux-gnu/lib > -L/usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/2.96 > > did I miss something or is this just unsupported by > ccc? > Thanks. > > Peter > -- > www.alphalinux.org > Peter Petrakis Warrior/Engineer > ppetrakis@alphalinux.org > "Oh my God! They killed Xena! You bastards!!" > " Who the hell are you!? Name's Ash clock> Housewares..." > > > -- > To unsubscribe: send e-mail to > axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to > axp-list@redhat.com > > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com