Re: gcc/gnat 3.3

From: Adrian Hoe (adrianhoe_at_nowhere.com)
Date: 11/06/03


Date: Thu, 06 Nov 2003 13:06:25 +0800

Andreas Almroth wrote:

>
> I only say: Use GNU make.
> The Makefiles are in some cases using gmake only contructs. I believe it
> is also mentioned in the build documentation...
>
> Godd luck building it! Should not be hard now, as the configure script
> found ada.
>

Argh! I mixed up both "make" and "gmake". I was so used to "make".

Now it began to compile but not for long. I encountered the following
problems:

rm -rf libbackend.a
ar rc libbackend.a alias.o bb-reorder.o bitmap.o builtins.o
caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o
cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o
cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o
dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o
expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o
ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o
hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o
insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o
langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o
params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o
ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o
regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o
rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o
sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o
ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o
tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o
version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o sparc.o
ranlib libbackend.a
/opt/sfw/bin/gnat/gcc -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-DHAVE_CONFIG_H -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a
main.o libbackend.a ./intl/libintl.a ../libiberty/libiberty.a
Undefined
                first referenced
  symbol in file
fibheap_delete_node libbackend.a(tracer.o)
physmem_total libbackend.a(ggc-common.o)
fibheap_empty libbackend.a(tracer.o)
htab_hash_string libbackend.a(dwarf2out.o)
fibheap_insert libbackend.a(tracer.o)
fibheap_new libbackend.a(tracer.o)
htab_create_alloc libbackend.a(cselib.o)
lbasename libcpp.a(cppfiles.o)
fibheap_delete libbackend.a(tracer.o)
fibheap_extract_min libbackend.a(tracer.o)
reconcat c-aux-info.o
ld: fatal: Symbol referencing errors. No output written to cc1
gmake[1]: *** [cc1] Error 1
gmake[1]: Leaving directory `/home/byhoe/download/gcc-3.3.2/gcc-3.3.2/obj'
gmake: *** [stage1_build] Error 2

Do you have any idea how to solve this? I see that I am close but not so close yet. :(

Thanks. :)

-- 
Adrian Hoe
m a i l b o x AT a d r i a n h o e . c o m


Relevant Pages

  • Re: .mod generation question
    ... This may be a feature specific to Gnu make, ... Maybe a good preliminary question is: are most modern Fortran developers ... gmake and boy are the new Makefiles ugly contortions of logic. ...
    (comp.lang.fortran)
  • Re: BSD make vs. GNU make
    ... Because people write more complex makefiles using syntax which is specific to either BSD or GNU make. ... "Features of GNU `make' ... *Note Automatic Variables: Automatic. ...
    (freebsd-questions)
  • Re: make picks wrong target: why?
    ... associated with that version of GNU make? ... ff> dependencies no matter which target I ask for. ... ff> to prevent a random object file from becoming the default target. ... the makefilelisted on the command line AND ANY MAKEFILES INCLUDED ...
    (comp.unix.programmer)
  • gmake dumps core in Solaris 10 (x86 and sparc)
    ... % which gmake ... Configuring GNU shtool, ... GNU gdb 6.3 ... Loaded symbols for /lib/libkstat.so.1 ...
    (comp.unix.solaris)
  • Makefile question relating to conditional
    ... main.c $(DEBUGOBJ) -o main ... It is to be run by GNU gmake, and it does seem to run okay. ... Apparently 'uname' above returns the output of the uname command. ...
    (comp.programming)