🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5731

Re: Microsoft C ver 6.0 link error

#5731
From: Carl Schelin
Date: Fri, 12 Apr 1991 11:33
35 lines
1583 bytes
In article <10976@bunny.GTE.COM>, rc05@gte.com (Ramesh Chandak) says:
>
>here's a simple program that I am trying to link. It compiles okay.Development
>environment is Microsoft C Compiler version 6.0
>
>#include <graph.h>
>
>void main ( void )
>{
>        _outtext(" hello world \n");
>}
>
>it compiles fine. However, I get a link error. It says :
>Link Error : L2029
>_aNchkstk in file.c
>hello.obj (hello.c)
>
>unresolved external
>
>1 error detected.
>
>What's going on here ?
>

I just compiled your small program on MSC 6.00 without a problem.
I also tried to compile without specifying GRAPHICS.LIB on the command
line. I received an "unresolved external __outtext" error. The only thing that
I can think of would be a different LINK.EXE somewhere out there on your
system. Dos comes with one. MSC SDK, QBasic or maybe an older version
of MSC (I kept 5.0 on my system until I was sure all my programs ran on
6.00). Check your path for LINK.EXE. Use some sort of locate or whereis
type program which will find it.

Carl Schelin
tcs@mailer.jhuapl.edu
Technical Details
Message-ID: <1991Apr12.113314.18666@aplcen.apl.jhu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!news
References: <10976@bunny.GTE.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!news
From: tcs@mailer.jhuapl.edu (Carl Schelin)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Microsoft C ver 6.0 link error
Message-ID: <1991Apr12.113314.18666@aplcen.apl.jhu.edu>
Date: 12 Apr 91 11:33:14 GMT
References: <10976@bunny.GTE.COM>
Sender: news@aplcen.apl.jhu.edu (USENET News System)
Organization: Johns Hopkins University - Applied Physics Lab
Lines: 35