🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Langton C Garvin Thu, 12 Nov 1992 21:43
help on installing GCC v2.2 on VMS
#616
Author: Langton C Garvin
Date: Thu, 12 Nov 1992 21:43
40 lines
2149 bytes
Hi, I need some help. I just got the gcc v2.2 pre-compiled savesets
from mango.rsmas.miami.edu and I tried to install only the gcc
compiler, preprocessor, header files, etc (I did not try to install
bison, g++, libg++, or the info files).  To test the installation, I
tried to compile and link the following  "Hello World" code:

#include <stdio.h>
main ()
{
printf("Hello World\n");
}

I was able to compile it OK with "$ GCC HELLO.C" (ie. I was able to
get an object file), but when I tried to link the code with:
"$ LINK HELLO, GNU_CC:[000000]GCCLIB.OLB/LIB"
I wound up getting the following errors:

%LINK-W-NUDFSYMS, 3 undefined symbols:
%LINK-I-UDFSYM,         C$MAIN_ARGS
%LINK-I-UDFSYM,         PRINTF
%LINK-I-UDFSYM,         __MAIN
%LINK-W-USEUNDEF, undefined symbol PRINTF referenced
        in psect $CODE offset %X00000025
        in module HELLO file USER2$DISK:[POULOS.C.GCC022B.GCC-SRC.VMS.GCCLIB]HELLO.OBJ;1
%LINK-W-USEUNDEF, undefined symbol __MAIN referenced
        in psect $CODE offset %X0000001B
        in module HELLO file USER2$DISK:[POULOS.C.GCC022B.GCC-SRC.VMS.GCCLIB]HELLO.OBJ;1
%LINK-W-USEUNDEF, undefined symbol C$MAIN_ARGS referenced
        in psect $CODE offset %X00000011
        in module HELLO file USER2$DISK:[POULOS.C.GCC022B.GCC-SRC.VMS.GCCLIB]HELLO.OBJ;1

--------------------------

What's going on? Have I gotten an incomplete version of the object
library? How can I get the compiler (or is it the linker ?) to work
properly on this machine? Do I have to install all the other bison and
g++ stuff to make it work?  Any help  or advice would be greatly
appreciated.

Please send replies to garvin@athena.mit.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads