delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/20/12:36:15

Newsgroups: comp.os.msdos.djgpp
Date: Sat, 20 Dec 1997 10:31:47 -0700 (MST)
From: Matthew Mastracci <mmastrac AT acs DOT ucalgary DOT ca>
To: john Lawrence sanborn <josanb AT mailexcite DOT com>
Cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: Compiling GMP 2.0.2 with DJGPP for Pentium
In-Reply-To: <NMKCPFKDBBCHAAAA@mailexcite.com>
Message-Id: <Pine.A41.3.96.971220102825.90638H-100000@acs2.acs.ucalgary.ca>
References: <NMKCPFKDBBCHAAAA AT mailexcite DOT com>
Mime-Version: 1.0

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