I was able to fix it with the line:
esd_LDFLAGS = -lm
in the makefile (it used to read esd_LDFLAGS = ).   This is probably a 
horrible way to fix it but it works for me (maybe).  I hope this helps.

---------------------------------------------------------------------
        From [EMAIL PROTECTED]  Sat May 16 16:46:55 1998
        Date: Sat, 16 May 1998 15:59:43 -0400
        From: Shaleh <[EMAIL PROTECTED]>
        X-Mailer: Mozilla 4.04 [en] (Win95; I)
        MIME-Version: 1.0
        To: Kristopher Herrin <[EMAIL PROTECTED]>
        CC: [EMAIL PROTECTED]
        Subject: Re: esound compile question
        References: <>
        Content-Type: text/plain; charset=us-ascii
        Content-Transfer-Encoding: 7bit
        Sender: [EMAIL PROTECTED]
        Reply-To: Shaleh <[EMAIL PROTECTED]>
        
        Not 100% sure but..... make sure that you have -lm somewhere.  That is
        the math lib.
        
        Kristopher Herrin wrote:
        > 
        > Hey guys.
        > 
        > I got this when compliling esound:
        > 
        > -- snip --
        > /bin/sh ./libtool --mode=link gcc -g -O2  -o esd  esd.o clients.o mix.o 
players.o samples.o libesd.la
        > gcc -g -O2 -o .libs/esd esd.o clients.o mix.o players.o samples.o 
-Wl,--rpath -Wl,/usr/local/lib .libs/libesd.so
        > esd.o: In function `set_audio_buffer':
        > /usr/local/src/esound-0.2.1/esd.c:31: undefined reference to `sin'
        > /usr/local/src/esound-0.2.1/esd.c:37: undefined reference to `sin'
        > make: *** [esd] Error 1
        > -- end snip --
        > 
        > All my libs are right (i think anyway).
        > Any clues?
        > 
        > Thanks in advance,
        > Kris
        > -
        > To unsubscribe from this list send mail to: [EMAIL PROTECTED]
        > with the message contents: unsubscribe e-develop
        
        -- 
        -----------------------------------------------
        How can you see, when your mind is not open?
        How can you think, when your eyes are closed?
        - Jason Bonham Band, "Ordinary Black and White"
        -----------------------------------------------
        -
        To unsubscribe from this list send mail to: [EMAIL PROTECTED]
        with the message contents: unsubscribe e-develop
        
-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop

Reply via email to