On Sun, 8 Jun 2003 03:54:19 +0200, Ronald Capel wrote:
>On Sat, 7 Jun 2003 21:19:02 -0400 "Dan Jones"
><[EMAIL PROTECTED]> wrote:
>>It appears to be a problem with gcc 3.3.  The function (located in
>>net/core/rtnetlink.c) is declared as extern __inline__ int
>>rtlink_rcv_skb(struct sk_buf *skb);  gcc 3.3 doesn't want to inline
>> the function.  Changing the declaration to static inline int
>>forces
>>
>>gcc 3.3 to inline the function and allows it to compile.  However,
>>my system auto-reboots as soon as the kernel is decompressed.  I'm
>>not
>>
>>sure if the reboot problem is related to the rtnetlink_rcv_skb()
>>function or not.  It seems doubtful that network code would cause a
>> problem that early in the boot sequence but I've seen wonkier
>>stuff
>>
>>happen with the kernel.  I'd be interested in knowing if you get
>>similar behavior.
>>
>>I'm told that gcc 3.2 will compile the original source without
>>modification.  I may try downgrading my compiler and seeing if that
>> works.
>>
>>Dan
>>
>
>gcc 3.2 instead of 3.3 indeed works fine; my kernel compiled just
>finished fine with gcc 3.2. Changing anything in the source is a
>little bit out off my league, so I guess I just stick with gcc 3.2
>for now. Moreover, time is up for today...
>
>Thanks, Ronald

Have you tried booting it yet?  Would be interested in knowing if it
boots and runs correctly.

Dan




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to