From: claridge@wronz.org.nz
Subject: HELP: Can't link GCC .OBJ files
Date: 5 Apr 93 11:52:15 +1200 [thread overview]
Message-ID: <1993Apr5.115215.118@wronz.org.nz> (raw)
Hi,
We pulled GNU-C off the decus library tapes, un back-up'd it and
followed the instructions from the various read-me's, etc. (we think)
Anyway, we can easily compile, no wories!! Beaut! UNNNNfortunately, we
can't link the compiled .OBJ (not Beaut) .
Example file (hello-world) below.
File: Hello.c (not incl the `-------'s)
-------------------------------------------------------
#include<stdio.h>
main()
{
puts("hello world\n") ;
}
-------------------------------------------------------
VAX instructions given: (VMS V5.4-3)
$ GCC HELLO (completes, no errors, surprise, surprise)
$ LINK HELLO
%LINK-W-NUDFSYMS, 2 undefined symbols:
%LINK-I-UDFSYM, C$MAIN_ARGS
%LINK-I-UDFSYM, PUTS
%LINK-W-USEUNDEF, undefined symbol PUTS referenced
in psect $CODE offset %X0000001B
in module HELLO file USER2:[CLARIDGE.GENERAL]HELLO.OBJ;2
%LINK-W-USEUNDEF, undefined symbol C$MAIN_ARGS referenced
in psect $CODE offset %X00000011
in module HELLO file USER2:[CLARIDGE.GENERAL]HELLO.OBJ;2
We have tried using explicit link library commands e.g.
$ LIN HELLO , SYS$GCCDIR:GCCLIB/LIBRARY
same (exactly) error message.
WHY ?????
Please, someone help me I am going gaga!
Regards, Robert Burling-Claridge, WRONZ, Lincoln, NZ.
Internet : CLARIDGE@WRONZ.ORG.NZ PSI : (05301)30000047::CLARIDGE
snail : Wool Research Organisation of NZ, Private Bag 4749,
Christchurch, New Zealand
"Why would anyone need a computer of their own ? " -- Ken Olsen, 1974.
next reply other threads:[~1993-04-04 23:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-04-04 23:52 claridge [this message]
1993-04-05 3:01 ` HELP: Can't link GCC .OBJ files claridge
1993-04-05 14:32 ` Srinivasan Murari
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox