Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: ccc linking errors
Date: 2000/05/27	[thread overview]
Message-ID: <392F4E54.E1AEF971@kc.rr.com> (raw)
In-Reply-To: 392F0645.D45F4750@saunalahti.fi

Hey h0l0gRaM,

I got similar errors to this a while ago with beta versions of the
compiler but haven't seen any since I got the release tools.  Try
running just the link with gcc and see if it is a problem with the
.o files or the linker.  That's what I had to do when I had my
similar problem.

I'd say that there is something wrong with the linker.  alloca is
in the standard c library and can't be missing really..

Compaq has released updated versions of the binutils package, just
in case...  These are the current versions as of 2 days ago:

ccc-6.2.9.002-2.alpha.rpm
compaq_rh60_binutils-2.9.1.0.23-12.alpha.rpm
compaq_rh60_gdb-4.17.0.11-11.alpha.rpm
compaq_rh61_binutils-2.9.1.0.23-12.alpha.rpm
compaq_rh61_gdb-4.18-6.alpha.rpm
compaq_rh62_binutils-2.9.5.0.22-8.alpha.rpm
compaq_rh62_gdb-4.18-12.alpha.rpm
cpml_ev5-5.0.0-1.alpha.rpm
cxx-6.3.6.10-18.alpha.rpm
ladebug-4.0.61-11.alpha.rpm
libots-2.2.7-2.alpha.rpm

BTW, I have now installed a complete RH6.2 on my spare alpha and
will be rebuilding everything I can based on it.  Then I'll need
another spare box to install the things I build...

Later,

Tony


h0l0gRaM wrote:
> 
> Hi!
> 
> I'm compiling mc-4.5.42 ,midnight commander ,with ccc
> It almost gets done ,but when linking main executable it gives error :
> 
> ccc -o plain-gmc gmount.o main.o mad.o dlg.o screen.o widget.o wtools.o
> info.o boxes.o file.o find.o dialog.o key.o chmod.o chown.o view.o
> panelize.o hotlist.o background.o dir.o util.o win.o color.o profile.o
> user.o ext.o setup.o subshell.o terms.o achown.o fsusage.o mountlist.o
> regex.o complete.o command.o option.o cmd.o utilunix.o xslint.o
> gdialogs.o filenot.o fileopctx.o treestore.o gaction.o gcache.o
> gcliplabel.o gcmd.o gcustom-layout.o gdesktop-icon.o gdesktop-init.o
> gdesktop-prefs.o gdesktop.o gdnd.o ghelp.o gicon.o ginfo.o gkey.o
> glayout.o gmain.o gmc-chargrid.o gmenu.o gmetadata.o gpageprop.o
> gpopup2.o gprefs.o gprint.o gprop.o gnome-file-property-dialog.o
> gnome-open-dialog.o gscreen.o gsession.o gtools.o gtree.o gutil.o
> gview.o gtkdtree.o gtkflist.o gwidget.o -L../vfs -lvfs-mc -L../gtkedit
> -lgtkedit   -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui
> -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext
> -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl
> -L/usr/lib -lglib
> gmain.o: In function `iiop_byteswap':
> /usr/include/IIOP/iiop-endian.h:31: multiple definition of
> `iiop_byteswap'
> main.o:/usr/include/IIOP/iiop-endian.h:31: first defined here
> util.o: In function `get_current_wd':
> :834: the `getwd' function is dangerous and should not be used.
> gtkdtree.o: In function `gtk_dtree_do_select_dir':
> :316: undefined reference to `alloca'
> :316: undefined reference to `alloca'
> :316: undefined reference to `alloca'
> collect2: ld returned 1 exit status
> 
> ok ,there's lot of text.
> but look in end of that ,theres :316:undefined reference to 'alloca'
> what's that ?
> I didn't see any text in sources ,which references to 'alloca'
> what is alloca anyway ?
> 
> This problem repeats with many sources ,especially with gnome-???
> 
> Thanks to all who understand this and gives some clue/help
> 
> --
> It's getting uncommonly easy to kill people in large numbers, and the first
> thing a principle does -- if it really is a principle -- is to kill somebody.
>                 -- Dorothy L. Sayers, "Gaudy Night"



      parent reply	other threads:[~2000-05-27  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-27  4:00 ccc linking errors h0l0gRaM
2000-05-27  4:00 ` Michal Jaegermann
2000-05-28  4:00   ` Tony Hammitt
2000-05-29  4:00   ` Takeyasu Wakabayashi
2000-05-27  4:00 ` Tony Hammitt [this message]
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