delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/20/18:00:32

From: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiling GMP 2.0.2 with DJGPP for Pentium
Date: Sat, 20 Dec 1997 10:31:47 -0700
Organization: The University of Calgary
Lines: 18
Message-ID: <67gvdo$lj2@ds2.acs.ucalgary.ca>
References: <NMKCPFKDBBCHAAAA AT mailexcite DOT com>
NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca
Mime-Version: 1.0
cc: djgpp <djgpp AT delorie DOT com>
In-Reply-To: <NMKCPFKDBBCHAAAA@mailexcite.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Mon, 15 Dec 1997, john Lawrence sanborn wrote:

>  I've compiled the GMP library using make.bat after making the changes
> that follow.  When I tried to compile the demo program factoriz.c, I got
> 'undefined symbol' messages for all references to functions in the
> library. 

I had the same problem.  I don't believe the version of GMP you're using
has C++ support.  Add some extern "C" { } definitions to the header files
in the library and you should be able to compile everything no problem.  

I was using GMP 1.3.2.  Where did you obtain 2.0.2?

/\/\att /\/\astracci                  mmastrac AT acs DOT ucalgary DOT ca

"Tout choses sont dites deja, mais comme personne n'ecoute, il faut
toujours recommencer."

- Raw text -


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