All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Groth <jgroth@xpress.se>
To: Bernd Petrovitsch <bernd@gams.at>
Cc: Tom Leete <tleete@mountain.net>, linux-kernel@vger.kernel.org
Subject: Re: Kernel compile trouble
Date: Sun, 07 Jan 2001 15:09:43 +0000	[thread overview]
Message-ID: <3A5886B7.79440F06@xpress.se> (raw)
In-Reply-To: <200101071252.NAA23737@frodo.gams.co.at>

Bernd Petrovitsch wrote:
> 
> In message <3A57FA27.348780BC@mountain.net>, Tom Leete wrote:
> >You don't show your .config, but I'll make a wild guess you're compiling for
> >SMP+3DNow (probably by selecting Athlon processor). If so pick one of:
> 
> For me it is the same.
> 
> >       a) Deselect SMP, make clean make dep, etc.
> 
> gives:
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe  -march=i686 -malign-functions=4     -DEXPORT_SYMTAB -c ksyms.c
> In file included from /usr/src/linux-2.4.0/include/linux/modversions.h:93,
>                  from /usr/src/linux-2.4.0/include/linux/module.h:21,
>                  from ksyms.c:14:
> /usr/src/linux-2.4.0/include/linux/modules/i386_ksyms.ver:84: warning: `cpu_data' redefined
> /usr/src/linux-2.4.0/include/asm/processor.h:78: warning: this is the location of the previous definition
> /usr/src/linux-2.4.0/include/linux/modules/i386_ksyms.ver:88: warning: `smp_num_cpus' redefined
> /usr/src/linux-2.4.0/include/linux/smp.h:80: warning: this is the location of the previous definition
> /usr/src/linux-2.4.0/include/linux/modules/i386_ksyms.ver:90: warning: `cpu_online_map' redefined
> /usr/src/linux-2.4.0/include/linux/smp.h:88: warning: this is the location of the previous definition
> /usr/src/linux-2.4.0/include/linux/modules/i386_ksyms.ver:92: warning: `synchronize_irq' redefined
> /usr/src/linux-2.4.0/include/asm/hardirq.h:37: warning: this is the location of the previous definition
> /usr/src/linux-2.4.0/include/linux/modules/i386_ksyms.ver:104: warning: `smp_call_function' redefined
> /usr/src/linux-2.4.0/include/linux/smp.h:87: warning: this is the location of the previous definition
> In file included from /usr/src/linux-2.4.0/include/linux/modversions.h:117,
>                  from /usr/src/linux-2.4.0/include/linux/module.h:21,
>                  from ksyms.c:14:
> /usr/src/linux-2.4.0/include/linux/modules/ksyms.ver:504: warning: `del_timer_sync' redefined
> /usr/src/linux-2.4.0/include/linux/timer.h:34: warning: this is the location of the previous definition
> /usr/src/linux-2.4.0/include/linux/kernel_stat.h: In function `kstat_irqs':
> In file included from ksyms.c:17:
> /usr/src/linux-2.4.0/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function)
> /usr/src/linux-2.4.0/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once
> /usr/src/linux-2.4.0/include/linux/kernel_stat.h:48: for each function it appears in.)
> make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.0/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.0/kernel'
> make: *** [_dir_kernel] Error 2
> 
> >       b) Downgrade processor selection to i686 or k6
> 
> Does not help (for me).
> 
> >       c) See the patch I posted here Tuesday.
> 
> see above - SMP not selected.

To answer you both: It did help by deselecting SMP and APIC & IO-APIC
but only by first doing make mrproper (I did not test make clean) and
loading a saved config and after that deselecting SMP and APIC and then
make dep && make bzImage.

Thank you for your help.

Regards,
Johan

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   "Better to ask questions and seem stupid
    than not to ask questions and remain stupid" -Unknown
           Johan Groth <jgroth@xpress.se> Kupolen Data
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2001-01-07 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-07  2:49 Kernel compile trouble Johan Groth
2001-01-07  5:09 ` Tom Leete
2001-01-07 12:52   ` Bernd Petrovitsch
2001-01-07 15:09     ` Johan Groth [this message]

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=3A5886B7.79440F06@xpress.se \
    --to=jgroth@xpress.se \
    --cc=bernd@gams.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tleete@mountain.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 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.