[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.4.20 kompilieren - Error :(



On Thursday 22 May 2003 17:22, Angela Stempfel wrote:

Hi Angela,

> das habe ich gemacht...nun kommt er schon ein bisschen weiter beim
> kompilieren. aber es kommt
> immer noch ein Fehler:
> net/network.o(.text+0xf4b5): In function `rtnetlink_rcv':
> : undefined reference to `rtnetlink_rcv_skb'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
> make: *** [stamp-build] Error 2
> Hat jemand eine Idee?
ja, dieser jemand bin wieder ich ;)

Attached patch sollte helfen.

-- 
ciao, Marc


diff -Nru old/include/linux/compiler.h WOLK4/include/linux/compiler.h
--- old/include/linux/compiler.h	Fri Feb 21 19:50:41 2003
+++ WOLK4/include/linux/compiler.h	Mon Mar 10 22:34:24 2003
@@ -1,6 +1,12 @@
 #ifndef __LINUX_COMPILER_H
 #define __LINUX_COMPILER_H
 
+#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
+#define inline		__inline__ __attribute__((always_inline))
+#define __inline__	__inline__ __attribute__((always_inline))
+#define __inline	__inline__ __attribute__((always_inline))
+#endif
+
 /* Somewhere in the middle of the GCC 2.96 development cycle, we implemented
    a mechanism by which the user can annotate likely branch directions and
    expect the blocks to be reordered appropriately.  Define __builtin_expect

Reply to: