denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Trying to compile 0.7.7


From: Richard Shann
Subject: Re: [Denemo-devel] Trying to compile 0.7.7
Date: Thu, 22 May 2008 15:20:37 +0100

On Thu, 2008-05-22 at 08:13 -0500, Jeremiah Benham wrote:
> does it compile for you?
I've downloaded the header and tried it and got your compile time error
message. I've checked in a fix for that (which was my mistake not
Thomas's) and a minor fix for a declaration. It now compiles with the
V19 header file.
The ./autogen story is something I know little about - but my suspicion
is that configure.in is faulty, it reads

.......
dnl PKG_CHECK_MODULES(PORTAUDIO, portaudio >= 18)
dnl CFLAGS="$CFLAGS $PORTAUDIO_CFLAGS"
LIBS="$LIBS -lportaudio"


AM_PATH_XML2(
  2.0.0,
  [
    LIBS="$LIBS $XML_LIBS"
    CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
    LDFLAGS="$LDFLAGS $XML_LDFLAGS"
  ],
  AC_MSG_ERROR(Cannot find libxml: Is xml-config in path?))
..........

the dnl seem to be a comment marker (?) so that the PKG_CHECK is not
done (?) and perhaps some error is then spilling onto the AM_PATH_XML2
bit that follows...
Thomas Beierlein says that V19 supports pkg-config so that you could try
that, but what would then happen with V18 which ships with Debian I
don't know.
Thanks for giving this a go and sorry for checking in a duff
audiocapture.c

Richard


>  
> 
> I installed portaudio19 and completely removed portaudio18 and its -dev.
> After running ./autogen I had to run ./configure --disable-xmltest to
> get configure to complete. I get these results when compiling:
> 
> audiocapture.c: In function ‘pa_main’:
> audiocapture.c:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> audiocapture.c:146: error: ‘stream’ undeclared (first use in this
> function)
> audiocapture.c:146: error: (Each undeclared identifier is reported only
> once
> audiocapture.c:146: error: for each function it appears in.)
> audiocapture.c:217: warning: passing argument 7 of ‘Pa_OpenStream’ from
> incompatible pointer type
> audiocapture.c: In function ‘determine_frequency’:
> audiocapture.c:342: warning: incompatible implicit declaration of
> built-in function ‘lround’
> make[2]: *** [audiocapture.o] Error 1
> 
> I assume I have to do something with Autotools. What commands are needed
> for proper linking? Is the header file still have the same name and
> location. Are copying over the libportaudio.a to get it to compile?
> 
> Jeremiah
> 





reply via email to

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