lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.3.99-pre3-3 compile failure in tulip.c
Date
Hi Paul! I had the same problem. Solved it by applying this patch!
please tell me if if works for you

bye for now

Rikard Westlund


--- drivers/net/tulip/tulip.h.orig Mon Mar 20 15:56:05 2000
+++ drivers/net/tulip/tulip.h Mon Mar 20 15:54:53 2000
@@ -17,6 +17,7 @@
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <linux/timer.h>
+#include <asm/io.h>

struct tulip_chip_table {
char *chip_name;



Paul wrote:
>From: Paul Jakma <paul@clubi.ie>
>To: Linux Kernel <linux-kernel@vger.rutgers.edu>
>Subject: 2.3.99-pre3-3 compile failure in tulip.c
>Date: Tue, 21 Mar 2000 21:32:21 +0000 (GMT)
>trying to compile 2.3.99-pre2-3 with tulip as a module gives the
>following error:
>
>In file included from 21142.c:16:
>tulip.h: In function `tulip_outl_CSR6':
>tulip.h:342: warning: implicit declaration of function `outl'
>In file included from 21142.c:17:
>/misc/src/linux/include/asm/io.h: At top level:
>/misc/src/linux/include/asm/io.h:94: warning: type mismatch with
>previous implicit declaration
>tulip.h:342: warning: previous implicit declaration of `outl'
>/misc/src/linux/include/asm/io.h:94: warning: `outl' was previously
>implicitly declared to return `int'
>21142.c: In function `t21142_timer':
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>21142.c: In function `t21142_start_nway':
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>21142.c: In function `t21142_lnk_change':
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>tulip.h:342: conflicting types for `outl'
>/misc/src/linux/include/asm/io.h:94: previous declaration of `outl'
>make[3]: *** [21142.o] Error 1
>make[3]: Leaving directory `/misc/src/linux/drivers/net/tulip'
>make[2]: *** [_modsubdir_tulip] Error 2
>make[2]: Leaving directory `/misc/src/linux/drivers/net'
>make[1]: *** [_modsubdir_net] Error 2
>make[1]: Leaving directory `/misc/src/linux/drivers'
>make: *** [_mod_drivers] Error 2
>
>gcc -v:
>gcc version 2.95.2 19991024 (release)
>
>regards,
>--
>Paul Jakma paul@clubi.ie
>PGP5 key: http://www.clubi.ie/jakma/publickey.txt
>-------------------------------------------
>Fortune:
>Did you know that for the price of a 280-Z you can buy two Z-80's?
> -- P.J. Plauger
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.rutgers.edu
>Please read the FAQ at http://www.tux.org/lkml/

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.036 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site