From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b1ad78ca8818360f,start X-Google-Attributes: gid111c93,public From: h0l0gRaM Subject: ccc linking errors Date: 2000/05/27 Message-ID: <392F0645.D45F4750@saunalahti.fi>#1/1 X-Deja-AN: 627782031 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@saunalahti.fi X-Trace: tron.sci.fi 959383517 20826 195.197.137.243 (26 May 2000 23:25:17 GMT) Organization: SAUNALAHDEN asiakas Mime-Version: 1.0 NNTP-Posting-Date: 26 May 2000 23:25:17 GMT Newsgroups: comp.os.linux.alpha 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"