All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wen-chien Jesse Sung <jesse@domain.hid>
To: adeos-main@gna.org
Subject: [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n
Date: Fri, 30 Sep 2005 19:14:41 +0800	[thread overview]
Message-ID: <433D1E21.70005@domain.hid> (raw)

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

Hi,

When ipipe is disabled, ipipe_reset_stats() is not defined, but it is
still referenced in init/main.c:rest_init().

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
init/built-in.o: In function `rest_init':
: undefined reference to `ipipe_reset_stats'
make: *** [.tmp_vmlinux1] Error 1

-- 
Best Regards,
Wen-chien Jesse Sung

[-- Attachment #2: 31_adeos-compilation-with-ipipe-disabled.patch --]
[-- Type: text/x-patch, Size: 498 bytes --]

Index: linux-2.6.13-js1/include/linux/ipipe.h
===================================================================
--- linux-2.6.13-js1.orig/include/linux/ipipe.h	2005-09-30 14:53:01.000000000 +0800
+++ linux-2.6.13-js1/include/linux/ipipe.h	2005-09-30 18:56:32.000000000 +0800
@@ -702,6 +702,8 @@
 #define ipipe_irq_lock(irq)	do { } while(0)
 #define ipipe_irq_unlock(irq)	do { } while(0)
 
+#define ipipe_reset_stats()	do { } while(0)
+
 #endif	/* CONFIG_IPIPE */
 
 #endif	/* !__LINUX_IPIPE_H */

             reply	other threads:[~2005-09-30 11:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 11:14 Wen-chien Jesse Sung [this message]
2005-10-01 10:27 ` [Adeos-main] PATCH: fail to compile with CONFIG_IPIPE=n Philippe Gerum

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=433D1E21.70005@domain.hid \
    --to=jesse@domain.hid \
    --cc=adeos-main@gna.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.