bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug report


From: Linus Nordberg
Subject: Re: bug report
Date: 01 Aug 2001 09:18:35 +0200
User-agent: Gnus/5.090002 (Oort Gnus v0.02) Emacs/20.6

"sean dooley" <address@hidden> wrote
Wed, 01 Aug 2001 00:00:20 +0000:

   with the line "gcc -o test test.c"
   
   gives
   /tmp/ccpCBUTN.o: In function 'main':
   /tmp/ccpCBUTN.o(.text+0xe): undefined reference to '__gmpz_init'
   collect2: ld returned 1 exit status

You will have to tell gcc to link with the GMP library.  Try

  gcc -o test test.c -lgmp

--linus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]