From: Matthew Mastracci 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: NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: djgpp In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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."