Skip to Content.
Sympa Menu

baslinux - Re: [BL] Development Tools for BL (4)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Development Tools for BL (4)
  • Date: Mon, 11 Dec 2006 01:07:19 -0800

On Mon, Dec 11, 2006 at 06:49:48AM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> Lee Forrest wrote:
> >
> > I'm going to have to rebuild the kernel to include a new serial
> > driver to get my *#@!&^% serial card to work, it seems.
>
> I suggest you use your Debian to compile a 2.2.26 kernel.
> I spliced the new serial driver into the 2.2.26 sourcecode
> and tried to compile it with the compiler from Slackware 4.0
> compiler, but it barfed.
>

Barfed here too. Must be the kernel sources rather than the
compiler.


Failed at 'make dep' and again, with same error, when I plowed
ahead and tried 'make zImage'.

gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
elf-init.oS(.text+0x1d): undefined reference to `__init_array_end'
elf-init.oS(.text+0x23): undefined reference to `__init_array_start'
elf-init.oS(.text+0x43): undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_fini':
elf-init.oS(.text+0x7a): undefined reference to `__fini_array_end'
elf-init.oS(.text+0x80): undefined reference to `__fini_array_start'
elf-init.oS(.text+0xa3): undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
make: *** [scripts/mkdep] Error 1


wget http://www.kernel.org/pub/linux/kernel/v2.2/linux-2.2.26.tar.bz2

(49 minutes!)

I had cped the new serial.c into place and added the necessary
serial options to the BL3 basic config file and commented out any
options calling for modules and CONFIG_MODULES, then named a
copy of the file .config and put it in the top source directory
and ran 'make oldconfig'. No problem there.

That look like the errors you got, Steven?

Us stone-age linux folks just have to accept that there are some
hardware and applications we can't run, right?

Lee








Archive powered by MHonArc 2.6.24.

Top of Page