mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
To: Tom Vier <tmv@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: conflicting types for sys_swap{on,off} Re: Linux 2.5.44-ac5
Date: Mon, 28 Oct 2002 22:55:52 +0000	[thread overview]
Message-ID: <20021028225552.E2396@Marvin.DL8BCU.ampr.org> (raw)
In-Reply-To: <20021028224651.GA11490@yzero>; from tmv@comcast.net on Mon, Oct 28, 2002 at 05:46:51PM -0500

On Mon, Oct 28, 2002 at 05:46:51PM -0500, Tom Vier wrote:
> i'm not sure how to fix this. does anyone have a patch?
> 
> make -f kernel/Makefile 
>   gcc -Wp,-MD,kernel/.sys.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sys -DEXPORT_SYMTAB  -c -o kernel/sys.o kernel/sys.c
> kernel/sys.c:216: conflicting types for `sys_swapon'
> include/linux/swap.h:212: previous declaration of `sys_swapon'
> kernel/sys.c:217: conflicting types for `sys_swapoff'
> include/linux/swap.h:211: previous declaration of `sys_swapoff'
> make[1]: *** [kernel/sys.o] Error 1
> make: *** [kernel] Error 2

I just commented out both lines from kernel/sys.c to make it compile.
Don't know what the proper fix might be.

Thorsten

> 
> 
> -- 
> Tom Vier <tmv@comcast.net>
> DSA Key ID 0xE6CB97DA
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
| Thorsten Kranzkowski        Internet: dl8bcu@dl8bcu.de                      |
| Mobile: ++49 170 1876134       Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |

  reply	other threads:[~2002-10-28 22:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 14:52 Alan Cox
2002-10-28 18:18 ` Sam Ravnborg
2002-10-28 18:55   ` Alan Cox
2002-10-28 22:13   ` Bill Davidsen
2002-10-28 22:46 ` conflicting types for sys_swap{on,off} " Tom Vier
2002-10-28 22:55   ` Thorsten Kranzkowski [this message]
2002-10-28 23:56 ` ipt_do_table unaligned traps " Tom Vier
2002-10-29 10:00 ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021028225552.E2396@Marvin.DL8BCU.ampr.org \
    --to=dl8bcu@dl8bcu.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tmv@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®