FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 01-02-2010, 09:37 PM
Martin Horn
 
Default Missing file: Makefile_32.cpu

Hi All,

After having my new kernel running I still need the latest
alsa-drivers so I tried to compile them myself but I ran into different
problems, searched for an easier way and found one. There is a script
which can be found in this thread on page 53 which updates my
ubuntustudio 9.10 from alsa-1.0.20 to 1.0.22:


http://ubuntuforums.org/showthread.php?t=1046137&page=53

Unfortunately it does not work on 64studio because the file /usr/src/linux-headers-2.6.31.6-rt19/arch/x86/Makefile_32.cpu is missing. I already googled but the only solution I found is to copy from a 2.6.26 source.




Does somebody know a secure fix for this?


Thanks,

Martin

_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 01-03-2010, 02:46 PM
Ralf Mardorf
 
Default Missing file: Makefile_32.cpu

Martin Horn wrote:
> Makefile_32.cpu

Now it became a running gag, see "[64studio-users] failure compiling
Matrox Parhelia video driver...". Shit!
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 01-03-2010, 03:19 PM
Ralf Mardorf
 
Default Missing file: Makefile_32.cpu

There's a patch: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501995

You need to check yourself if it's a solution, read the postings, I
didn't read them completely .



I guess you need to

$ cd /usr/share/kernel-package/ruleset/arches

$ sudo patch -p0 < patch_name

or

$ sudo patch -p1 <* patch_name

dunno.



diff -ur /usr/share/kernel-package/ruleset/arches/i386.mk /usr/share/kernel-package.new/ruleset/arches/i386.mk
--- /usr/share/kernel-package/ruleset/arches/i386.mk 2008-01-15 00:40:43.000000000 +0100
+++ /usr/share/kernel-package.new/ruleset/arches/i386.mk 2008-10-12 15:46:04.000000000 +0200
@@ -30,6 +30,7 @@
##
################################################## #############################

+KERNEL_ARCH = x86
# sub archs can be i386 i486 i586 i686
GUESS_SUBARCH:=$(shell if test -f .config; then
perl -nle '/^CONFIG_M(.86)=y/ && print "$$1"' .config;
diff -ur /usr/share/kernel-package/ruleset/targets/headers.mk /usr/share/kernel-package.new/ruleset/targets/headers.mk
--- /usr/share/kernel-package/ruleset/targets/headers.mk 2007-05-05 07:48:30.000000000 +0200
+++ /usr/share/kernel-package.new/ruleset/targets/headers.mk 2008-10-12 16:00:33.000000000 +0200
@@ -76,6 +76,12 @@
test ! -e arch/$(KERNEL_ARCH)/Makefile.cpu ||
$(install_file) arch/$(KERNEL_ARCH)/Makefile.cpu
$(SRCDIR)/arch/$(KERNEL_ARCH)
+ test ! -e arch/$(KERNEL_ARCH)/Makefile_32.cpu ||
+ $(install_file) arch/$(KERNEL_ARCH)/Makefile_32.cpu
+ $(SRCDIR)/arch/$(KERNEL_ARCH)
+ test ! -e arch/$(KERNEL_ARCH)/Makefile_64.cpu ||
+ $(install_file) arch/$(KERNEL_ARCH)/Makefile_64.cpu
+ $(SRCDIR)/arch/$(KERNEL_ARCH)
test ! -e Rules.make || $(install_file) Rules.make $(SRCDIR)
test ! -e Module.symvers || $(install_file) Module.symvers $(SRCDIR)
ifneq ($(strip $(int_follow_symlinks_in_src)),)



_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 01-03-2010, 03:24 PM
Ralf Mardorf
 
Default Missing file: Makefile_32.cpu

Ralf Mardorf wrote:
> There's a patch: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501995
> You need to check yourself if it's a solution, read the postings, I
> didn't read them completely .
>
> I guess you need to
> $ cd /usr/share/kernel-package/ruleset/arches
> $ sudo patch -p0 < patch_name
> or
> $ sudo patch -p1 < patch_name
> dunno.

The patch has to be in the folder
/usr/share/kernel-package/ruleset/arches, resp. you can run [...] >
/ptah_to_the_patch/patch_name too.

> diff -ur /usr/share/kernel-package/ruleset/arches/i386.mk /usr/share/kernel-package.new/ruleset/arches/i386.mk
> --- /usr/share/kernel-package/ruleset/arches/i386.mk 2008-01-15 00:40:43.000000000 +0100
> +++ /usr/share/kernel-package.new/ruleset/arches/i386.mk 2008-10-12 15:46:04.000000000 +0200
> @@ -30,6 +30,7 @@
> ##
> ################################################## #############################
>
> +KERNEL_ARCH = x86
> # sub archs can be i386 i486 i586 i686
> GUESS_SUBARCH:=$(shell if test -f .config; then
> perl -nle '/^CONFIG_M(.86)=y/ && print "$$1"' .config;
> diff -ur /usr/share/kernel-package/ruleset/targets/headers.mk /usr/share/kernel-package.new/ruleset/targets/headers.mk
> --- /usr/share/kernel-package/ruleset/targets/headers.mk 2007-05-05 07:48:30.000000000 +0200
> +++ /usr/share/kernel-package.new/ruleset/targets/headers.mk 2008-10-12 16:00:33.000000000 +0200
> @@ -76,6 +76,12 @@
> test ! -e arch/$(KERNEL_ARCH)/Makefile.cpu ||
> $(install_file) arch/$(KERNEL_ARCH)/Makefile.cpu
> $(SRCDIR)/arch/$(KERNEL_ARCH)
> + test ! -e arch/$(KERNEL_ARCH)/Makefile_32.cpu ||
> + $(install_file) arch/$(KERNEL_ARCH)/Makefile_32.cpu
> + $(SRCDIR)/arch/$(KERNEL_ARCH)
> + test ! -e arch/$(KERNEL_ARCH)/Makefile_64.cpu ||
> + $(install_file) arch/$(KERNEL_ARCH)/Makefile_64.cpu
> + $(SRCDIR)/arch/$(KERNEL_ARCH)
> test ! -e Rules.make || $(install_file) Rules.make $(SRCDIR)
> test ! -e Module.symvers || $(install_file) Module.symvers $(SRCDIR)
> ifneq ($(strip $(int_follow_symlinks_in_src)),)
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 02-08-2010, 04:26 PM
Daniel James
 
Default Missing file: Makefile_32.cpu

Hi Martin,

> Unfortunately it does not work on 64studio because the file
> /usr/src/linux-headers-2.6.31.6-rt19/arch/x86/Makefile_32.cpu is
> missing. I already googled but the only solution I found is to copy from
> a 2.6.26 source.

Thanks for the report, I have opened a ticket:

http://trac.64studio.com/64studio/ticket/533

Cheers!

Daniel
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 03:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org