Re: [2.1.113] No-console config still won't build

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Wed, 5 Aug 1998 19:19:34 +0200 (MET DST)


>
> As in (at least) the last several kernel versions, v2.1.113 won't build if
> support for the VGA console has been disabled. The build quits with this error:
>
> drivers/video/video.a: could not read symbols: Archive has no index; run
> ranlib to add one
>
> The last time I complained about this a helpful person posted a patch to
> Rules.make that fixes the problem (shown below). How come this patch hasn't
> made it into the kernel? Am I the only person who is using the no-console
> config option?
>
> Thank you.
>
> 79c79,80
> < $(AR) rcs $@
> ---
> > # $(AR) rcs $@
> > echo | $(CC) -c -o $@ -x cpp-output -
>

The right fix is in drivers/video/Makefile:

# Frame Buffer Console

+ifeq ($(CONFIG_FB),y)
# Nasty trick to make sure all wanted stuff is linked in
O_TARGET = fbdev.o
L_OBJS += fbdev.o
+endif

it is in vger CVS for some time already and will be merged with the last
video patch for 2.2 cca next week.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.115 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html