[Lunar Linux 0000406]: kdemultimedia3 wont compile??

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Thu Dec 4 19:02:32 GMT 2003


The following bug requires your FEEDBACK.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000406
=======================================================================
Reporter:                   rcrongeyer
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000406
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
=======================================================================
Date Submitted:             2003-11-12 13:37 GMT
Last Modified:              2003-12-04 19:02 GMT
=======================================================================
Summary:                    kdemultimedia3 wont compile??
Description: 
kdemultimedia3 wont compile.
=======================================================================

-----------------------------------------------------------------------
 sofar - 2003-11-12 14:01 GMT 
-----------------------------------------------------------------------
Classic signs of problems with your kernel headers... Could this be another
kdemultimedia hell? Please provide the following info:

1) have you got kernel-headers (the module) installed?
2) what kernel have you got installed?

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-12 14:15 GMT 
-----------------------------------------------------------------------
1. No I didn't have kernel-headers installed. I just installed them, (lin
kernelheaders).

2. 2.4.20

-----------------------------------------------------------------------
 hardkrash - 2003-11-12 14:22 GMT 
-----------------------------------------------------------------------
This is the same problem from the XFS (filesystem) patch to the kernel.
The attached kernel patch will correct the header issue.  If installing
the kernel headers does not. (yes the patch says its for 2.6.0-test7, but
the file hasen't changed.

-----------------------------------------------------------------------
 hardkrash - 2003-11-12 14:26 GMT 
-----------------------------------------------------------------------
Also look at bug http://bugs.lunar-linux.org/view_bug_page.php?f_id=308

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-12 14:31 GMT 
-----------------------------------------------------------------------
I have the 2.4.20 with the aggressive patch set installed.

I guess the patch should be added to the moonbase and applied to bothe the
2.4.20 and the 2.4.20 aggressive patch set.

-----------------------------------------------------------------------
 niki - 2003-11-12 14:36 GMT 
-----------------------------------------------------------------------
It should allready be there...
As i have added it myself ;-)

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-12 15:05 GMT 
-----------------------------------------------------------------------
Ok, I installed the kernel-headers package and recompiled kdemultimedia3,
but it still failed. I'm not sure if it is failing for the same things
though, so i'll give you the latest compile log.

Also, just so you know what I have installed:

root at Lunar-Desktop ~ # uname -a
Linux Lunar-Desktop 2.4.20-lunar-r1.3.1-aggressive
http://bugs.lunar-linux.org/view_bug_page.php?f_id=1 Wed Oct 29 09:50:16
EST 2003 i686 unknown unknown GNU/Linux

I just opened:
/var/spool/lunar/linux-2.4.20-lunar-patch-set-r1.3.1.tar.bz2/aggressive
and there is "05_kde-fix1.patch" that looks almost the same as
(0000406-byteorder-2.6.0-test7.patch):

this is (05_kde-fix1.patch)

diff -Naur old/include/asm-i386/byteorder.h
new/include/asm-i386/byteorder.h
--- old/include/asm-i386/byteorder.h	2003-06-13 16:51:38.000000000 +0200
+++ new/include/asm-i386/byteorder.h	2003-09-08 20:59:43.000000000 +0200
@@ -34,7 +34,7 @@
 		return x;
 }
 
-
+#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 static inline __u64 ___arch__swab64(__u64 val) 
 { 
 	union { 
@@ -55,10 +55,11 @@
 } 
 
 #define __arch__swab64(x) ___arch__swab64(x)
+#define __BYTEORDER_HAS_U64__
+#endif
 #define __arch__swab32(x) ___arch__swab32(x)
 #define __arch__swab16(x) ___arch__swab16(x)
 
-#define __BYTEORDER_HAS_U64__
 
 #endif /* __GNUC__ */


and the new one (0000406-byteorder-2.6.0-test7.patch) is just a little
different:

--- linux-2.6.0-test7/include/asm-i386/byteorder.h.scm	2003-10-09
21:52:16.727080480 -0400
+++ linux-2.6.0-test7/include/asm-i386/byteorder.h	2003-10-08
17:20:10.000000000 -0400
@@ -34,7 +34,7 @@
 		return x;
 }
 
-
+#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 static inline __u64 ___arch__swab64(__u64 val) 
 { 
 	union { 
@@ -55,10 +55,11 @@
 } 
 
 #define __arch__swab64(x) ___arch__swab64(x)
+#define __BYTEORDER_HAS_U64__
+#endif
 #define __arch__swab32(x) ___arch__swab32(x)
 #define __arch__swab16(x) ___arch__swab16(x)
 
-#define __BYTEORDER_HAS_U64__
 
 #endif /* __GNUC__ */

-----------------------------------------------------------------------
 florin - 2003-11-12 16:23 GMT 
-----------------------------------------------------------------------
the kernel with aggressive patch have the patch present. the problem is
that when the kernel-headers moduls is installed it installs an unpatched
set of include files, so the kdemultimedia3 can't be compiled.

modificat la: 11-12 16:23

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-17 20:43 GMT 
-----------------------------------------------------------------------
the kernel with aggressive patch have the patch present. the problem is
that when the kernel-headers moduls is installed it installs an unpatched
set of include files, so the kdemultimedia3 can't be compiled.

So how do I (we) fix this??
I haven't had to compile the "kernel-headers" module to get kdemultimedia3
to install before? But I have them installed now, as I was tring to fix
this.
I guess the question is how do I (we) make a "kernel-headers" module with
the aggressive patchset? 
Or how can I make the kernel-headers my self from the aggressive patchset
kernel??

Ralph

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-18 13:38 GMT 
-----------------------------------------------------------------------
Florn,
It doesn't look like its the kernel headers thats the problem.
Here's what I did to try to prove this.
I opened two terminals, in one I did "lin -c -r linux". If I understand
this right this builds the kernal headers in the
"/usr/src/linux-2.4.20/include/asm" directory, is that right? When it got
to menuconfig (the blue and grey config menu) I left the kernel in this
state. Since the kernel has all the patches applied then the headers are
"patched headers", right?
Then in terminal two I did "lin kdemultimedia3" and it still failed to
build.

-----------------------------------------------------------------------
 niki - 2003-11-18 15:21 GMT 
-----------------------------------------------------------------------
yes, now you have the correct kernel headers in /usr/src/linux/include, but
you may still not have the correct ones in /usr/include, for that you will
have to remove 2 files in /var/spool/lunar/ which are called something
like "asm-headers-Linux-2.4.23-i386.tar.bz2" and
"kernel-headers-Linux-2.4.23-i386.tar.bz2" the only part that should/may
be different for you is the kernel version part of the filename.
Then you will have to do "lin -c glibc" and during the build process of
glibc it creates those tarballs again which is used by the kernel-headers
module which is installed at the end of the glibc compile.

Hope it clarifyes it a bit...

-----------------------------------------------------------------------
 rcrongeyer - 2003-11-18 17:03 GMT 
-----------------------------------------------------------------------
Yes, that helps alot!!
Ok so now that I know this, and I have two machines with new installs that
wouldn't compile kdemultimedia3, I tried to fix things two ways.

1. On the first machine I removed the /usr/include/asm directory and
created a symlink called asm that points to
/usr/src/linux-2.4.20/include/asm-i386 and that fixed it. kdemultimedia3
compiled with no problems and I dident have to compile glibc.
So when the kernel is compiled it creates
/usr/src/linux-2.4.20/include/asm which is a symlink to the architecture
(in my case /usr/src/linux-2.4.20/include/asm-1386) why don't we have the
linux module create (as a post install routine) a symlink "asm" in
/usr/include/ that points to /usr/src/linux-2.4.20/include/"your
architecture" ???

I seems like that would solv alot of problems.

2. the other I did what you said and recompiled glibc and that also
worked.

edited on: 11-18 17:03

-----------------------------------------------------------------------
 hardkrash - 2003-12-04 19:02 GMT 
-----------------------------------------------------------------------
where is the status of this is this to be closed?



More information about the Lunar-bugs mailing list