swarm-support
[Top][All Lists]
Advanced

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

Re: help getting started


From: Mike Howard
Subject: Re: help getting started
Date: Wed, 27 May 1998 22:34:54 -0700

Thanks for your help, Paul... nothing works so far, but you are very
generous to suggest some things.

>Well, did you see the essay Benedikt did and I put a link to it in the
>online faq about SGI. Isn't that what you are dealing with? libffi is not
>going to work, that's the first point, I think.  He said you also
>have to change GCC.  check
>http://valinux.pols.ukans.edu/~pauljohn/SwarmFaq.html.
>
>If you saw that already, I don't have much to add.
>
>If you didn't, its not your fault.  Even though I've been putting this
>thing together for a while, its sort-of a secret.

THanks for the ref.  I *was* trying to make libffi work.

I do have an O2 with IRIX 6.3 like he mentioned...
I might have to try to figure out what code changes he had to make to
get it to compile.  I wonder if Benedikt's distribution could be published
along with the other binary+source?

>I keep wondering: there is no binary swarm for your system?  You
>don't have to compile all those libraries if there is. I thought Marcus
>had done it for Irix.

Believe me, I tried it.
Marcus compiled it for Irix 5.3.  I have 5.3 machines here, but GCC 2.7.2.2
is only available for them with a bunch of provisos and needing a bunch
of patches, so I grabbed the Irix 6.2 version of GCC.  Then I got
Marcus' 5.3 binary version of swarm and tried to compile the tutorial on
my IRIX 6.2 machine using the IRIX 6.2 version of GCC.

That gives me errors that objc_malloc and objc_free are unresolved.
I tried explicitly adding the path for libobjc.a on the compile line,
but it doesn't make any difference.

gmake SETUP=mgd-PSU-Irix53
gcc -c -g -O -Wall -Wno-import -I/of/local/swarm/swarm-1.1/include   main.m
gcc -g -L/of/local/swarm/swarm-1.1/lib   -o bug main.o
/of/local/swarm/swarm-1.1/lib/swarm.x -lobjc -lX11 -lm
collect2: ld returned 2 exit status
ld: WARNING 85: definition of opterr in
/of/local/swarm/swarm-1.1/lib/swarm.x preempts that definition in
/usr/lib/libc.so.
ld: WARNING 85: definition of optind in
/of/local/swarm/swarm-1.1/lib/swarm.x preempts that definition in
/usr/lib/libc.so.
ld: WARNING 85: definition of optopt in
/of/local/swarm/swarm-1.1/lib/swarm.x preempts that definition in
/usr/lib/libc.so.
ld: WARNING 85: definition of optarg in
/of/local/swarm/swarm-1.1/lib/swarm.x preempts that definition in
/usr/lib/libc.so.
ld: WARNING 84: /usr/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2.2/libgcc.a is
not used for resolving any symbol.
ld: WARNING 47: This module contains branch instruction(s) that might
degrade performance on an older version (rev. 2.2) R4000 processor.
ld: ERROR 33: Unresolved text symbol "objc_malloc" -- 1st referenced by
/of/local/swarm/swarm-1.1/lib/swarm.x.
ld: ERROR 33: Unresolved text symbol "objc_free" -- 1st referenced by
/of/local/swarm/swarm-1.1/lib/swarm.x.
ld: WARNING 105: Common symbol "TclDate_TclDates" defined in
/of/local/swarm/swarm-1.1/lib/swarm.x is resolved with a data definition in
/of/local/swarm/swarm-1.1/lib/swarm.x with a smaller alignment.
ld: WARNING 105: Common symbol "TclDate_TclDatev" defined in
/of/local/swarm/swarm-1.1/lib/swarm.x is resolved with a data definition in
/of/local/swarm/swarm-1.1/lib/swarm.x with a smaller alignment.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mike Howard                  address@hidden             310-317-5690
HRL Laboratories, LLC    3011 Malibu Canyon Road     Malibu CA 90265
______________________________________________________________________

                  ==================================
   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]