delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Rugxulo <rugxulo AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: PROBLEMS COMPILING DPMI APPLICATION - LIBRARY ROUTINES NOT FOUND |
Date: | Wed, 26 Aug 2009 17:13:25 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 36 |
Message-ID: | <765557ae-bfc3-410d-8bc3-75a37cad484b@m38g2000yqh.googlegroups.com> |
References: | <005e01ca267a$ca5eda80$6d01a8c0 AT CSDSML> |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1251332005 18973 127.0.0.1 (27 Aug 2009 00:13:25 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Thu, 27 Aug 2009 00:13:25 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | m38g2000yqh.googlegroups.com; posting-host=65.13.115.246; |
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO | |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) |
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5,gzip(gfe),gzip(gfe) | |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, On Aug 26, 1:26=A0pm, "stephen att" <stephen DOT DOT DOT AT att DOT net> wrote: > > I have a very large application which uses DPMI and I can't get it to com= pile with DJGPP - > I always get "undefined reference" fatal errors. "__dpmi_int" is always i= dentified as such a > reference although I am including the correct header file and the compile= include directive - > the command line I use is: > > gcc testdpmi.c -o a.exe -I c:\djgpp\include You shouldn't need to specify that include manually. That basically means you haven't done the following beforehand (see README.1ST or the FAQ): set DJGPP=3Dc:\djgpp\djgpp.env And you already have your PATH set, so you should now be able to do this (to produce A.EXE): gcc testdpmi.c > I believe the dmpi library calls are in liba so this shouldn't be happeni= ng; can you help? Yes, it's in /dev/env/DJDIR/lib/libc.a (the C library), aka c:\djgpp \lib\libc.a (Probably using "nm" wrong, but whatever, it just proves a point): [ Vista/DJGPP ] - Wed 08/26/2009 >nm /dev/env/DJDIR/lib/libc.a | grep - c dpmi_int 118
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |