mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
To: linux-kernel@vger.kernel.org
Subject: UP build broken (Re: 2.6.0-test11-mm1)
Date: Wed, 17 Dec 2003 12:57:21 +0100	[thread overview]
Message-ID: <d8j1xr34py6.fsf@wirth.ping.uio.no> (raw)
In-Reply-To: <20031217014350.028460b2.akpm@osdl.org>

Hi

Without CONFIG_SMP (regardless of CONFIG_X86_UP_(IO)APIC) I get the
following build error:

  CC      arch/i386/kernel/cpu/intel.o
In file included from arch/i386/kernel/cpu/intel.c:14:
include/asm-i386/mach-default/mach_apic.h:8: error: syntax error before "target_cpus"
include/asm-i386/mach-default/mach_apic.h:9: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `target_cpus':
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `mk_cpumask_const'
include/asm-i386/mach-default/mach_apic.h:13: warning: implicit declaration of function `cpumask_of_cpu'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:32: error: syntax error before "bitmap"
include/asm-i386/mach-default/mach_apic.h:33: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_used':
include/asm-i386/mach-default/mach_apic.h:34: warning: implicit declaration of function `physid_isset'
include/asm-i386/mach-default/mach_apic.h:34: error: `apicid' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:34: error: (Each undeclared identifier is reported only once
include/asm-i386/mach-default/mach_apic.h:34: error: for each function it appears in.)
include/asm-i386/mach-default/mach_apic.h:34: error: `bitmap' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `check_apicid_present':
include/asm-i386/mach-default/mach_apic.h:39: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `init_apic_ldr':
include/asm-i386/mach-default/mach_apic.h:53: warning: implicit declaration of function `apic_write_around'
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:53: error: `APIC_DFR_FLAT' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: warning: implicit declaration of function `apic_read'
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:54: error: `APIC_LDR_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:55: warning: implicit declaration of function `SET_APIC_LOGICAL_ID'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "ioapic_phys_id_map"
include/asm-i386/mach-default/mach_apic.h:59: error: syntax error before "phys_map"
include/asm-i386/mach-default/mach_apic.h:60: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h:60: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `ioapic_phys_id_map':
include/asm-i386/mach-default/mach_apic.h:61: error: `phys_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `clustered_apic_check':
include/asm-i386/mach-default/mach_apic.h:67: error: `nr_ioapics' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:91: error: syntax error before "apicid_to_cpu_present"
include/asm-i386/mach-default/mach_apic.h:92: warning: return type defaults to `int'
include/asm-i386/mach-default/mach_apic.h: In function `apicid_to_cpu_present':
include/asm-i386/mach-default/mach_apic.h:93: warning: implicit declaration of function `physid_mask_of_physid'
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_translation' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h:97: warning: its scope is only this definition or declaration, which is probably not what you want
include/asm-i386/mach-default/mach_apic.h:97: warning: `struct mpc_config_processor' declared inside parameter list
include/asm-i386/mach-default/mach_apic.h: In function `mpc_apic_id':
include/asm-i386/mach-default/mach_apic.h:100: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:101: error: `CPU_FAMILY_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:102: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:102: error: `CPU_MODEL_MASK' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:103: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h:104: error: dereferencing pointer to incomplete type
include/asm-i386/mach-default/mach_apic.h: In function `check_phys_apicid_present':
include/asm-i386/mach-default/mach_apic.h:113: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: In function `apic_id_registered':
include/asm-i386/mach-default/mach_apic.h:118: error: `APIC_ID' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h:118: error: `phys_cpu_present_map' undeclared (first use in this function)
include/asm-i386/mach-default/mach_apic.h: At top level:
include/asm-i386/mach-default/mach_apic.h:121: error: syntax error before "cpumask"
include/asm-i386/mach-default/mach_apic.h:122: warning: function declaration isn't a prototype
include/asm-i386/mach-default/mach_apic.h: In function `cpu_mask_to_apicid':
include/asm-i386/mach-default/mach_apic.h:123: warning: implicit declaration of function `cpus_coerce_const'
include/asm-i386/mach-default/mach_apic.h:123: error: `cpumask' undeclared (first use in this function)
make[1]: *** [arch/i386/kernel/cpu/intel.o] Error 1
make: *** [arch/i386/kernel/cpu/intel.o] Error 2


-- 
ilmari


  parent reply	other threads:[~2003-12-17 11:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17  9:43 2.6.0-test11-mm1 Andrew Morton
2003-12-17 10:13 ` Question about UFS/UFS2 Niraj Kumar
2003-12-17 10:37 ` 2.6.0-test11-mm1 Andrew Walrond
2003-12-17 11:11   ` 2.6.0-test11-mm1 Christian Axelsson
2003-12-17 11:51     ` 2.6.0-test11-mm1 Andrew Morton
2003-12-18  3:24       ` 2.6.0-test11-mm1 Thomas Molina
2003-12-18  3:36         ` 2.6.0-test11-mm1 Andrew Morton
2003-12-19 18:21           ` 2.6.0-test11-mm1 Jens Axboe
2003-12-17 11:52 ` 2.6.0-test11-mm1 Andrew Morton
2003-12-17 13:30   ` 2.6.0-test11-mm1 Felipe Alfaro Solana
2003-12-17 11:57 ` Dagfinn Ilmari Mannsåker [this message]
2003-12-17 11:55   ` UP build broken (Re: 2.6.0-test11-mm1) Luiz Fernando Capitulino
2003-12-17 13:56 ` 2.6.0-test11-mm1 Zwane Mwaikambo
2003-12-17 18:22 ` 2.6.0-test11-mm1 Diego Calleja García
2003-12-17 22:01   ` 2.6.0-test11-mm1 Andrew Morton
2003-12-17 23:59     ` 2.6.0-test11-mm1 Paul Mackerras
2003-12-19 16:58 ` [patch] 2.6.0-test11-mm1: isdn/eicon/eicon_mod.c doesn't compile Adrian Bunk
2003-12-26 18:22 ` SUCCESS Re: 2.6.0-test11-mm1 Matthias Urlichs
2003-12-26 19:15   ` Linus Torvalds
2003-12-28 21:59     ` Matthias Urlichs

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=d8j1xr34py6.fsf@wirth.ping.uio.no \
    --to=ilmari@ilmari.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome