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

Re: Problem Installing Orca/C 1.3 - Unresolved Reference Label



In article <1l9urqINN5sk@gecko.cis.ohio-state.edu> vats@cis.ohio-state.edu (mudit p vats) writes:
>I've been using Orca/C v1.1 with /minimal/ problems.  Recently I have
>accquired v1.3.  I followed the documentation and used the installer to
>install a new system on my hd.  WELL, when I link ANYTHING I get -Unresolved
>Reference Label- errors...  any clues ???
>
>I think this weird because new code and old code creates the same errors.
>
>This is the output of a sample program with 1 line in the main that has
>a printf ("some text\n");.....
>
>------------------------
>ORCA/C 1.2
>
>Including 2/ORCACDEFS/stdio.h
>Compiling main
>
>0 errors found.
>
>Link Editor 1.2.3
>
>Pass 1: .........................
>Pass 2: .
>Error at 00000004 past ~_ROOT PC = 00000004 : Unresolved reference Label: ~_BWSTARTUP
>......
>Error at 00000006 past ~C_SHUTDOWN PC = 0000011B : Unresolved reference Label: ~QUIT
>.
>Error at 00000011 past ~C_STARTUP PC = 0000012F : Unresolved reference Label: ~COMMANDLINE
>
>Error at 00000015 past ~C_STARTUP PC = 00000133 : Unresolved reference Label: ~COMMANDLINE
>
>Error at 000000AF past ~C_STARTUP PC = 000001CD : Unresolved reference Label: ~QUIT
>.................
>
>5 errors found during link
>8 was the highest error level
>
>There is 1 segment, for a length of $00000B0E bytes.
>-------------------------------
>
>any help would be appreciated ! thanks.
>--
>----------------------------------------------------------------------------
> e-mail -> vats@magnus.acs.ohio-state.edu   Mudit P. Vats    CIS Eng  <OSU>
>----------------------------------------------------------------------------

  First, did you #include <stdio.h>?
  Second, are your libraries (in /<volname>/<orcafoldername>/LIBRARIES) in the
correct order (seen from a directory listing)? They should be:
YOURLIB     ORCALIB     SYSLIB

  It is VITALLY important that these appear in the correct order, or you'll
get wierd linker errors like the above
  Third, are all your Orca versions compatible? You mentioned 1.3.2, but your
listing shows Orca/C 1.2 instead (which is what I have now -- waiting for
ver 2.0 minus most of the bugs!)
                                    wsquires@lonestar.utsa.edu