erlug
[Top] [All Lists]

Re: [Erlug] CRLF line terminators

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] CRLF line terminators
From: dullboy <ppp0@xxxxxxxxxxxxx>
Date: Mon, 7 Jun 2004 11:59:47 +0200
On Mon, Jun 07, 2004 at 11:42:48AM +0100, Federico Calboli wrote:
> LodDistance_RAN.c: In function `main':
> LodDistance_RAN.c:26: warning: passing arg 1 of `ran1' from incompatible
> pointer type
> LodDistance_RAN.c:55: warning: passing arg 1 of `ran1' from incompatible
> pointer type
> /home/greatsage/tmp/ccBArksm.o(.text+0x49): In function `main':
> : undefined reference to `floor'
> /home/greatsage/tmp/ccBArksm.o(.text+0x12f): In function `main':
> : undefined reference to `floor'
> collect2: ld returned 1 exit status
Hai provato a mettre nel Makefile -lm (dove dice 'LDADD = ')
Sembra che manchi la libreria matematica (floor...).
Per gli errori in riga 26 e 55 sono problemi di cast, bisogna vedere i
sorgenti. (ma sono solo warnings... compila cmq.)

-- 
>++++++++++[<++++++++++>-]<.>++++[<++++>-]<+.>---[<++
+>-]<..>---[<+++>-]<-.>++++[<+++>-]<+.>+++[<+++>-]<+.
           [TSL/SSL] Giulio 'dullboy' Iotti

<Prev in Thread] Current Thread [Next in Thread>