Page 1 of 1
problem in compiling vlc 0.9.8a
Posted: 01 Feb 2009 10:18
by ahmad_aljallad
Dear all
Am compiling the new version of VLC 0.9.8a but am facing this problem
when I compiling using cygwin
.o | | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/' | /usr/bin/s
ed -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq > .libs/libvlccore.exp'
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/cygdrive/c/vlc-0.9.8a/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/vlc-0.9.8a/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/vlc-0.9.8a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/vlc-0.9.8a'
make: *** [all] Error 2
They are talked about this problem before in the forum but in French
I don't speck any French plz help and thanks
Re: problem in compiling vlc 0.9.8a
Posted: 01 Feb 2009 12:16
by Rémi Denis-Courmont
If you did not see the warnings: Cygwin sucks.
Re: problem in compiling vlc 0.9.8a
Posted: 01 Feb 2009 13:02
by Arite
In case you didn't know of the Wiki article:
http://wiki.videolan.org/Win32CompileCygwinNew
Try compiling with MinGW otherwise:
http://wiki.videolan.org/Win32CompileMSYS
Arite.
Re: problem in compiling vlc 0.9.8a
Posted: 01 Feb 2009 14:04
by ahmad_aljallad
thanks for your help this problem has been fixed
I change the line 144 in
Code: Select all
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1\\2\\3 \\3/p'"
But am having another problem when i compile now the cygwin come to some point and do nothing
i noticed that i have to enter something i enter exit and then it continue like when you press ignore
If you won't to install something and the installer found corrupted file why this error happened and how
i can solve this problem .
any how i will try to use /MinGW but plz help i don't have time to start from the 0 .
Thanks
Re: problem in compiling vlc 0.9.8a
Posted: 01 Feb 2009 14:09
by Arite
But am having another problem when i compile now the cygwin come to some point and do nothing
Messages?
any how i will try to use /MinGW but plz help i don't have time to start from the 0 .
Well try MinGW out - compiling with that is better since it creates native binaries and not psuedo-native ones with cygwin1.dll.
Arite.
Re: problem in compiling vlc 0.9.8a
Posted: 02 Feb 2009 07:49
by ahmad_aljallad
Dear all
Sorry for bother but just one last question all problem with cygwin solved
But when make package-win32-base on cygwin i get this error
Code: Select all
cp ./projects/activex/.libs/axvlc.dll ./vlc-0.9.8a/activex/
cp ./projects/activex/axvlc.dll.manifest ./vlc-0.9.8a/activex/
cp: cannot stat `./projects/activex/axvlc.dll.manifest': No such file or directo
ry
make: *** [package-win-common] Error 1
Plz help with this error because just one step left how I can solve it
And thanks
Re: problem in compiling vlc 0.9.8a
Posted: 02 Feb 2009 10:15
by Jean-Baptiste Kempf
Edit your Makefile.am to fix this, or disable activex for the time being.
Re: problem in compiling vlc 0.9.8a
Posted: 02 Feb 2009 12:12
by ahmad_aljallad
i found this if statment in makefile
Code: Select all
# ActiveX plugin
if BUILD_ACTIVEX
mkdir -p "$(win32_destdir)/activex"
cp $(srcdir)/projects/activex/README.TXT $(win32_destdir)/activex/
cp $(srcdir)/projects/activex/test.html $(win32_destdir)/activex/
unix2dos $(win32_destdir)/activex/*
cp $(top_builddir)/projects/activex/.libs/axvlc$(LIBEXT) $(win32_destdir)/activex/
cp $(top_srcdir)/projects/activex/axvlc.dll.manifest $(win32_destdir)/activex/
endif
do i have to delete it
Re: problem in compiling vlc 0.9.8a
Posted: 04 Feb 2009 13:34
by bryanair
Your pipe fix is close, but pasted badly. The [ ] should be tab character in there. Since tab turns into spaces when pasting you could substitute [[:blank:]], like this:
# Take the output of nm and produce a listing of raw symbols and C names
global_symbol_pipe="sed -n -e 's/^.*[[:blank:]]\([ABCDGIRSTW][ABCDGIRSTW]*\)[[:blank:]][[:blank:]]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'"
bryanair
thanks for your help this problem has been fixed
I change the line 144 in
Code: Select all
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1\\2\\3 \\3/p'"
But am having another problem when i compile now the cygwin come to some point and do nothing
i noticed that i have to enter something i enter exit and then it continue like when you press ignore
If you won't to install something and the installer found corrupted file why this error happened and how
i can solve this problem .
any how i will try to use /MinGW but plz help i don't have time to start from the 0 .
Thanks
Re: problem in compiling vlc 0.9.8a
Posted: 04 Feb 2009 15:32
by ahmad_aljallad
the same nothing happend if i won't the compile run without error
i have to replace liptool for this with libtool from 0.9.5 already
compiled before what should i do
thanks
Re: problem in compiling vlc 0.9.8a
Posted: 04 Feb 2009 17:08
by Rémi Denis-Courmont
Cross compiling from Linux is the only reliable way to get rid of those stupid build problems.