From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a81af8220f3c3a3 X-Google-Attributes: gidfee84,public From: Craig Neth USG Subject: Re: Problem with GCC on Alpha Station under Digital Unix v3.2c Date: 1997/02/24 Message-ID: <3311B8B6.41C6@zk3.dec.com>#1/1 X-Deja-AN: 221189492 References: <01bc2129$a4fdbf40$5e46ce86@lb207.ec-lille.fr> To: Michel-Ange CAMHI Content-Type: text/plain; charset=us-ascii Organization: Digital UNIX Development Environment Group Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 X-Mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) Michel-Ange CAMHI wrote: > > When compiling with gcc 2.7.2 and Digital's built make and ld, compilation > itself goes ok, but every attempt to link ALWAYS (whatever i try to make) > ends up like this: (here, attempt to compilate GNU make-3.75) > > --- > gcc commands.o job.o dir.o file.o misc.o main.o read.o remake.o rule.o > implicit.o default.o variable.o expand.o function.o vpath.o version.o ar.o > rscan.o signame.o remote-stub.o getopt.o getopt1.o glob/libglob.a > getloadavg.o -L/usr/local/lib -o make.new > collect2: ld returned 1 exit status > /lib/libc.a(find_rtfunc.o)(.lita+0x40): undefined reference to > `_DYNAMIC_LINK' > /lib/libc.a(find_rtfunc.o)(.lita+0x58): undefined reference to `_gpinfo' > /lib/libc.a(find_rtfunc.o)(.lita+0x68): undefined reference to > `_fpdata_size' > *** Exit 1 > Stop. > --- [...] Those messages are not messages output by the Digital 'ld'. Those symbols are defined by the linker on Digital UNIX systems - I suspect you're not using Digital's ld but instead are trying to use gld. -- -------------------------------------------------------------------------------- Craig Neth ! neth@zk3.dec.com DIGITAL Equipment Corporation ! 110 Spit Brook Road ZKO3-3/W17 ! Nashua, NH 03062 ! Opinions expressed herein are my own. ================================================================================