Re: Linux 2.4.22-pre10-ac1

From: Manuel Estrada Sainz (ranty@debian.org)
Date: Sat Aug 02 2003 - 01:37:49 EST


On Fri, Aug 01, 2003 at 09:09:17PM -0700, Barry K. Nathan wrote:
> ccache gcc -D__KERNEL__ -I/home/barryn/lsx/kernels/2.4/build/linux-2.4.22-pre10-ac1/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /home/barryn/lsx/kernels/2.4/build/linux-2.4.22-pre10-ac1/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=firmware_class -DEXPORT_SYMTAB -c firmware_class.c
> firmware_class.c: In function `call_helper':
> firmware_class.c:78: error: `hotplug_path' undeclared (first use in this function)
> firmware_class.c:78: error: (Each undeclared identifier is reported only once
> firmware_class.c:78: error: for each function it appears in.)
> make[1]: *** [firmware_class.o] Error 1
> make[1]: Leaving directory `/home/barryn/lsx/kernels/2.4/build/linux-2.4.22-pre10-ac1/lib'
> make: *** [_mod_lib] Error 2
[snip]
> # CONFIG_HOTPLUG is not set

 CONFIG_HOTPLUG needs to be enabled, attached patch to make it explicit:

 Just choose one of the following:

 firmware-class_2.4-lib-Config.in-incremental.diff
         - Incremental patch.
        
 firmware-class_2.4-lib-Config.in.diff
         - Updated Config.in pieces.

 firmware-class-2.4-3.2-full.diff
         - Updated full patch.

 Have a nice day

         Manuel

-- 
--- Manuel Estrada Sainz <ranty@debian.org>
                         <ranty@bigfoot.com>
			 <ranty@users.sourceforge.net>
------------------------ <manuel.estrada@hispalinux.es> -------------------
Let us have the serenity to accept the things we cannot change, courage to
change the things we can, and wisdom to know the difference.


diff -u linux-2.4.mine/lib/Config.in linux-2.4.mine/lib/Config.in --- linux-2.4.mine/lib/Config.in 2003-06-14 22:41:08.000000000 +0200 +++ linux-2.4.mine/lib/Config.in 2003-08-02 08:19:14.000000000 +0200 @@ -41,7 +41,8 @@ fi fi -if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then +if [ "$CONFIG_EXPERIMENTAL" = "y" -a \ + "$CONFIG_HOTPLUG" = "y" ]; then tristate 'Hotplug firmware loading support (EXPERIMENTAL)' CONFIG_FW_LOADER fi

diff --exclude=CVS -urN linux-2.4.orig/lib/Config.in linux-2.4.mine/lib/Config.in --- linux-2.4.orig/lib/Config.in 2003-08-02 08:22:02.000000000 +0200 +++ linux-2.4.mine/lib/Config.in 2003-08-02 08:19:14.000000000 +0200 @@ -41,4 +41,9 @@ fi fi +if [ "$CONFIG_EXPERIMENTAL" = "y" -a \ + "$CONFIG_HOTPLUG" = "y" ]; then + tristate 'Hotplug firmware loading support (EXPERIMENTAL)' CONFIG_FW_LOADER +fi + endmenu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:18 EST