delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/24/22:53:05

From: pv AT cs DOT montana DOT edu (Paul Peavyhouse)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Req: DOS/DJGPP Quake Makefile
Date: Mon, 24 Mar 1997 18:18:09 GMT
Organization: Montana State University
Lines: 34
Message-ID: <5h795t$rfp@netra.montana.edu>
References: <97Mar21.183831gmt+0100 DOT 16642 AT internet01 DOT amc DOT de> <333667F7 DOT 61C8 AT rtp DOT gtegsc DOT com>
NNTP-Posting-Host: esus.cs.montana.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

        While the subject of this thread is interesting (and I'd enjoy reading 
more from y'all about "intellectual property" (SP?)) I still have not gotten 
any useful response to help me with a Quake Makefile.  I have received a batch 
file, and I can probably build the Makefile from that, but I'd like to know 
what compiler options and stuff are used in the build.  Why anyone would 
compile a program inside a batch file is beyond me.
        Also, there seems to be a problem in either the vid_ext.c or the 
vid_vga.c file that prevent the function VGA_UpdateLinearScreen and 
VGA_UpdatePlanarScreen from being noticed in the object file.  Both functions 
are written in the file d_copy.s, but the call from the "c" files above gives 
the following error:

d:/progra~2/djgpp/tmp\ccbaaaaa: Assembler messages:
d:/progra~2/djgpp/tmp\ccbaaaaa:271: Error: register does not match opcode 
suffix
vid_ext.o(.text+0x14e0):vid_ext.c: undefined reference to 
'VGA_UpdateLinearScreen'
vid_vga.o(.text+0xc73):vid_vga.c: undefined reference to 
`VGA_UpdatePlanarScreen'
vid_vga.o(.text+0xcd4):vid_vga.c: undefined reference to 
`VGA_UpdateLinearScreen'

        Anyone have a clue what's going on here?  The "d_copy.s" is compiled 
before the "c" files.  I can fill ya in more if this isn't enough info.

                                                        PV


______________________________________________________________________________

 Paul Peavyhouse                          
 http://www.cs.montana.edu/~pv           
 email: pv AT cs DOT montana DOT edu                
______________________________________________________________________________

- Raw text -


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