I'm new to 64studio, but not new to Debian. I've run into a snag with
64s that I hope can be resolved.
I need to compile Matrox's Parhelia video drivers for my system. I've
downloaded the latest src from them and run their matrox...<version>.run
file, but it initially errors with:
make -C /lib/modules/2.6.29-1-multimedia-686/build
M=/opt/matrox/matroxdriver-x86_32-cvs-20090511/kernel/src modules
make: *** /lib/modules/2.6.29-1-multimedia-686/build: No such file or
directory. Stop.
make: *** [default] Error 2
So suspecting a build environment issue, I began installing all the
standard kernel building packages (source, headers, tools, etc) from 64s
repositories, but bombed on build-essential because of Debian
Bug#551023. So I'm not entirely confident I have a valid build env, but
i don't know how to resolve bug 551023.
So I investigated my Lenny machine (which has a valid build env) and
looked into /lib/modules/<kernel-version>/build and see that it is a
symbolic link to /usr/src/linux-headers-<kernel-version>/. I create the
link on the 64s machine and try to build the Parhelia driver, but it now
errors with:
> make -C /lib/modules/2.6.29-1-multimedia-686/build
> M=/opt/matrox/matroxdriver-x86_32-cvs-20090511/kernel/src modules
> make[1]: Entering directory
> `/usr/src/linux-headers-2.6.29-1-multimedia-686'
> /usr/src/linux-headers-2.6.29-1-common-multimedia/arch/x86/Makefile:41:
> /usr/src/linux-headers-2.6.29-1-common-multimedia/arch/x86/Makefile_32.cpu:
> No such file or directory
> make[3]: *** No rule to make target
> `/usr/src/linux-headers-2.6.29-1-common-multimedia/arch/x86/Makefile_32.cpu'.
> Stop.
> make[2]: *** [sub-make] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/usr/src/linux-headers-2.6.29-1-multimedia-686'
> make: *** [default] Error 2
The .../x86/Makefile_32.cpu is actually under
/usr/src/linux-source-2.6.29/arch/x86/Makefile_32.cpu.
Looking around un the lenny box, I see all kinds of symbolic links for
various source files that I don't see in the 64s machine, so I'm
thinking my 64s machine is seroiusly lacking in build env configuration,
but i don't know how to fix it.
Can anyone enlighten me?
Thanks,
Rick Bolen
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users