public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] hp_simserial_driver required for real kernel
@ 2003-05-29 21:49 Will Cohen
  2003-05-29 22:12 ` Stephane Eranian
  0 siblings, 1 reply; 2+ messages in thread
From: Will Cohen @ 2003-05-29 21:49 UTC (permalink / raw)
  To: linux-ia64

I am starting with the linux-2.5.69.tar.bz2 and 
linux-2.5.69-ia64-030521.diff.bz2 to generate kernel sources. It appears 
there is a problem with this version of the code. I am building akernel 
for a real ia64 machine with the following options turned off:

CONFIG_IA64_GENERIC=y
# CONFIG_IA64_HP_SIM is not set

# HP Simulator drivers
#
# CONFIG_HP_SIMETH is not set
# CONFIG_HP_SIMSERIAL is not set
# CONFIG_HP_SIMSCSI is not set

The "make compressed" fails with the following error message:


         ld  -static -T arch/ia64/vmlinux.lds.s arch/ia64/kernel/head.o 
arch/ia64/kernel/init_task.o   init/built-in.o --start-group 
usr/built-in.o  arch/ia64/kernel/built-in.o  arch/ia64/mm/built-in.o 
arch/ia64/dig/built-in.o  kernel/built-in.o  mm/built-in.o 
fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o 
lib/lib.a  arch/ia64/lib/lib.a  drivers/built-in.o  sound/built-in.o 
arch/ia64/pci/built-in.o  arch/ia64/hp/common/built-in.o 
arch/ia64/hp/zx1/built-in.o  arch/ia64/hp/sim/built-in.o 
arch/ia64/oprofile/built-in.o  net/built-in.o --end-group  -o .tmp_vmlinux1
arch/ia64/hp/sim/built-in.o(.text+0x101): In function 
`simcons_console_device':
arch/ia64/hp/sim/hpsim_console.c:64: undefined reference to 
`hp_simserial_driver'
arch/ia64/hp/sim/built-in.o(.text+0x111):arch/ia64/hp/sim/hpsim_console.c:64: 
undefined reference to `hp_simserial_driver'
make: *** [.tmp_vmlinux1] Error 1

Certainly when building for a real machine there should be no need for 
the simulator serial port. Is there a fix for this? Has anyone 
successfully built the  2.5.69 kernel with the patch for a real machine?

-Will



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] hp_simserial_driver required for real kernel
  2003-05-29 21:49 [Linux-ia64] hp_simserial_driver required for real kernel Will Cohen
@ 2003-05-29 22:12 ` Stephane Eranian
  0 siblings, 0 replies; 2+ messages in thread
From: Stephane Eranian @ 2003-05-29 22:12 UTC (permalink / raw)
  To: linux-ia64

Will,

Yes, there is a bad dependency between hpsim_console.c and the simserial code.
I ran into it last week but did not get a chance to fix it just yet.

On Thu, May 29, 2003 at 05:49:30PM -0400, Will Cohen wrote:
> I am starting with the linux-2.5.69.tar.bz2 and 
> linux-2.5.69-ia64-030521.diff.bz2 to generate kernel sources. It appears 
> there is a problem with this version of the code. I am building akernel 
> for a real ia64 machine with the following options turned off:
> 
> CONFIG_IA64_GENERIC=y
> # CONFIG_IA64_HP_SIM is not set
> 
> # HP Simulator drivers
> #
> # CONFIG_HP_SIMETH is not set
> # CONFIG_HP_SIMSERIAL is not set
> # CONFIG_HP_SIMSCSI is not set
> 
> The "make compressed" fails with the following error message:
> 
> 
>         ld  -static -T arch/ia64/vmlinux.lds.s arch/ia64/kernel/head.o 
> arch/ia64/kernel/init_task.o   init/built-in.o --start-group 
> usr/built-in.o  arch/ia64/kernel/built-in.o  arch/ia64/mm/built-in.o 
> arch/ia64/dig/built-in.o  kernel/built-in.o  mm/built-in.o 
> fs/built-in.o  ipc/built-in.o  security/built-in.o  crypto/built-in.o 
> lib/lib.a  arch/ia64/lib/lib.a  drivers/built-in.o  sound/built-in.o 
> arch/ia64/pci/built-in.o  arch/ia64/hp/common/built-in.o 
> arch/ia64/hp/zx1/built-in.o  arch/ia64/hp/sim/built-in.o 
> arch/ia64/oprofile/built-in.o  net/built-in.o --end-group  -o .tmp_vmlinux1
> arch/ia64/hp/sim/built-in.o(.text+0x101): In function 
> `simcons_console_device':
> arch/ia64/hp/sim/hpsim_console.c:64: undefined reference to 
> `hp_simserial_driver'
> arch/ia64/hp/sim/built-in.o(.text+0x111):arch/ia64/hp/sim/hpsim_console.c:64: 
> undefined reference to `hp_simserial_driver'
> make: *** [.tmp_vmlinux1] Error 1
> 
> Certainly when building for a real machine there should be no need for 
> the simulator serial port. Is there a fix for this? Has anyone 
> successfully built the  2.5.69 kernel with the patch for a real machine?
> 
> -Will
> 

-- 

-Stephane


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-29 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-29 21:49 [Linux-ia64] hp_simserial_driver required for real kernel Will Cohen
2003-05-29 22:12 ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox