Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Configure manual Makefile for CGAL application

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Configure manual Makefile for CGAL application


Chronological Thread 
  • From: Chansophea Chuon <>
  • To:
  • Subject: Re: [cgal-discuss] Configure manual Makefile for CGAL application
  • Date: Fri, 9 Mar 2007 09:57:13 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Ed42jihjxi+fCVUlHgwzmadYDLsSN96WL+nwFbfmHUInm2D24qpvFy4hb1kwLoWOPUxAxkvCPciSqjQgEUgTF2pjFLQL9zQlH5sMKXyUQSN6n4cq6m/TTj1dE+D0HvqG41qihoJokfIP8c59QjhZKiga49QTK4wBEUdcjyoKtn8=;

Dear Laurent:

I am using P4 2.66 GHz processor. I think that it is i386 compatible processor.
This is the output produce from the command (uname -pa)

Linux localhost.localdomain 2.6.18-1.2257.fc5 #1 Fri Dec 15 16:06:24 EST 2006 i686 i686 i386 GNU/Linux

I am not sure about my gmp version. I check in the /usr/lib/ folder for the library and I saw

/usr/lib/libgmp.a
/usr/lib/libgmp.so
/usr/lib/libgmp.so.3
/usr/lib/libgmp.so.3.3.3
/usr/lib/libgmpxx.a
/usr/lib/libgmpxx.so
/usr/lib/libgmpxx.so.3
/usr/lib/libgmpxx.so.3.0.5

I don't understand what happened exactly with this.
Thanks again for your response.

Best regards,

Sophea




Laurent Rineau <> wrote:
Joachim is the packager of CGAL for Debian. I am the packager of CGAL for
Fedora. I will answer.

On Friday 09 March 2007 16:27:36 Chansophea Chuon wrote:
> I tried to compile again with the command (g++ -o test rs_example.C
> -I/usr/include -L/usr/lib -lCGAL ) and it showed this messages:
>
> /usr/include/gmpxx.h: In destructor
> ‘__gmp_alloc_cstring::~__gmp_alloc_cstring()’: /usr/include/gmpxx.h:2096:
> error: ‘__gmp_free_func’ was not declared in this scope
>
> I could not even use CGAL makefile.

Here again the problem seems to come from GMP, and not CGAL.

I have not managed to reproduce your bug. I used Fedora packages, on a Fedora
Core 5.

> Thanks for response. I am using pre-compiled version of CGAL
> CGAL-devel-3.2.1-19.fc5
> CGAL-3.2.1-19.fc5
> CGAL-demos-source-3.2.1-19.fc5

CGAL-devel-3.2.1-19.fc5
CGAL-3.2.1-19.fc5
CGAL-demos-source-3.2.1-19.fc5

(the same)

> running on Fedora Core 5 (Kernel 2.6.18-1.2257.fc5) with g++ (GCC) 4.1.1
> 20060525 (Red Hat 4.1.1-1).

Fedora Core 5,
Kernel 2.6.17-1.2139_FC5smp,
g++ (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1).

Only the kernel differs, for the moment.

What is your CPU ? Mine is "Intel(R) Pentium(R) D CPU 3.00GHz".

As for gmp :

gmp-4.1.4-6.2.1
gmp-devel-4.1.4-6.2.1

Can you give us your CPU type, and your version of GMP?

I suspect that your CPU type is not i386.

__gmp_free_func is declared in /usr/include/gmp.h

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Phone: +33 4 92 38 71 54

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.


Archive powered by MHonArc 2.6.16.

Top of Page