Date: Mon, 27 Nov 2000 08:47:35 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: =?iso-8859-1?B?R2FicmllbCBGcvxt?= cc: djgpp AT delorie DOT com Subject: Re: Problems with stdin, stdout and stderr In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 26 Nov 2000, =?iso-8859-1?B?R2FicmllbCBGcvxt?= wrote: > I downloaded Allegro but I can't install it. When i run "make", it tells me > that there is an undefined reference to "__dj_stderr" in asmdef.c . Then I > made a simple program using "#include - fprintf(stdout, "Hello > world!");", an the same thing happened: "undefined reference to > __dj_stdout". I'm guessing that you have an old or a corrupted version of the DJGPP library. __dj_stderr and __dj_stdout are defined by two library modules. Please try the following command and tell what it prints: nm -A c:/djgpp/lib/libc.a | c:\windows\command\find.exe "__dj_stderr" Another possibility is that you are linking with a non-DJGPP library. Did you per chance install RSXNTDJ or MinGW on that machine? If so, make sure you are not linking DJGPP programs with their libraries (you need to tinker with environment variables which tell the compiler where to look for libraries).