autoconf build error in blackfin BF537 target

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

 



Hi David,

On 1/26/08, David Clark <vdc1048 at tx.rr.com> wrote:
> I find this project of moving pjsip to blackfin very
> interesting.  But let me ask some very basic questions.
> I have read the specs for the card and believe them to be:
>   600mhz blackfin processor
> 132meg ram on board
well, the board that I'm working with is using
a 500 Mhz BF537 and 64MB RAM.

>
> My basic questions are as follows:
> 1) How many changes are developers looking to support with a single card?

Right now, not many changes needed to make pjsip compiles
and run in Blackfin. However, because the current pjsip port
to Blackfin is still unstable, it may require changes in pjlib.

> 2) how much memory does the linix on the card leave for PJSIP development?

I haven't 'cat /proc/memory'. I'll let you know once I'm at home.

> 3) Audio: Is all incoming and outgoing stored on the card only?

There's an audio expansion card (ad1836) to support audio
in the blackfin bf537 stamp board that I'm using. I haven't work with
the sound yet because even pjlib test is still problematic at the
moment. Anyway, you have to 'modprobe'
the driver to make the sound work. Ofcourse it won't be needed if you
build it into the blackfin uclinux kernel :).

Regards,

Darmawan


>
> Thanks for any reply,
> David Clark
>
>
> At 03:24 PM 1/3/2008, you wrote:
> >Note: (*)  I believe that this error had a relation with the data type
> >declaration in pjlib.
> >            (*)  I'm building on a Slackware 12 system (kernel 2.6.23.12)
> >-----------------------------
> >
> >I'm building with the Pjsip svn revision 1656  (01-02-2008)
> >
> >The configuration script is invoked for cross compiling as follows
> >./configure CC=bfin-uclinux-gcc --host=bfin-uclinux
> >--build=i686-linux LDFLAGS='
> >-Wl,-elf2flt' CFLAGS=-O2
> >
> >and then building pjsip with:
> >make dep && make clean && make
> >
> >The error message excerpt:
> >--------
> >make[1]: Entering directory
> >`/lfs/blackfin_devel/uClinux-dist.R1.1-RC3/user/pjproject/pjnath/build'
> >make -f
> >/lfs/blackfin_devel/uClinux-dist.R1.1-RC3/user/pjproject/build/rules.mak
> >APP=PJNATH app=pjnath ../lib/libpjnath-bfin-unknown-uclinux.a
> >make[2]: Entering directory
> >`/lfs/blackfin_devel/uClinux-dist.R1.1-RC3/user/pjproject/pjnath/build'
> >mkdir -p output/pjnath-bfin-unknown-uclinux
> >bfin-uclinux-gcc -c -Wall  -DPJ_AUTOCONF=1 -O2   -Werror
> >-Wno-unused-label -I../include -I../../pjlib/include
> >-I../../pjlib-util/include \
> >                 -o output/pjnath-bfin-unknown-uclinux/errno.o \
> >                 ../src/pjnath/errno.c
> >bfin-uclinux-gcc -c -Wall  -DPJ_AUTOCONF=1 -O2   -Werror
> >-Wno-unused-label -I../include -I../../pjlib/include
> >-I../../pjlib-util/include \
> >                 -o output/pjnath-bfin-unknown-uclinux/ice_session.o \
> >                 ../src/pjnath/ice_session.c
> >cc1: warnings being treated as errors
> >../src/pjnath/ice_session.c: In function 'dump_check':
> >../src/pjnath/ice_session.c:749: warning: format '%d' expects type
> >'int', but argument 4 has type 'long int'
> >../src/pjnath/ice_session.c:749: warning: format '%d' expects type
> >'int', but argument 4 has type 'long int'
> >make[2]: *** [output/pjnath-bfin-unknown-uclinux/ice_session.o] Error 1
> >make[2]: Leaving directory
> >`/lfs/blackfin_devel/uClinux-dist.R1.1-RC3/user/pjproject/pjnath/build'
> >make[1]: *** [pjnath] Error 2
> >make[1]: Leaving directory
> >`/lfs/blackfin_devel/uClinux-dist.R1.1-RC3/user/pjproject/pjnath/build'
> >make: *** [all] Error 1
> >--------
> >
> >
> >Anyone have a detailed clue or patch on the matter?
> >
> >I'm trying to work on the pjlib *hack* at the moment as well ;-)
> >
> >Regards,
> >
> >Darmawan Salihun
> >--------------------------------------------------------------------
> >-= Human knowledge belongs to the world =-
> >
> >_______________________________________________
> >Visit our blog: http://blog.pjsip.org
> >
> >pjsip mailing list
> >pjsip at lists.pjsip.org
> >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
> >--
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date:
> >1/7/2008 9:14 AM
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>


-- 
Regards,

Darmawan Salihun
--------------------------------------------------------------------
-= Human knowledge belongs to the world =-



[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