[<<][davinci][>>][..]
Sat Jul 4 12:06:14 CEST 2009

neuros VLC

pulling ./libraries/vlc ...
(/opt/src/neuros/vlc) git pull --rebase
remote: Counting objects: 73, done.        
remote: Compressing objects: 100% (50/50), done.        
remote: Total 50 (delta 42), reused 0 (delta 0)        
Unpacking objects: 100% (50/50), done.
From git://git.videolan.org/vlc
   26c1bad..f86d0e6  1.0-bugfix -> origin/1.0-bugfix
   c093b63..c0233ec  master     -> origin/master
Current branch 0.8.6-neuros is up to date.

It looks like the neuros branch is hosted at git.videolan.org repo.
In the git-helper.sh these are defined:

VLC_REPO=git://git.videolan.org/vlc.git
VLC_NEUROS_BRANCH=0.8.6-neuros

I asked on #neuros
12:29 < ILEoo> doelie: you should get vlc build by just running build-tools/scripts/vlc-build-helper.sh
12:29 < doelie> currently it fails at building faad2
12:30 < ILEoo> hmm.. actually it shouldn't need faad2 in princible :/
12:39 < doelie> i commented out .faad in the distro.mak and now the build continues with downloading ffmpeg

So it looks the bootstrap script does soemthing wrong?

I commented out .faad and .ffmpeg

.ffmpeg is needed later, so let's try to fix that first.
doing an "svn update" in the dir.

The problem is this:
swscale.h::
struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat,
                                  int dstW, int dstH, enum PixelFormat dstFormat,
                                  int flags, SwsFilter *srcFilter,
                                  SwsFilter *dstFilter, const double *param);
imgresample.c::
struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat,
                                  int dstW, int dstH, int dstFormat,
                                  int flags, SwsFilter *srcFilter,
                                  SwsFilter *dstFilter, double *param)
                                                        ^^^^^^^^^^^^^

now, where does this come from?  if the svn version used in
vlc/extra/contrib is specified then one would expect it at least
wouldn't survive an error like this due to many eyes...

vlc/extras/contrib/src/Makefile::

ffmpeg:
	$(SVN) co $(FFMPEG_SVN) ffmpeg -r 7407
	(cd $@; patch -p 0 < ../Patches/ffmpeg-swscale-headers.patch)
	(cd $@; patch -p 0 < ../Patches/ffmpeg-g726.diff)

The patches don't touch this file, so let's fix it in the tree.

Next thing is vlc configure wants faad.  Can this be just disabled in
the config?

vlc/configure-neuros.sh::

changed --enable-faad to --disable-faad

next problem:


/bin/sh ../../libtool --tag=CC --mode=link arm-linux-gcc
-Wsign-compare -Wall -Os -march=armv5te
-I/opt/src/neuros/linux-davinci-2.6/include
-I/opt/src/neuros/toolchains/default/target/usr/include -msoft-float
-mlittle-endian -I/opt/src/neuros/vlc/extras/contrib/include -pipe
-Wl,-z,defs -Wl,-z,defs -L/opt/src/neuros/vlc/extras/contrib/lib -o
libaccess_file_plugin.so libaccess_file_plugin.a -g -shared -lpthread
-fpic -fPIC -u vlc_entry__0_8_7neuros

libtool: link: arm-linux-gcc -Wsign-compare -Wall -Os -march=armv5te
-I/opt/src/neuros/linux-davinci-2.6/include
-I/opt/src/neuros/toolchains/default/target/usr/include -msoft-float
-mlittle-endian -I/opt/src/neuros/vlc/extras/contrib/include -pipe
-Wl,-z -Wl,defs -Wl,-z -Wl,defs -o libaccess_file_plugin.so -g -fpic
-fPIC -u vlc_entry__0_8_7neuros
-L/opt/src/neuros/vlc/extras/contrib/lib libaccess_file_plugin.a
-lpthread

/opt/src/neuros/toolchains/mvista-3.4.3/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld:
libaccess_file_plugin.a(libaccess_file_plugin_a-file.o): warning:
duplicate section `.note.gnu.arm.ident' has different contents

/opt/src/neuros/toolchains/mvista-3.4.3/bin/../target/usr/lib/crt1.o(.text+0x30): In function `_start':
../sysdeps/arm/elf/start.S:99: undefined reference to `main'
collect2: ld returned 1 exit status
make[5]: *** [libaccess_file_plugin.so] Error 1
make[5]: Leaving directory `/opt/src/neuros/vlc/vlc-build-davinci/modules/access'


[1] http://www.google.com/search?q=warning%3A+duplicate+section+.note.gnu.arm.ident+has+different+contents
[2] http://groups.google.com/group/neuros/browse_thread/thread/3c0941a2fb9702ac
[3] http://groups.google.com/group/neuros/msg/8ead9ec5e94037c9



[Reply][About]
[<<][davinci][>>][..]