On Thu, Jul 13, 2006 at 06:12:00PM +0100, Darren Salt wrote:
That symbol is no longer defined. It tells me that you did a CVS update, pulling in certain changes which require certain action(s) to be taken. You've not done what's needed.
If, during a CVS update, you see changes in the m4 directory or to configure.ac, you *MUST* then re-run autogen.sh. You should append your usual configuration options, exactly as if running configure.
Otherwise, if you see changes to any Makefile.am, you *MUST* re-run automake and ./config.status (although this should happen automatically when you run make).
If you don't - well, you've seen what can happen.
Oh, many thanks for the explanation, you are right, I never run automake... I added it to my compil script :
#!/bin/bash p=/data/linux/dvb/patches/xine/xine-lib.patch MAKE='sudo nice -n 4 make' OPTIONS="show update dry-run apply undry-run unapply compile exit" select opt in $OPTIONS; do if [ "$opt" = "show" ]; then vi $p elif [ "$opt" = "update" ]; then cvs -q -z3 update -d -P elif [ "$opt" = "dry-run" ]; then patch --dry-run -p1 < $p elif [ "$opt" = "apply" ]; then patch -p1 < $p elif [ "$opt" = "undry-run" ]; then patch --dry-run -p1 -R < $p elif [ "$opt" = "unapply" ]; then patch -p1 -R < $p elif [ "$opt" = "compile" ]; then sudo rm -fr /usr/include/xine.h /usr/include/xine && \ sudo ./autogen.sh --prefix=/usr --with-xvmc-lib=XvMCNVIDIA \ --with-xxmc-lib=XvMCNVIDIA \ --with-xvmc-path=/usr/X11R6/lib --with-xxmc-path=/usr/X11R6/lib \ --x-includes=/usr/include --with-xv-path=/usr/X11R6/lib && \ sudo automake && $MAKE && $MAKE install && $MAKE distclean elif [ "$opt" = "exit" ]; then exit else echo bad option fi done
But that wasn't enough : with this I still got the same compilation error... so I fetched a brand new xine-lib from CVS and there is first the missing /usr/include/alsa/asoundlib.h as before and : gcc -shared .libs/input_vdr.o -Wl,--rpath -Wl,/usr/src/CVS/xine-lib/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../ -march=k8 @XINE_PLUGIN_MIN_SYMS@ -Wl,-soname -Wl,xineplug_inp_vdr.so -o .libs/xineplug_inp_vdr.so x86_64-pc-linux-gnu-gcc: @XINE_PLUGIN_MIN_SYMS@: No such file or directory make[3]: *** [xineplug_inp_vdr.la] Error 1 make[3]: Leaving directory `/usr/src/CVS/xine-lib/src/vdr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/CVS/xine-lib/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/CVS/xine-lib' make: *** [all] Error 2
I don't see what's I've done false here ?