not sure what i am doing here but here's what I did:
1: upgraded to kernel 2.6.6 - compiled make install ran NVidia installer - all ok.
2: now using new kernel - can't compile new programs - realised I haven't upgraded the headers.
3: removed 2.4.26 headers package then copied:
asm (link to asm-i386)
FROM the untouched original source in /usr/src/linux-2.6.6
4: recompiled 2.6.6 kernel - all ok
5: tried to recompile MPlayer, ./configure --enable-gui worked ok but when I tried to "make" it got the this error (last few lines):
make -C loader
make: Entering directory `/home/tuttle/sources/MPlayer-1.0pre4/loader'
cc -I. -I.. -I../libvo/ -I../../libvo -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -U_FILE_OFFSET_BITS -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__ -c ldt_keeper.c
ldt_keeper.c:28:27: linux/version.h: No such file or directory
ldt_keeper.c:29:41: missing binary operator before '('
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:175: storage size of `array' isn't known
ldt_keeper.c:208: sizeof applied to an incomplete type
make: *** [ldt_keeper.o] Error 1
make: Leaving directory `/home/tuttle/sources/MPlayer-1.0pre4/loader'
make: *** [loader/libloader.a] Error 2
I also reinstalled most of the packages from the slackware/d/ directory on the disk to see if that helped, at first I messed things up and the system couldn't find the "as" comand so I installed the package (previously removed during a dropline update) which provides "as" command - "binutils" but now I seem to be back at square one!
I know I've done something really stoopid so please be gentle!!
edit: I didn't link /usr/src/linux-2.6.6 to /usr/src/linux so I did this with no effect
also, I got supertux to compile ok, does that mean mplayer is playing up?!
sorry, forgot to mention that I haven't tried to compile this version of mplayer (1.0pre4) before.