gexpr.c
Pavan Tatti
pavan.tatti at gmail.com
Fri Dec 31 00:21:56 CET 2004
Oh that is sad....
/tmp/ccI4qmkj.o(.text+0x642): In function `term':
: undefined reference to `fmod'
/tmp/ccI4qmkj.o(.text+0x782): In function `expo':
: undefined reference to `pow'
/tmp/ccI4qmkj.o(.text+0x822): In function `log2':
: undefined reference to `log'
/tmp/ccI4qmkj.o(.text+0xe12): In function `factor':
: undefined reference to `floor'
/tmp/ccI4qmkj.o(.text+0x1d22): In function `main':
: undefined reference to `floor'
/tmp/ccI4qmkj.o(.text+0x1d82): In function `main':
: undefined reference to `floor'
/tmp/ccI4qmkj.o(.text+0x1dd2): In function `main':
: undefined reference to `floor'
/tmp/ccI4qmkj.o(.text+0x2032): In function `main':
: undefined reference to `floor'
/tmp/ccI4qmkj.o(.text+0x20b2): more undefined references to `floor' follow
/tmp/ccI4qmkj.o(.data+0x18): undefined reference to `log10'
/tmp/ccI4qmkj.o(.data+0x28): undefined reference to `log'
/tmp/ccI4qmkj.o(.data+0x38): undefined reference to `exp'
/tmp/ccI4qmkj.o(.data+0x48): undefined reference to `sqrt'
/tmp/ccI4qmkj.o(.data+0x58): undefined reference to `floor'
/tmp/ccI4qmkj.o(.data+0x68): undefined reference to `ceil'
/tmp/ccI4qmkj.o(.data+0x78): undefined reference to `sin'
/tmp/ccI4qmkj.o(.data+0x88): undefined reference to `cos'
/tmp/ccI4qmkj.o(.data+0x98): undefined reference to `tan'
/tmp/ccI4qmkj.o(.data+0xa8): undefined reference to `asin'
/tmp/ccI4qmkj.o(.data+0xb8): undefined reference to `acos'
/tmp/ccI4qmkj.o(.data+0xc8): undefined reference to `atan'
/tmp/ccI4qmkj.o(.data+0xd8): undefined reference to `sinh'
/tmp/ccI4qmkj.o(.data+0xe8): undefined reference to `cosh'
/tmp/ccI4qmkj.o(.data+0xf8): undefined reference to `tanh'
/tmp/ccI4qmkj.o(.data+0x108): undefined reference to `asinh'
/tmp/ccI4qmkj.o(.data+0x118): undefined reference to `acosh'
/tmp/ccI4qmkj.o(.data+0x128): undefined reference to `atanh'
collect2: ld returned 1 exit status
On 30 Dec 2004 00:17:56 +0100, Torbjorn Granlund <tege at swox.com> wrote:
> Pavan Tatti <pavan.tatti at gmail.com> writes:
>
> I have to run the benchmark suite for which i need to compile gexpr.c.
> But,I am having trouble compiling it - it's displaying bunch of error
> messages 'undefined reference to some function'.
>
> any syggestion?
>
> Yes, I suggest that you provide the error message.
> The GMP maintainers are terrible at guess-work.
>
> --
> Torbjörn
>
More information about the gmp-discuss
mailing list