[smpeg] Problem compiling with smpeg cvs

Lord Loki lordloki at navegalia.com
Fri Dec 6 20:16:57 EST 2002


El Vie 06 Dic 2002 20:38, Ryan C. Gordon escribió:
> > I can't compile from CVS code.
>
> I think I have a fix for this, but my automake kung-fu is not very strong.
>
> Pull the latest from cvs, re-run autogen.sh, configure, make clean, make.
>
> --ryan.

Sorry, but don't work yet.
I changed  "video/Makefile" to work, but i don't know how fix the 
configure.in.

The bash output is:


[lordloki at localhost smpeg]$ sh autogen.sh
automake: video/Makefile.am: Assembler source seen but `CCAS' not defined in 
`configure.in'
Now you are ready to run ./configure
[lordloki at localhost smpeg]$ ./con
config.status  configure
[lordloki at localhost smpeg]$ ./configure
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking for a BSD-compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for ld used by GCC... /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr//bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr//bin/ld) is GNU ld... yes
checking whether the linker (/usr//bin/ld) supports shared libraries... yes
checking command to parse /usr//bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr//bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking for a BSD-compatible install... /usr//bin/install -c
checking for socklen_t... yes
checking for sdl-config... /usr//bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for sqrt in -lm... yes
checking for gtk-config... /usr//bin/gtk-config
checking for GTK - version >= 1.2.1... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for OpenGL support... yes
checking if g++ supports -fno-rtti -fno-exceptions... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating audio/Makefile
config.status: creating video/Makefile
config.status: creating smpeg-config
config.status: creating smpeg.spec
config.status: executing depfiles commands
[lordloki at localhost smpeg]$ make clean
...............................
..................................
....................................
[lordloki at localhost smpeg]$ make install
....................................
..................................
.................................
.....................................
/bin/sh ../libtool --mode=compile g++ -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.5\"  -I. -I.     
-g -O2 -I/usr/include/SDL -D_REENTRANT -DTHREADED_AUDIO 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include  -I/usr/X11R6/include -DNDEBUG -I.. -DNOCONTROLS -I.. 
-I../audio -I../video -fno-exceptions -fno-rtti -c -o vhar128.lo `test -f 
'vhar128.cpp' || echo './'`vhar128.cpp
rm -f .libs/vhar128.lo
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" 
-DVERSION=\"0.4.5\" -I. -I. -g -O2 -I/usr/include/SDL -D_REENTRANT 
-DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DNDEBUG 
-I.. -DNOCONTROLS -I.. -I../audio -I../video -fno-exceptions -fno-rtti -c 
vhar128.cpp -MT vhar128.lo -MD -MP -MF .deps/vhar128.TPlo  -fPIC -DPIC -o 
.libs/vhar128.lo
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" 
-DVERSION=\"0.4.5\" -I. -I. -g -O2 -I/usr/include/SDL -D_REENTRANT 
-DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DNDEBUG 
-I.. -DNOCONTROLS -I.. -I../audio -I../video -fno-exceptions -fno-rtti -c 
vhar128.cpp -MT vhar128.lo -MD -MP -MF .deps/vhar128.TPlo -o vhar128.o 
>/dev/null 2>&1
mv -f .libs/vhar128.lo vhar128.lo
/bin/sh ../libtool --mode=compile    -c -o mmxflags_asm.lo `test -f 
'mmxflags_asm.S' || echo './'`mmxflags_asm.S
libtool: unrecognized option `-c'
Try `libtool --help' for more information.
make[1]: *** [mmxflags_asm.lo] Error 1
make[1]: Saliendo directorio `/home/lordloki/Multimedia/Librerias/smpeg/video'
make: *** [install-recursive] Error 1




I have changed in video/Makefile this:
.S.lo:
	$(LTCCASCOMPILE)  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<

TO:
.S.lo:
	$(LTCCASCOMPILE) &(CC)  -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<

thanks for your help and forgive my english.





More information about the smpeg mailing list