X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Sat, 21 Apr 2007 01:30:26 -0500 Date: Fri, 20 Apr 2007 23:30:24 -0700 From: Jim Michaels User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: gmp.h from GMP package - how to include? References: <462873a0$1 AT news DOT upm DOT es> In-Reply-To: <462873a0$1@news.upm.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <262dnTAaCpMfMrTbnZ2dnUVZ_tqnnZ2d@comcast.com> Lines: 35 NNTP-Posting-Host: 24.20.110.103 X-Trace: sv3-N4P2bWq/4Ij2OPEAaCTciGQLr36XCIGwff4bpZzrERCOItVBh42KBHsLHZ0k/8Aqk/2xJQr4DHLZxUj!2TSyAoc64bmJEwwsip4GAOdh0R/GhtixWGDjvOXmGMu1DFc0/buEqt+NXq9h4/W5uu35FlERSCYC!WnegeloK+CKdrZJ19Ls+YtTkm2tBBA== X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Manuel Collado wrote: > Jim Michaels escribió: >> I extracted gmp412b.zip >> unfortunately, I don't really know how to include the files. DJGPP is >> odd in the way it is set up. >> I found gmp.h extracted into f:/djgpp/2.03/v2gnu/include/gmp.h > > So you have dowloaded the gmp sources instead of the binaries. Please > download and unpack gmp412b.zip. > > Regards. I did. I had to go into the .env file and insert ;%DJENV%/v2gnu/include and ;%DJENV%/v2gnu/lib in appropriate places. but now I can't link. I get: no errors Creating: fract.exe Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionC1Ell+0xe): undefined reference to `___gmpq_init' Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionC1Ell+0x24): undefined reference to `___gmpq_set_si' Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionD1Ev+0xe): undefined reference to `___gmpq_clear' -- ------------------------------------ Jim Michaels for email, edit the address RAM Disk is *not* an installation method.