All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <fsdeveloper@yahoo.de>
To: "Rafał 'rmrmg' Roszak" <rmrmg@wp.pl>
Cc: kai.germaschewski@gmx.de, marcelo@conectiva.com.br,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.4.21-bk1] isdn_ppp compile warning fix
Date: Sun, 6 Jul 2003 12:42:19 +0200	[thread overview]
Message-ID: <200307061242.28691.fsdeveloper@yahoo.de> (raw)
In-Reply-To: <20030706113047.10a59491.rmrmg@wp.pl>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 06 July 2003 11:30, Rafał 'rmrmg' Roszak wrote:
> begin  Michael Buesch <fsdeveloper@yahoo.de> quote:
> >fixes these warnings:
> >isdn_ppp.c: In function `isdn_ppp_free':
> >isdn_ppp.c:114: Warnung: concatenation of string literals with
>
> [root@slack:/usr/src/linux-2.4.21-bk1#] make bzImage
> [...]
>
> ld -m elf_i386 -T /usr/src/linux-2.4.21-bk1/arch/i386/vmlinux.lds -e
> stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o init/do_mounts.o \	--start-group \
> 	arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
> fs/fs.o ipc/ipc.o \	 drivers/char/char.o drivers/block/block.o
> drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o
> drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o
> drivers/media/media.o drivers/isdn/vmlinux-obj.o \	net/network.o \
> 	/usr/src/linux-2.4.21-bk1/arch/i386/lib/lib.a
> /usr/src/linux-2.4.21-bk1/lib/lib.a
> /usr/src/linux-2.4.21-bk1/arch/i386/lib/lib.a \	--end-group \
> 	-o vmlinux
>
> arch/i386/kernel/kernel.o(.text+0x6f7d): In function `sys_ipc':
> : undefined reference to `sys_semtimedop'
>
> make: *** [vmlinux] Błąd 1
>
> System: Slackware 9.0 with gcc-3.2.3
> config in attachment

This has nothing to do with my patch, but I've seen this
error on my system, too.
I've looked a long time over the code, but I couldn't find a
solution.
Seems, that sys_semtimedop() is never defined. (I haven't found
a definition). This error was introduced in bk1 by these changes:

- --- /usr/src/linux/arch/i386/kernel/sys_i386.c  2001-03-19 21:35:09.000000000 +0100
+++ /home/mb/linuxtest/linux-2.4.21/arch/i386/kernel/sys_i386.c 2003-07-05 20:25:55.000000000 +0200
@@ -139,7 +139,10 @@
 
        switch (call) {
        case SEMOP:
- -               return sys_semop (first, (struct sembuf *)ptr, second);
+               return sys_semtimedop (first, (struct sembuf *)ptr, second, NULL);
+       case SEMTIMEDOP:
+               return sys_semtimedop (first, (struct sembuf *)ptr, second, 
+                                      (const struct timespec *)fifth);
        case SEMGET:
                return sys_semget (first, second, third);
        case SEMCTL: {
@@ -200,7 +203,7 @@
                return sys_shmctl (first, second,
                                   (struct shmid_ds *) ptr);
        default:
- -               return -EINVAL;
+               return -ENOSYS;
        }
 }

Who made these changes?

- -- 
Regards Michael Buesch
http://www.8ung.at/tuxsoft
 12:37:41 up 47 min,  1 user,  load average: 1.04, 1.08, 1.01

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/B/0UoxoigfggmSgRAlsoAJ9xKY0RZsFABzHDFDs2Egtu4VfvZwCfQ4HD
nGvT7CGmV/reSTyRJ2Qk/WQ=
=Ex3R
-----END PGP SIGNATURE-----


  reply	other threads:[~2003-07-06 10:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-05 18:58 [PATCH 2.4.21-bk1] isdn_ppp compile warning fix Michael Buesch
2003-07-06  9:30 ` Rafał 'rmrmg' Roszak
2003-07-06 10:42   ` Michael Buesch [this message]
2003-07-06 13:56   ` Marcelo Tosatti

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=200307061242.28691.fsdeveloper@yahoo.de \
    --to=fsdeveloper@yahoo.de \
    --cc=kai.germaschewski@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=rmrmg@wp.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.