swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installing 1.4.1 on SuSE Linux 6.1 (help re objc?)


From: Marcus G. Daniels
Subject: Re: installing 1.4.1 on SuSE Linux 6.1 (help re objc?)
Date: 21 Jun 1999 09:03:32 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3.10

>>>>> "MA" == maylward  <address@hidden> writes:

MA> -DList=TclObjcList -DTCL_LIBRARY=\"/usr/lib/tcl7.6\"
MA> -DTK_LIBRARY=\"/usr/X11R6/lib/tk4.2\" -g -O2 -Wall -Wno-import
MA> -Wno-protocol -Werror -I/usr/X11R6/include -Wno-implicit-int -c
MA> -fPIC -DPIC tclObjc.m In file included from tclObjc.m:87:
MA> 
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:381:
MA> `objc_malloc' redeclared as different kind of symbol
MA> objc-malloc.h:28: previous declaration of `objc_malloc'

Is HAVE_OBJC_MALLOC defined in the file `swarmconfig.h' in the
toplevel build directory?  Do you get this:

address@hidden/usr/lib/gcc-lib/i486-linux/egcs-2.91.66] $ nm libobjc.a | grep 
objc_malloc | grep -v ' U '
00000004 D _objc_malloc
000000d0 T objc_malloc

..both from your /usr and /usr/local gcc installs?

I'm not sure, but I wonder if you are inadvertently using your
/usr/bin/gcc instead of your /usr/local/bin/gcc.  To be sure that the
configure tests and the build use the same compiler, I usually specify
the full path explicitly like this:
   
   CC=/usr/local/bin/gcc ./configure [etc]

(Am I right in thinking that you are using a custom GCC install because
of difficulty locating SuSE RPMs with Objective C support?)

P.S. Swarm 1.4.1 requires Tcl/Tk 8.0 or greater

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]