RE: Kernel Compilation Trouble
Here is the most basic hint I can think of:
Are you sure you ran "make dep" after changing your kernel options and
before running "make modules"?
Vincent
> -----Original Message-----
> From: Anders E. Andersen [mailto:andersa@fys.ku.dk]
> Sent: Tuesday 8 October 2002 10:16
> To: debian-laptop
> Subject: Kernel Compilation Trouble
>
>
> I was trying to compile Kernel 2.4.19 (from sid/unstable) on
> my ASUS A1
> laptop (Sis chipset) but in the end I got this:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I
> /usr/lib/gcc-lib/i386-linux/2.95.4/include
> -DKBUILD_BASENAME=strstr -c
> -o strstr.o strstr.c
> rm -f lib.a
> ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o
> memcpy.o strstr.o
> make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
> make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o init/do_mounts.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 \
> drivers/char/char.o drivers/block/block.o
> drivers/misc/misc.o
> drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o
> drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o
> drivers/sound/sounddrivers.o drivers/pci/driver.o
> drivers/pcmcia/pcmcia.o drivers/pnp/pnp.o drivers/video/video.o \
> net/network.o \
> /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
> /usr/src/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> drivers/char/drm/drm.o: In function `sis_fb_alloc':
> drivers/char/drm/drm.o(.text+0x6986): undefined reference to
> `sis_malloc'
> drivers/char/drm/drm.o(.text+0x69cd): undefined reference to
> `sis_free'
> drivers/char/drm/drm.o: In function `sis_fb_free':
> drivers/char/drm/drm.o(.text+0x6b12): undefined reference to
> `sis_free'
> drivers/char/drm/drm.o: In function `sis_final_context':
> drivers/char/drm/drm.o(.text+0x6fc6): undefined reference to
> `sis_free'
> make: *** [vmlinux] Error 1
>
>
> So does anybody have any clue on what to do?
>
> - Cheers Anders
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Reply to: