[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: Error in compiling kdebase 1.1.1pre (symbol multiply defined)
From:       "Andrew Wansink" <awansink () ke ! com ! au>
Date:       1999-05-02 23:48:36
[Download RAW message or body]

Either you have defined displayName(void) in multiple locations or 
you have included its header more than once.  The remedy for the 
second situation is to wrap the header as follows

#ifndef HEADER_H
#define HEADER_H

// the header goes in here

#endif

andy

<SHAMELESS PLUG> check out rasca mp3 player 
http://www.penultima.org/~rasca/ </SHAMELESS PLUG>


> Package: kdebase
> Version: 1.1.1pre
> System: OSF1 4.0 on DEC-Alpha
> 
> 
> Hello 
> 
> After  having found and fixed some minor errors in kdesupport and kdelib II'm now
> caught in this situation ( 'make' in kdebase) 
> 
> make[3]: Entering directory `/usr/local/opt/kde-1.1.1pre/kdebase-1.1.1pre1/kfm'
> /bin/sh ../libtool --silent --mode=link g++  -O2 -Wall -L/usr/local/opt/kde-1.1.1pre/lib 
> -L/usr/local/opt/qt-1.42/lib  -L/usr/local/X11R6/lib  -o kfm  kfmgui.o kfmview.o kbind.o 
> main.o kfmdlg.o bookmark.o kfmprops.o kfmserver_ipc.o kfmserver_ipc2.o kfmserver.o 
> kioserver.o kioserver_ipc.o kioserver_ipc2.o kfmipc.o root.o kfmman.o kiojob.o htmlcache.o 
> autostart.o kfmtree.o krenamewin.o passworddialog.o kURLcompletion.o debug.o kfmw.o 
> kfmpaths.o kfmjob.o kfmexec.o kmimemagic.o kfinder.o utils.o open-with.o finddlg.o 
> kcookiejar.o kcookiewin.o popup.o kintlist.o -lkhtmlw -lkimgio -ljpeg   -lqt -lX11 -ldnet_stub 
> -lm -ljscript -lkfile -lkfm -lkdecore -lXext -lqt -lX11 -ldnet_stub -lkdeui -lkdecore -lXext 
> -lqt -lX11 -ldnet_stub
> collect2: ld returned 1 exit status
> /usr/bin/ld:
> /usr/local/opt/kde-1.1.1pre/lib/libkfm.a(kfm.o): displayName(void): multiply defined
> make[3]: *** [kfm] Error 1
> make[3]: Leaving directory `/usr/local/opt/kde-1.1.1pre/kdebase-1.1.1pre1/kfm'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/opt/kde-1.1.1pre/kdebase-1.1.1pre1/kfm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/opt/kde-1.1.1pre/kdebase-1.1.1pre1'
> make: *** [all-recursive-am] Error 2  
> 
> Does anybody know how to come around this error?
> 
> Greetings
> 
> A.Koenig
> -- 
> Send posts to:  kde@lists.netcentral.net
>  Send all commands to:  kde-request@lists.netcentral.net
>   Put your command in the SUBJECT of the message:
>    "subscribe", "unsubscribe", "set digest on", or "set digest off"
> PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
> **********************************************************************
> This list is from your pals at NetCentral <http://www.netcentral.net/>
> 


-- 
Send posts to:  kde@lists.netcentral.net
 Send all commands to:  kde-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"
PLEASE READ THE ARCHIVED MESSAGES AT http://lists.kde.org/ BEFORE POSTING
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.net/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic