2.5.47-ac5:undefined reference to `boot_gdt_table'

2.5.47-ac5:undefined reference to `boot_gdt_table'

Post by Gregoire Favr » Sun, 17 Nov 2002 10:50:07



Hello,

I can't compil it:

        ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o arch/i386/kernel/init_task.o  init/built-in.o --start-group  usr/built-in.o  arch/i386/kernel/built-in.o  arch/i386/mm/built-in.o  arch/i386/mach-generic/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  drivers/built-in.o  sound/built-in.o  arch/i386/pci/built-in.o  net/built-in.o  lib/lib.a  arch/i386/lib/lib.a --end-group  -o .tmp_vmlinux1
arch/i386/kernel/built-in.o(.data+0x15a5): In function `gdt_48':
: undefined reference to `boot_gdt_table'
make: *** [.tmp_vmlinux1] Error 1

Should I provide other infos?
Sorry if that was already reported and I didn't notice it...

        Grgoire
________________________________________________________________

-
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.47-ac5:undefined reference to `boot_gdt_table'

Post by J.E.J. Bottomle » Sun, 17 Nov 2002 17:30:12


Quote:>    ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/
> head.o \ arch/i386/kernel/init_task.o  init/built-in.o --start-group
> usr/built-in.o  \ arch/i386/kernel/built-in.o  arch/i386/mm/built-in.o
>  \ arch/i386/mach-generic/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  drivers/built-in.o  \ sound/built-in.o  arch/i386/pci/
> built-in.o  net/built-in.o  lib/lib.a  \ arch/i386/lib/lib.a
> --end-group  -o .tmp_vmlinux1 \ arch/i386/kernel/built-in.o(.data+0x15a
> 5): In function `gdt_48': : undefined \
>                 reference to `boot_gdt_table' make: ***
> [.tmp_vmlinux1] Error 1

I think this is because -ac5 has X86_*OLINE dependent on X86_LOCAL_APIC.  
If you change

config X86_*OLINE
        bool
        depends on SMP || (VOYAGER && SMP) || X86_LOCAL_APIC

to

        depends on SMP

in arch/i386/Kconfig

does this fix the problem?

Alan: I'm just getting -ac5 up and running on voyager now, so I'll send in
this as part of the rebased patches.

James

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

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

2.5.47-ac5:undefined reference to `boot_gdt_table'

Post by Samuli Suonpa » Sun, 17 Nov 2002 23:40:04



>>        ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/
>> head.o \ arch/i386/kernel/init_task.o  init/built-in.o --start-group
>> usr/built-in.o  \ arch/i386/kernel/built-in.o  arch/i386/mm/built-in.o
>>  \ arch/i386/mach-generic/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  drivers/built-in.o  \ sound/built-in.o  arch/i386/pci/
>> built-in.o  net/built-in.o  lib/lib.a  \ arch/i386/lib/lib.a
>> --end-group  -o .tmp_vmlinux1 \ arch/i386/kernel/built-in.o(.data+0x15a
>> 5): In function `gdt_48': : undefined \
>>                 reference to `boot_gdt_table' make: ***
>> [.tmp_vmlinux1] Error 1
> I think this is because -ac5 has X86_*OLINE dependent on
> X86_LOCAL_APIC.
> If you change

> config X86_*OLINE
>    bool
>    depends on SMP || (VOYAGER && SMP) || X86_LOCAL_APIC

> to

>    depends on SMP

> in arch/i386/Kconfig

> does this fix the problem?

Worked here, at least.

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

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. PC-9800 on 2.5.47-ac5

Thanks Alan. 2.5.47-ac5 works fine for my PC-9800 box
 with additional patch. I put additional patch next URL.
http://downloads.sourceforge.jp/linux98/1561/linux98-2.5.47-ac5.patch...

But I met some not PC-9800 specific problems.
 - Doesn't boot when compile for i386 or i486.
 - Oops when remove a Card from CardBus socket.

Regards,
Osamu
-
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. Matt Schofield

3. 2.5.47-ac5 compile failure: missing linux/iobuf.h

4. How Do U run a Background Process ?

5. 2.5.47: Fix e100 driver bug on STL2 motherboard -- 'e100: hw init failed'

6. Floppy Config Problem

7. 2.5.47-bk6 hugetlbfs didn't compile

8. How to slip up to SLIP

9. undefined reference to `pw_crypt',undefined reference to `spw_unpack'

10. Build FAILED! 2.5.47 & 2.5.47-bk2

11. PNP driver changes for 2.5.47

12. 2.5.47 Minor bug in non-fatal machine check

13. ide.h cleanup, 2.5.47