delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/21/22:01:58

From: bdarnell AT vnet DOT net (Ben Darnell)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mikmod problems and symify wierdness (long)
Date: Tue, 21 Jan 1997 23:14:17 GMT
Organization: Vnet Internet Access, Inc.
Lines: 13
Message-ID: <32e54385.3006649@news.vnet.net>
References: <32e2e995 DOT 11893177 AT news DOT vnet DOT net> <5c0m8q$fha AT news DOT cableinet DOT net>
NNTP-Posting-Host: vts-char3-s14.vnet.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

After reading the sample program for the fiftieth time, I saw what the
problem was:  Mikmod relies on nearptrs, and the sample program had
int _crt0_startup_flags=_CRT0_FLAG_NEARPTR; at the top.  I don't like
the idea of losing protection, so I added
_djgpp_nearptr_[en|dis]able() calls at the appropriate places in
drv_sb.c.  (in SB_Update() and SB_PlayStart()).  The problems in the
traceback were apparently caused by the fact that Mikmod was compiled
without -g.
     __                         __
 /> /_ /| /   /\  /|  />  /| / /_ /  /
/> /_ / |/   /_/ /-| / \ / |/ /_ /_ /_
http://users.vnet.net/bdarnell
bdarnell AT vnet DOT net

- Raw text -


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