2.5.29 compile error [undefined reference to `register_serial']

2.5.29 compile error [undefined reference to `register_serial']

Post by Nick Marten » Thu, 01 Aug 2002 21:00:19



I am trying to compile 2.5.29 but I am running into some compilation problems
i have attached my .config

make[1]: Leaving directory `/usr/src/newkrnls/linux-2.5.29/init'
  ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/init.o --start-group
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o security/built-in.o
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a lib/lib.a
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a drivers/built-in.o
sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `serial_register':
drivers/built-in.o(.text+0x316af): undefined reference to `register_serial'
drivers/built-in.o: In function `parport_serial_pci_remove':
drivers/built-in.o(.text+0x319a8): undefined reference to `unregister_serial'
make: *** [vmlinux] Error 1

  .config
22K Download
 
 
 

2.5.29 compile error [undefined reference to `register_serial']

Post by Nick Marten » Thu, 01 Aug 2002 21:30:13


I think this output is better

[......]
make[1]: Leaving directory `/usr/src/newkrnls/linux-2.5.29/arch/i386/pci'
  Generating build number
make[1]: Entering directory `/usr/src/newkrnls/linux-2.5.29/init'
  Generating /usr/src/newkrnls/linux-2.5.29/include/linux/compile.h (updated)
  gcc -Wp,-MD,./.version.o.d -D__KERNEL__
-I/usr/src/newkrnls/linux-2.5.29/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=version   -c -o version.o version.c
   ld -m elf_i386  -r -o init.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/newkrnls/linux-2.5.29/init'
  ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/init.o --start-group
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o security/built-in.o
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a lib/lib.a
/usr/src/newkrnls/linux-2.5.29/arch/i386/lib/lib.a drivers/built-in.o
sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `serial_register':
drivers/built-in.o(.text+0x316af): undefined reference to `register_serial'
drivers/built-in.o: In function `parport_serial_pci_remove':
drivers/built-in.o(.text+0x319a8): undefined reference to `unregister_serial'
make: *** [vmlinux] Error 1

Quote:> I am trying to compile 2.5.29 but I am running into some compilation
> problems i have attached my .config

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.29 compile error [undefined reference to `register_serial']

Post by Russell Kin » Fri, 02 Aug 2002 05:00:09



> I am trying to compile 2.5.29 but I am running into some compilation problems
> i have attached my .config

You need to enable:

Quote:> #
> # Serial drivers
> #
> # CONFIG_SERIAL_8250 is not set

this option.

(hmm, parport_serial is earlier in the config system; maybe we should
suck it into drivers/serial so the config system works as expected?)

--

             http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.29 compile error [undefined reference to `register_serial']

Post by Nick Marten » Fri, 02 Aug 2002 18:30:07


Ok thanks a lot



> > I am trying to compile 2.5.29 but I am running into some compilation
> > problems i have attached my .config

> You need to enable:
> > #
> > # Serial drivers
> > #
> > # CONFIG_SERIAL_8250 is not set

> this option.

> (hmm, parport_serial is earlier in the config system; maybe we should
> suck it into drivers/serial so the config system works as expected?)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/