From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: error logs RE: compiling X with ccc
Date: Mon, 11 Mar 2002 20:50:43 -0500 [thread overview]
Message-ID: <3C8D5EF3.31118EF9@voicenet.com> (raw)
In-Reply-To: ODEEIIAMNNHHFAMGOBAPEEOLCAAA.voodoo@alphadriven.org
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.
>
next prev parent reply other threads:[~2002-03-12 1:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-11 19:43 compiling X with ccc Peter Petrakis
2002-03-11 22:24 ` error logs " Peter Petrakis
2002-03-11 23:30 ` Uncle George
2002-03-12 0:24 ` Peter Petrakis
2002-03-12 1:25 ` Uncle George
2002-03-12 1:36 ` Peter Petrakis
2002-03-12 2:42 ` Uncle George
2002-03-12 1:30 ` W Bauske
2002-03-12 1:50 ` Uncle George [this message]
2002-03-12 1:56 ` Uncle George
2002-03-12 0:23 ` W Bauske
2002-03-12 0:49 ` Michal Jaegermann
2002-03-12 1:33 ` yeah baby :-) " Peter Petrakis
2002-03-12 2:06 ` Uncle George
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