X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Wed, 16 May 2007 01:57:00 -0500 Date: Tue, 15 May 2007 23:56:58 -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> <262dnTAaCpMfMrTbnZ2dnUVZ_tqnnZ2d AT comcast DOT com> <462b188b$1 AT news DOT upm DOT es> In-Reply-To: <462b188b$1@news.upm.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 45 NNTP-Posting-Host: 24.20.110.103 X-Trace: sv3-Fb3sRg6i8MIeV0YKAfM1g5q/CoUuTxAYWpY2Ve4vaodu4Oe+vFIuhdTF7sUhtEqchyiJ/kv+LNEdT+v!KWXi54w/Tmk9+1Q+IjrPr+evhK7jjciV02Ub28ogup8h/Dc3EI7woB2ZwW2ZRfu9/L3vs00gUunf!joqrB4EhrQx50DjRs8HQHDVts1pFhQ== 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ó: >> Jim Michaels wrote: >>> Manuel Collado wrote: >>>> Jim Michaels escribió: >>>>> I extracted gmp412b.zip > > Are you really sure it wasn't gmp412s.zip? > >>>>> [snip] >>>>> I found gmp.h extracted into f:/djgpp/2.03/v2gnu/include/gmp.h >>> [snip] 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' >> >> by the way, I can at least now compile. sort of. it doesn't link - I >> get an error from ld. I included gmp.h >> #include > > All you describe are the precise symptoms of installing the sources > instead of the binaries. Please INSTALL (uncompress) gmp412b.zip. And > please DO NOT MODIFY djgpp.env > > Regards. I installed the sources + the binaries. -- ------------------------------------ Jim Michaels for email, edit the address RAM Disk is *not* an installation method.