autoconf build error in blackfin BF537 target

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

 



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 =-



[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