From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 491F63F64F for ; Mon, 11 Mar 2002 20:53:40 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2C1rdF28162 for ; Mon, 11 Mar 2002 20:53:39 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2C1rdw24051 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 20:53:39 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2C1rcR24043 for ; Mon, 11 Mar 2002 20:53:38 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2C1rcF28158 for ; Mon, 11 Mar 2002 20:53:38 -0500 Received: from MyLaptop.GatWorks.com (pool-141-155-117-126.ny5030.east.verizon.net [141.155.117.126]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2C1qFc02106 for ; Mon, 11 Mar 2002 20:52:15 -0500 Received: from voicenet.com (localhost.localdomain [127.0.0.1]) by MyLaptop.GatWorks.com (8.11.2/8.11.2) with ESMTP id g2C1ojU06501 for ; Mon, 11 Mar 2002 20:50:48 -0500 Message-ID: <3C8D5EF3.31118EF9@voicenet.com> Date: Mon, 11 Mar 2002 20:50:43 -0500 From: Uncle George Organization: GatWorks.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: error logs RE: compiling X with ccc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: the gcc compiler has these gcc/glibc defines "> > to the various ccc phases. In particular the /bin/ld switches that ccc > > may/maynot know about. an then the possible solution would be to add > > -lmalloc to this build > > There doesnt seem to be a -lmalloc on this system, Thats what ld claims. I > thought that functionality as in -lc? > > voodoo@asterix:~/Xfree/build/config/imake > ccc -o > imake -O0 -g -mcpu=ev6 -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmis > sing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g > imake.o -Wl,-rpath-link,../../exports/lib -lmalloc -lc > /usr/bin/ld: cannot find -lmalloc > collect2: ld returned 1 exit status > > Checkout what 'else' unresolved. > > voodoo@asterix:~/Xfree/build/config/imake > nm imake.o > 0000000000000688 T AddCppArg > 00000000000005e8 T AddMakeArg > 0000000000000e38 T CheckImakefileC > 00000000000021d0 T CleanCppInput > 000000000000273c T CleanCppOutput > 0000000000002e60 T Emalloc > 0000000000000b28 T FindImakefile > 0000000000000008 B Imakefile > 00000000000014f0 D ImakefileC > 0000000000000c24 T LogFatal > 0000000000000bf4 T LogFatalI > 0000000000000ca8 T LogMsg > 00000000000014e0 D Makefile > 0000000000002b0c T ReadLine > 0000000000000728 T SetOpts > 0000000000002eb4 T Strdup > 00000000000014e8 D Template > U __ctype_b > U __errno_location > U abort > U access > U alloca > 00000000000003c8 T catch > 0000000000000018 B cleanedImakefile > U close > 0000000000000000 B cpp > 0000000000000008 C cpp_argindex > 0000000000000c08 D cpp_argv > 0000000000001f9c T cppit > 0000000000001dbc T define_os_defaults > 0000000000000ff8 T doit > U dup2 > U execvp > U exit > U fclose > U fdopen > U fflush > U fgetc > U fgets > U fileno > U fopen > U fork > U fprintf > U fread > U fscanf > U fseek > U fstat > U ftruncate > U fwrite > U getenv > 0000000000000010 B haveImakefileC > 000000000000040c T init > 0000000000002810 T isempty > 00000000000015a8 D libc_c > U lstat > 0000000000000000 T main > 0000000000000008 C make_argindex > 0000000000000d98 D make_argv > 000000000000219c T makeit > U malloc > U mkstemp > 0000000000000f34 T optional_include > U pclose > U perror > U popen > 0000000000000008 C program > U remove > 00000000000014f8 D show > 0000000000000dbc T showargs > 0000000000000264 T showit > U signal > U snprintf > U sprintf > U sscanf > U stderr > U stdout > U strcat > U strcmp > U strcpy > U strerror > U strlen > U strncmp > U strstr > 00000000000014d0 D tmpImakefile > 00000000000014c8 D tmpMakefile > U uname > U ungetc > U unlink > 0000000000000020 B verbose > U wait > 0000000000000318 T wrapup > 0000000000002dfc T writetmpfile > > Peter > > > Peter Petrakis wrote: > > > > > > It fails compiling imake of all things . I suppose the default > > CC settings > > > > > rm -f imake > > > ccc -o > > > imake -O0 -g -mcpu=ev6 -ansi -Wall -Wpointer-arith > > -Wstrict-prototypes -Wmis > > > sing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g > > > imake.o -Wl,-rpath-link,../../exports/lib > > > imake.o: In function `get_libc_version': > > > :1010: undefined reference to `alloca' > > > :1010: undefined reference to `alloca' > > > :1010: undefined reference to `alloca' > > > collect2: ld returned 1 exit status > > > > > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list Peter Petrakis wrote: > > > u'd probably get a better idea at why alloca is missing ( from the ccc > > libraries? maybe ) is there was a -v to list out all the options passed > > I don't know honestly. I'm not that familiar with ccc nevermind the linker. >