MAGIC Magic Mailing List
 
 

From: Spaceborne Calin (spaceborne_calin AT yahoo DOT com)
Date: Fri May 16 2003 - 11:44:54 EDT

  • Next message: Michael Doster: "Re: multiple definition errors"

     --- Svenn.Bjerkem AT temic DOT com a écrit : > Cervus,
    > 
    > I have tried to compile xcircuit and have found a couple of troubles
    > on
    > solaris 5.8
    > in configure there are three string comparisons == that I had to
    > change to
    > = because test complained on illegal operand, this was not seen with
    > the
    > linux compile. Maybe linux test and solaris test work differently.
    > this can
    > be worked around by manual editing so it is not so critical.
    > 
    
    the old magic compilation scripts requred a csh shell
    the new one maybe requires bash :-)
    
    > Second, I have a problem when I reach linking:
    > 
    > The command causing error is:
    > gcc -g -O2 -o lib/tcl/xcircuit.so -G -z text -Wl,
    > --version-script=symbol.map xcwrap.o elements.o events.o filelist.o
    > files.o
    > fontfile.o formats.o functions.o help.o keybindings.o libraries.o
    > menucalls.o netlist.o parameter.o python.o rcfile.o render.o schema.o
    > selection.o text.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o \
    >         -L/usr/openwin/lib -R/usr/openwin/lib -lsocket  -lnsl  -lc
    > -lXt
    > -lSM -lICE -lm  -lXpm
    > /usr/ccs/bin/ld: illegal option -- -
    > /usr/ccs/bin/ld: illegal option -- v
    > usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:?]
    > file(s)
    > 
    > seems that the -Wl,--version-script= is not compatible with solaris
    > ld. I
    > am so far not able to get around this error because I probably not
    > quite
    > understand what is going on.
    > 
    
    gcc is using native solaris linker (i think) but it seems that 
    xcircuit needs gnu ld.  
    
    Usually GNU tools use the long options (those prefixed with --).
    
    Bye
    Calin
    
    
    ___________________________________________________________
    Do You Yahoo!? -- Une adresse  AT yahoo DOT fr gratuite et en français !
    Yahoo! Mail : http://fr.mail.yahoo.com
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo