Hi,
Changing to gcc-2.95.3 eliminated that problem for me. Here are my notes
from installing gcc-2.95.3 so I can use it selectively. This compiles a
static gcc and installs it in '/usr/local/gcc'. Normally this gcc would be
ignored, but if I want to use it to compile I simply change the search
path in the xterm I am compiling in to look in the gcc-2.95.3 location
first:
export PATH=/usr/local/gcc/bin:$PATH
Source
------
ftp://ftp.gnu.org/gnu/gcc/gcc-2.95.3.tar.gz
ftp://ftp.linuxfromscratch.org/lfs-packages/3.0/gcc-2.95.3-2.patch.bz2
Installation
------------
Here are the steps take to build gcc:
tar xzf sources/gcc-2.95.3.tar.gz
bunzip2 sources/cc-2.95.3-2.patch.bz2 | patch
mkdir -p gcc-build/tmp
cd gcc-build
../gcc-2.95.3/configure --prefix=/usr/local/gcc --enable-languages=c,c++ \
--disable-nls --disable-shared --enable-threads=posix
make BOOT_LDFLAGS=-static bootstrap
make install
IMPORTANT: Before compiling anything always make the 'bin' directory in
your home directory the first path to search. To do this run:
export PATH=/usr/local/gcc/bin:$PATH
Make sure to use the particular shell with this path for all compiling!
To confirm the new gcc is actually in your path run 'which gcc', it should
return something like '/usr/local/gcc//bin/gcc'.
Now avifile-0.53.5 barks with a different error which seems to be resolved
by instruction I found in the list archive:
Edit 'lib/loader/Makefile.am' and add -D__NO_STRING_INLINES to the CFLAGS.
Hope this helps...
aviplay and qtvidcap still segfaults for me with:
Xlib: extension "RENDER" missing on display "big.adis.on.ca:0.0".
I guess this is because my XFree86 ATI driver doesn't support the RENDER
extension. Anyone know how to compile this thing without RENDER support?
Adi
> The configure script runs without error and I do have the win32 dll's in
> /usr/lib/win32.
>
> Making all in player
> make[1]: Entering directory `/usr/local/src/avifile-0.53.5/player'
> /bin/sh ../libtool --silent --mode=link c++ -I../include
> -I/usr/X11R6/include -I/usr/lib/qt-2.3.1/include -I/usr/include/SDL
> -D_REENTRANT
> -DSHARE_PATH=\"/usr/local/share/avifile\" -DWIN32_PATH=\"/usr/lib/win32\" -march=i586
> -lpthread -ldl -L/usr/X11R6/lib -lX11 -lXext -L/usr/lib/qt-2.3.1/lib
> -lqt-mt -L/usr/lib -Wl,-rpath,/usr/lib
> -lSDL -lpthread -lm -L/usr/lib -ldl -lartsc -DPIC -fPIC -lpthread
> -L/usr/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm
> -lXxf86dga -lXv -ldl -o aviplay main.o renderer.o mywidget_if.o
> MyConfig.o MyConfigImpl.o mywidget.o decoder_config.o mmx.o
> ../lib/libaviplay.la -lXxf86vm -lXxf86dga -lpthread -ldl
> ../lib/.libs/libaviplay.so: undefined reference to
> `Mpegtoraw::generate(void)'
> ../lib/.libs/libaviplay.so: undefined reference to
> `Mpegtoraw::generate_2(void)'
> collect2: ld returned 1 exit status
> make[1]: *** [aviplay] Error 1
> make[1]: Leaving directory `/usr/local/src/avifile-0.53.5/player'
> make: *** [all-recursive] Error 1
>
>
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile