I don't know how to build on raspberry pi

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

 



Hi again,

Hi again,

I wanted to test the 2.2 i tried the tar package and also the trunk, I 
dont know hot to compile it from linux PC so I am compiling it locally 
on PI wich is time slow and uncomfortable ( at least i use ssh console I 
am not that useless). The OS is the raspbian 
2014-01-07-wheezy-raspbian.img, i did Update && upgrade and 
rapbbian-update, built and intall sdl2 and ffmpeg, but i am stuck 
buildid pjsip then i need to build pisjua, if there is no ffmpeg and SDL 
it won't build also?

$ ./configure
$ make dep && make clean && make



the 2.2 Tar

pi/tmp/pjproject-2.2/third_party/portaudio/include 
-DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -DPJMEDIA_AUDIO_DEV_HAS_WMME=0 
-I../include -I../../pjlib/include -I../../pjlib-util/include 
-I../../pjmedia/include -I../../pjnath/include -I../.. \
-o output/pjmedia-armv6l-unknown-linux-gnueabihf/ffmpeg_util.o \
../src/pjmedia/ffmpeg_util.c
In file included from ../src/pjmedia/ffmpeg_util.c:26:0:
../src/pjmedia/ffmpeg_util.h:50:12: warning: ?enum CodecID? declared 
inside parameter list [enabled by default]
../src/pjmedia/ffmpeg_util.h:50:12: warning: its scope is only this 
definition or declaration, which is probably not what you want [enabled 
by default]
../src/pjmedia/ffmpeg_util.h:53:7: warning: ?enum CodecID? declared 
inside parameter list [enabled by default]
../src/pjmedia/ffmpeg_util.c:65:18: error: field ?codec_id? has 
incomplete type
../src/pjmedia/ffmpeg_util.c:169:13: error: conflicting types for 
?pjmedia_format_id_to_CodecID?
../src/pjmedia/ffmpeg_util.h:49:13: note: previous declaration of 
?pjmedia_format_id_to_CodecID? was here
../src/pjmedia/ffmpeg_util.c: In function ?pjmedia_format_id_to_CodecID?:
../src/pjmedia/ffmpeg_util.c:175:35: warning: comparison between pointer 
and integer [enabled by default]
../src/pjmedia/ffmpeg_util.c:176:6: error: dereferencing pointer to 
incomplete type
../src/pjmedia/ffmpeg_util.c:176:6: warning: statement with no effect 
[-Wunused-value]
../src/pjmedia/ffmpeg_util.c:181:5: error: dereferencing pointer to 
incomplete type
../src/pjmedia/ffmpeg_util.c:181:5: warning: statement with no effect 
[-Wunused-value]
../src/pjmedia/ffmpeg_util.c: At top level:
../src/pjmedia/ffmpeg_util.c:185:55: error: parameter 1 (?codec_id?) has 
incomplete type
make[2]: *** 
[output/pjmedia-armv6l-unknown-linux-gnueabihf/ffmpeg_util.o] Error 1
make[2]: Leaving directory `/home/pi/tmp/pjproject-2.2/pjmedia/build'
make[1]: *** [libpjmedia-armv6l-unknown-linux-gnueabihf.a] Error 2
make[1]: Leaving directory `/home/pi/tmp/pjproject-2.2/pjmedia/build'
make: *** [all] Error 1

this seems to be a problem with the video support but I haven't set any 
flags to enable video or config_site.h: #define PJMEDIA_HAS_VIDEO 1

the trunk gives me :

make[3]: Leaving directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/g7221'
make[2]: Leaving directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/g7221'
make[2]: Entering directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/portaudio'
make -f /home/pi/svn.pjsip.org/repos/pjproject/trunk/build/rules.mak 
APP=PORTAUDIO app=libportaudio depend
make[3]: Entering directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/portaudio'
.libportaudio-armv6l-unknown-linux-gnueabihf.depend:1: *** missing 
separator. Stop.
make[3]: Leaving directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/portaudio'
make[2]: *** [depend] Error 2
make[2]: Leaving directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build/portaudio'
make[1]: *** [dep] Error 1
make[1]: Leaving directory 
`/home/pi/svn.pjsip.org/repos/pjproject/trunk/third_party/build'
make: *** [dep] Error 1


forgive me for these newbie questions, I actually don't need video 
support but this portaudio doesn't seem to be video error, right?

I tried with cubieboard in cubian but I got some errors too.

Thank you very much for any hint or succes recipe i could follow ;)



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux