|
From: alok Y. <alo...@gd...> - 2008-11-05 05:36:31
|
Hi All ,
I have to cross compile Gstreamer against arm ...what
dependency is needed ??
I have used in
*************************
./configure --host=arm-926ejs-linux
CC=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-gcc
CXX=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-g++
LDFLAGS="-L/home/alokyadav/android/ltib-imx27ads-20070522/rootfs/lib
-L/home/alokyadav/android/ltib-imx27ads-20070522/rootfs/usr/lib -lz
-L/usr/local/libxml-arch/lib"
CFLAGS="-I/home/alokyadav/android/ltib-imx27ads-20070522/rootfs/usr/include
-I/usr/libxml/include"
--with-PACKAGE=/home/alokyadav/Desktop/gstreamer/gstreamer-0.10.12
--with-PACKAGE=/home/alokyadav/android/ltib-imx27ads-20070522/
--prefix=/usr/gstreamer --exec-prefix=/usr/gstreamer-arch
**************************************
in the configuration option and it is successfully configured but while
doing make it
is giving a lot of errors....Log is ..
*************************
t/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:139:
error: expected specifier-qualifier-list before 'sector_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:284:
error: expected specifier-qualifier-list before 'u32'
In file included from
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:288,
from ./check.h:2,
from ../../../libs/gst/check/gstcheck.h:30,
from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:19:
error: expected declaration specifiers or '...' before 'gfp_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:57:
error: field 'attr' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:67:
error: field 'list' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:82:
error: field 'kobj' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:84:
error: field 'sysfs_lock' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/elevator.h:108:
error: expected declaration specifiers or '...' before 'gfp_t'
In file included from ./check.h:2,
from ../../../libs/gst/check/gstcheck.h:30,
from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:302:
error: expected declaration specifiers or '...' before 'sector_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:314:
error: field 'busy_list' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:326:
error: field 'queue_head' has incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:351:
error: expected specifier-qualifier-list before 'sector_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'blk_queue_full':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:524:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:525:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'blk_set_queue_full':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:531:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:533:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'blk_clear_queue_full':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:539:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:541:
error: 'struct request_queue' has no member named 'queue_flags'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
At top level:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:609:
error: expected declaration specifiers or '...' before 'gfp_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:626:
error: expected declaration specifiers or '...' before 'gfp_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'bdev_get_queue':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:635:
error: dereferencing pointer to incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'blk_run_address_space':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:648:
error: dereferencing pointer to incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'rq_all_done':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:669:
error: 'struct request' has no member named 'hard_nr_sectors'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:671:
error: 'struct request' has no member named 'data_len'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'blkdev_dequeue_request':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:686:
error: 'struct request' has no member named 'q'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'elv_dispatch_add_tail':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:697:
error: 'struct request_queue' has no member named 'nr_sorted'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:699:
error: 'struct request_queue' has no member named 'end_sector'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:699:
error: 'struct request' has no member named 'sector'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:699:
error: 'struct request' has no member named 'nr_sectors'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:700:
error: 'struct request_queue' has no member named 'boundary_rq'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
At top level:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:712:
error: expected declaration specifiers or '...' before 'u64'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:740:
error: expected ')' before 'int'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:759:
error: expected declaration specifiers or '...' before 'sector_t'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'queue_hardsect_size':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:774:
error: 'request_queue_t' has no member named 'hardsect_size'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:775:
error: 'request_queue_t' has no member named 'hardsect_size'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'queue_dma_alignment':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:789:
error: 'request_queue_t' has no member named 'dma_alignment'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:790:
error: 'request_queue_t' has no member named 'dma_alignment'
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
In function 'block_size':
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:816:
error: dereferencing pointer to incomplete type
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:
At top level:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/linux/blkdev.h:821:
error: expected declaration specifiers or '...' before 'sector_t'
In file included from ../../../libs/gst/check/gstcheck.h:30,
from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
./check.h:11: error: 'BDEVNAME_SIZE' undeclared here (not in a function)
./check.h:13: error: expected specifier-qualifier-list before 'sector_t'
./check.h:22: error: expected declaration specifiers or '...' before
'sector_t'
./check.h:22: error: expected declaration specifiers or '...' before
'sector_t'
./check.h: In function 'put_partition':
./check.h:25: error: 'struct <anonymous>' has no member named 'from'
./check.h:25: error: 'from' undeclared (first use in this function)
./check.h:26: error: 'struct <anonymous>' has no member named 'size'
./check.h:26: error: 'size' undeclared (first use in this function)
./check.h:27: warning: implicit declaration of function 'printk'
In file included from /usr/include/glib-2.0/glib/gbookmarkfile.h:24,
from /usr/include/glib-2.0/glib.h:36,
from ../../../gst/gst.h:27,
from ../../../libs/gst/check/gstcheck.h:32,
from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/time.h:
At top level:
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/sys-include/time.h:163:
error: redefinition of 'struct itimerspec'
In file included from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
../../../libs/gst/check/gstcheck.h:78: error: expected ')' before '*' token
gstbufferstraw.c: In function 'gst_buffer_straw_start_pipeline':
gstbufferstraw.c:90: warning: implicit declaration of function 'fail_if'
make[4]: *** [libgstcheck_0.10_la-gstbufferstraw.lo] Error 1
make[4]: Leaving directory
`/home/alokyadav/Desktop/gstreamer/gstreamer-0.10.12/libs/gst/check'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/alokyadav/Desktop/gstreamer/gstreamer-0.10.12/libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/alokyadav/Desktop/gstreamer/gstreamer-0.10.12/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/alokyadav/Desktop/gstreamer/gstreamer-0.10.12'
make: *** [all] Error 2
*************************************
Please help me to solve that issue....
Thanks and regards
Alok
|