[hatari-devel] Unable build mercurial version on ubuntu

Christer Solskogen christer.solskogen at gmail.com
Sat Feb 27 18:45:40 CET 2010


On Sat, Feb 27, 2010 at 6:38 PM, Eero Tamminen <eerot at users.berlios.de> wrote:
> Can you get CMake to show the GCC command line?
>

cd /home/solskogen/source/hatari/src/falcon && /usr/bin/gcc
-DCONFDIR=\"/etc\" -Wall -Wwrite-strings -Wsign-compare
-Wmissing-prototypes -Wstrict-prototypes -Wcast-qual
-Wbad-function-cast -Wpointer-arith  -O3 -DNDEBUG
-I/home/solskogen/source/hatari
-I/home/solskogen/source/hatari/src/includes
-I/home/solskogen/source/hatari/src/debug
-I/home/solskogen/source/hatari/src/falcon
-I/home/solskogen/source/hatari/src/uae-cpu -I/usr/include/SDL     -o
CMakeFiles/Falcon.dir/microphone.c.o   -c
/home/solskogen/source/hatari/src/falcon/microphone.c
/home/solskogen/source/hatari/src/falcon/microphone.c:30: warning:
type defaults to ‘int’ in declaration of ‘PaStreamCallbackTimeInfo’
/home/solskogen/source/hatari/src/falcon/microphone.c:30: error:
expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/home/solskogen/source/hatari/src/falcon/microphone.c:35: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘micro_inputParameters’
/home/solskogen/source/hatari/src/falcon/microphone.c:50: warning:
type defaults to ‘int’ in declaration of ‘PaStreamCallbackTimeInfo’
/home/solskogen/source/hatari/src/falcon/microphone.c:50: error:
expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/home/solskogen/source/hatari/src/falcon/microphone.c: In function
‘Microphone_Start’:
/home/solskogen/source/hatari/src/falcon/microphone.c:97: error:
‘micro_inputParameters’ undeclared (first use in this function)
/home/solskogen/source/hatari/src/falcon/microphone.c:97: error: (Each
undeclared identifier is reported only once
/home/solskogen/source/hatari/src/falcon/microphone.c:97: error: for
each function it appears in.)
/home/solskogen/source/hatari/src/falcon/microphone.c:97: warning:
implicit declaration of function ‘Pa_GetDefaultInputDevice’
/home/solskogen/source/hatari/src/falcon/microphone.c:117: error:
‘Microphone_Callback’ undeclared (first use in this function)
/home/solskogen/source/hatari/src/falcon/microphone.c:118: warning:
passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer
without a cast
/usr/include/portaudio.h:325: note: expected ‘int’ but argument is of
type ‘void *’
/home/solskogen/source/hatari/src/falcon/microphone.c:118: warning:
passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer
without a cast
/usr/include/portaudio.h:325: note: expected ‘void *’ but argument is
of type ‘int’
/home/solskogen/source/hatari/src/falcon/microphone.c:118: warning:
passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer
without a cast
/usr/include/portaudio.h:325: note: expected ‘PaSampleFormat’ but
argument is of type ‘void *’
/home/solskogen/source/hatari/src/falcon/microphone.c:118: error: too
few arguments to function ‘Pa_OpenStream’
make[2]: *** [src/falcon/CMakeFiles/Falcon.dir/microphone.c.o] Error 1
make[2]: Leaving directory `/home/solskogen/source/hatari'
make[1]: *** [src/falcon/CMakeFiles/Falcon.dir/all] Error 2
make[1]: Leaving directory `/home/solskogen/source/hatari'
make: *** [all] Error 2

> What "pkg-config --cflags portaudio-2.0" outputs?
>

No package 'portaudio-2.0' found

But:
solskogen at mawashi:~/source/hatari/doc$ dpkg -l | grep portau
ii  libportaudio-dev                                  18.1-7.1
                               Portable audio I/O - development files
ii  libportaudio0                                     18.1-7.1
                               Portable audio I/O - shared library
ii  libportaudio2
19+svn20090620-0ubuntu2                         Portable audio I/O -
shared library



-- 
chs,



More information about the hatari-devel mailing list