Mail Archives: djgpp/2004/06/16/15:32:14

X-Authentication-Warning: mail set sender to djgpp-bounces using -f
From: iunknown2k4 AT yahoo DOT co DOT in (anonymous)
Newsgroups: comp.os.msdos.djgpp
Subject: undefined reference error
Date: 16 Jun 2004 12:28:14 -0700
Lines: 13
Message-ID: <>
X-Trace: 1087414096 25481 (16 Jun 2004 19:28:16 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 16 Jun 2004 19:28:16 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I installed DJGPP Version 2.03 on Win 98 Se, I can run programs from 
RHIDE, but when I try to run any program from the prompt
I get an error like:

> gcc ptr.c
e:/djgpp/tmp/cc76VdZ8.o(.eh_frame+0x11):PTR.C: undefined reference to
collect2: ld returned 1 exit status

 gcc -v shows version is 3.3.3
I read the FAQ - it talks about math libraries and C++, but I am 
running simple C programs using only stdio and stdlib.

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019