[vlc-devel] Need help in compiling vlc contrib library on Red Hat 4

Herman Schultz herman.schultz at gmail.com
Fri Jun 15 22:39:24 CEST 2007


Hi,

I am trying to compile extra/contrib of vlc under Red Hat 4.
I get this error when it is compiling goom.

/tmp/ccAx5Z1b.s: Assembler messages:
/tmp/ccAx5Z1b.s:212: Error: bad expression
/tmp/ccAx5Z1b.s:212: Error: missing ')'
/tmp/ccAx5Z1b.s:212: Error: missing ')'
/tmp/ccAx5Z1b.s:212: Error: junk `ebx,%ecx))' after expression
/tmp/ccAx5Z1b.s:213: Error: bad expression
/tmp/ccAx5Z1b.s:213: Error: missing ')'
/tmp/ccAx5Z1b.s:213: Error: missing ')'
/tmp/ccAx5Z1b.s:213: Error: junk `edx,%eax))' after expression
make[4]: *** [xmmx.lo] Error 1


Can you please tell me how to fix my error?

Here is a more detailed log:

make src
make[1]: Entering directory `/home/howard/src/vlc-trunk/extras/contrib'
make -C src all
make[2]: Entering directory `/home/howard/src/vlc-trunk/extras/contrib/src'
(cd goom && rm -f configure; autoconf configure.in > configure &&  sh
./configure --target=i386-redhat-linux --host=i386-redhat-linux
--build=i386-redhat-linux --program-prefix=""
--prefix=/home/howard/src/vlc-trunk/extras/contrib --disable-shared
--enable-static --disable-glibtest --disable-gtktest && make && make
install)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/howard/src/vlc-trunk/extras/contrib/src/goom/missing: Unknown `--run'
option
Try `/home/howard/src/vlc-trunk/extras/contrib/src/goom/missing --help' for
more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-redhat-linux-gnu
checking host system type... i386-redhat-linux-gnu
checking for style of include used by make... GNU
checking for i386-redhat-linux-gcc... i386-redhat-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i386-redhat-linux-gcc accepts -g... yes
checking for i386-redhat-linux-gcc option to accept ANSI C... none needed
checking dependency style of i386-redhat-linux-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i386-redhat-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i386-redhat-linux-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-redhat-linux-g++... i386-redhat-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i386-redhat-linux-g++ accepts -g... yes
checking dependency style of i386-redhat-linux-g++... gcc3
checking how to run the C++ preprocessor... i386-redhat-linux-g++ -E
checking for i386-redhat-linux-g77... no
checking for i386-redhat-linux-f77... no
checking for i386-redhat-linux-xlf... no
checking for i386-redhat-linux-frt... no
checking for i386-redhat-linux-pgf77... no
checking for i386-redhat-linux-fort77... no
checking for i386-redhat-linux-fl32... no
checking for i386-redhat-linux-af77... no
checking for i386-redhat-linux-f90... no
checking for i386-redhat-linux-xlf90... no
checking for i386-redhat-linux-pgf90... no
checking for i386-redhat-linux-epcf90... no
checking for i386-redhat-linux-f95... no
checking for i386-redhat-linux-fort... no
checking for i386-redhat-linux-xlf95... no
checking for i386-redhat-linux-ifc... no
checking for i386-redhat-linux-efc... no
checking for i386-redhat-linux-pgf95... no
checking for i386-redhat-linux-lf95... no
checking for i386-redhat-linux-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from i386-redhat-linux-gcc object... ok
checking for objdir... .libs
checking for i386-redhat-linux-ar... no
checking for ar... ar
checking for i386-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for i386-redhat-linux-strip... no
checking for strip... strip
checking if i386-redhat-linux-gcc static flag  works... yes
checking if i386-redhat-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i386-redhat-linux-gcc option to produce PIC... -fPIC
checking if i386-redhat-linux-gcc PIC flag -fPIC works... yes
checking if i386-redhat-linux-gcc supports -c -o file.o... yes
checking whether the i386-redhat-linux-gcc linker (/usr/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i386-redhat-linux-g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the i386-redhat-linux-g++ linker (/usr/bin/ld) supports
shared libraries... yes
checking for i386-redhat-linux-g++ option to produce PIC... -fPIC
checking if i386-redhat-linux-g++ PIC flag -fPIC works... yes
checking if i386-redhat-linux-g++ supports -c -o file.o... yes
checking whether the i386-redhat-linux-g++ linker (/usr/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for i386-redhat-linux-gcc... (cached) i386-redhat-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i386-redhat-linux-gcc accepts -g... (cached) yes
checking for i386-redhat-linux-gcc option to accept ANSI C... (cached) none
needed
checking dependency style of i386-redhat-linux-gcc... (cached) gcc3
checking whether ln -s works... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking whether byte ordering is bigendian... no
checking for xmms-config... no
checking for XMMS - version >= 0.9.5.1... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_attr_init in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating xmms-goom/Makefile
config.status: creating sdl-goom/Makefile
config.status: creating libgoom2.pc
config.status: executing depfiles commands
configure: goom2k4 was configured with the following options:
configure:     PPC support disabled
configure:  ** MMX support enabled
configure:  ** goom lib will be built
configure:     XMMS plugin will not be built
configure:     goom mac application will not be built
configure:     goom mac iTunes plugin will not be built
configure:     goom sdl application will not be built
make[3]: Entering directory
`/home/howard/src/vlc-trunk/extras/contrib/src/goom'
Making all in src
make[4]: Entering directory
`/home/howard/src/vlc-trunk/extras/contrib/src/goom/src'
if /bin/sh ../libtool --tag=CC --mode=compile i386-redhat-linux-gcc
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_Goom\"
-DVERSION=\"2k4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DYYTEXT_POINTER=1 -DHAVE_MMX=1 -DCPU_X86=1  -I. -I.
-I/home/howard/src/vlc-trunk/extras/contrib/include  -isystem
/home/howard/src/vlc-trunk/extras/contrib/include
-I/home/howard/src/vlc-trunk/extras/contrib/include  -isystem
/home/howard/src/vlc-trunk/extras/contrib/include -MT xmmx.lo -MD -MP -MF
".deps/xmmx.Tpo" -c -o xmmx.lo xmmx.c; \
then mv -f ".deps/xmmx.Tpo" ".deps/xmmx.Plo"; else rm -f ".deps/xmmx.Tpo";
exit 1; fi
 i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"SDL_Goom\" -DVERSION=\"2k4\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_MMX=1
-DCPU_X86=1 -I. -I. -I/home/howard/src/vlc-trunk/extras/contrib/include
-isystem /home/howard/src/vlc-trunk/extras/contrib/include
-I/home/howard/src/vlc-trunk/extras/contrib/include -isystem
/home/howard/src/vlc-trunk/extras/contrib/include -MT xmmx.lo -MD -MP -MF
.deps/xmmx.Tpo -c xmmx.c -o xmmx.o
/tmp/ccAx5Z1b.s: Assembler messages:
/tmp/ccAx5Z1b.s:212: Error: bad expression
/tmp/ccAx5Z1b.s:212: Error: missing ')'
/tmp/ccAx5Z1b.s:212: Error: missing ')'
/tmp/ccAx5Z1b.s:212: Error: junk `ebx,%ecx))' after expression
/tmp/ccAx5Z1b.s:213: Error: bad expression
/tmp/ccAx5Z1b.s:213: Error: missing ')'
/tmp/ccAx5Z1b.s:213: Error: missing ')'
/tmp/ccAx5Z1b.s:213: Error: junk `edx,%eax))' after expression
make[4]: *** [xmmx.lo] Error 1
make[4]: Leaving directory
`/home/howard/src/vlc-trunk/extras/contrib/src/goom/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/howard/src/vlc-trunk/extras/contrib/src/goom'
make[2]: *** [.goom2k4] Error 2
make[2]: Leaving directory `/home/howard/src/vlc-trunk/extras/contrib/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/howard/src/vlc-trunk/extras/contrib'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070615/f4cab0f7/attachment.html>


More information about the vlc-devel mailing list