public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.4 Build problem
@ 2004-03-29 22:23 J
  2004-03-29 23:36 ` [PATCH] " Tony Breeds
  0 siblings, 1 reply; 2+ messages in thread
From: J @ 2004-03-29 22:23 UTC (permalink / raw)
  To: Linux-Kernel

I did this:
untar ... # unpack 2.2.2
cd linux*
patch ... # patch to 2.6.3
patch ... # patch to 2.6.4
make -s allnoconfig
make -s xconfig
time make -s modules bzImage

and got build errors, so ...
mv .config ..
make -s mrproper
cp ../.config .
make -s oldconfig
time make  modules bzImage  >../build-log 2>&1
and got the same errors. The build terminates thus:
summer@Dolphin:~/pebble/kernel/linux-2.6.4$ tail -30 ../build-log
  CC [M]  lib/zlib_deflate/deflate_syms.o
  LD [M]  lib/zlib_deflate/zlib_deflate.o
  LD      lib/zlib_inflate/built-in.o
  CC [M]  lib/zlib_inflate/infblock.o
  CC [M]  lib/zlib_inflate/infcodes.o
  CC [M]  lib/zlib_inflate/inffast.o
  CC [M]  lib/zlib_inflate/inflate.o
  CC [M]  lib/zlib_inflate/inftrees.o
  CC [M]  lib/zlib_inflate/infutil.o
  CC [M]  lib/zlib_inflate/inflate_syms.o
  LD [M]  lib/zlib_inflate/zlib_inflate.o
  LD      arch/i386/lib/built-in.o
  AS      arch/i386/lib/checksum.o
  CC      arch/i386/lib/delay.o
  AS      arch/i386/lib/getuser.o
  CC      arch/i386/lib/memcpy.o
  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x435e1): In function `ibmasm_register_uart':
: undefined reference to `register_serial'
drivers/built-in.o(.text+0x43649): In function `ibmasm_unregister_uart':
: undefined reference to `unregister_serial'
make: *** [.tmp_vmlinux1] Error 1
summer@Dolphin:~/pebble/kernel/linux-2.6.4$


The config file is at http://info.computerdatasafe.com.au/.config
and the build log at http://info.computerdatasafe.com.au/build-log


My real email:
echo summer?computerdatasafe.com.au | tr '?' '@'

Is there a workaround to get this built?

I'll locate and check the list in a day or so.



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

* [PATCH] Re: 2.6.4 Build problem
  2004-03-29 22:23 2.6.4 Build problem J
@ 2004-03-29 23:36 ` Tony Breeds
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Breeds @ 2004-03-29 23:36 UTC (permalink / raw)
  To: J; +Cc: Linux-Kernel

On Tue, Mar 30, 2004 at 06:23:51AM +0800, J wrote:
> I did this:
> untar ... # unpack 2.2.2

I guess you meant 2.6.2 :)

<snip>
>   LD      .tmp_vmlinux1
> drivers/built-in.o(.text+0x435e1): In function `ibmasm_register_uart':
> : undefined reference to `register_serial'
> drivers/built-in.o(.text+0x43649): In function `ibmasm_unregister_uart':
> : undefined reference to `unregister_serial'
> make: *** [.tmp_vmlinux1] Error 1
> summer@Dolphin:~/pebble/kernel/linux-2.6.4$

those symbols are exported from the 8250 driver, so in the shortterm use
*config to set that to y and you should be happy.

I don't know it it's correct but it seems to me that there should be a
kbuild dependancy here.

################################################################################
--- 2.6.4.clean/drivers/misc/Kconfig	2004-03-11 17:57:23.000000000 +1100
+++ 2.6.4.noconfig/drivers/misc/Kconfig	2004-03-30 09:32:07.000000000 +1000
@@ -6,7 +6,7 @@
 
 config IBM_ASM
 	tristate "Device driver for IBM RSA service processor"
-	depends on X86
+	depends on X86 && SERIAL_8250
 	default n
 	---help---
 	  This option enables device driver support for in-band access to the
################################################################################

Yours Tony

        linux.conf.au       http://lca2005.linux.org.au/
	Apr 18-23 2005      The Australian Linux Technical Conference!


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

end of thread, other threads:[~2004-03-29 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 22:23 2.6.4 Build problem J
2004-03-29 23:36 ` [PATCH] " Tony Breeds

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