Newsgroups: comp.os.msdos.djgpp Date: Sat, 20 Dec 1997 10:31:47 -0700 (MST) From: Matthew Mastracci To: john Lawrence sanborn Cc: djgpp Subject: Re: Compiling GMP 2.0.2 with DJGPP for Pentium In-Reply-To: Message-Id: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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."