All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Can't compile sg.c 2.6.8-rc1-mm1
Date: Wed, 14 Jul 2004 11:37:34 +0200	[thread overview]
Message-ID: <1089797854.1740.2.camel@teapot.felipe-alfaro.com> (raw)
In-Reply-To: <30a4d01b04071401457267defa@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

On Wed, 2004-07-14 at 11:45 +0300, Genady Okrain wrote:
> I am using gcc-3.4.1
> 
>   CC [M]  drivers/scsi/sg.o
> drivers/scsi/sg.c: In function `sg_ioctl':
> drivers/scsi/sg.c:209: sorry, unimplemented: inlining failed in call
> to 'sg_jif_to_ms': function body not available
> drivers/scsi/sg.c:930: sorry, unimplemented: called from here
> make[2]: *** [drivers/scsi/sg.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2
> 

Also, the following patch is needed for "make menuconfig" to work with
GCC 3.5.

[-- Attachment #2: gcc-35-fix-mconf.c.patch --]
[-- Type: text/x-patch, Size: 497 bytes --]

diff -uNr linux-2.6.7-mm7/scripts/kconfig/mconf.c linux-2.6.7-mm7-gcc35/scripts/kconfig/mconf.c
--- linux-2.6.7-mm7/scripts/kconfig/mconf.c	2004-06-16 07:19:02.000000000 +0200
+++ linux-2.6.7-mm7-gcc35/scripts/kconfig/mconf.c	2004-07-09 10:10:07.000000000 +0200
@@ -88,7 +88,7 @@
 static int indent;
 static struct termios ios_org;
 static int rows, cols;
-static struct menu *current_menu;
+struct menu *current_menu;
 static int child_count;
 static int do_resize;
 static int single_menu_mode;

  reply	other threads:[~2004-07-14  9:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14  8:45 Can't compile sg.c 2.6.8-rc1-mm1 Genady Okrain
2004-07-14  9:37 ` Felipe Alfaro Solana [this message]
2004-07-14 15:55 ` Jeff Garzik
2004-07-14 16:39   ` Adrian Bunk
2004-07-14 16:40     ` Jeff Garzik

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=1089797854.1740.2.camel@teapot.felipe-alfaro.com \
    --to=felipe_alfaro@linuxmail.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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.