Re: any1 have a clue?

Denis Oliver Kropp (dok@directfb.org)
Tue, 14 May 2002 19:37:14 +0200


Quoting Marc-Christian Petersen (mcp@linux-systeme.de):
> Hi there :-)
>
> anyone have a clue what "disabled" is in 2.4.18 tree?
> I want to integrate the vmwarefb driver posted on this list for 2.4.19pre8
> into 2.4.18 ... Or does anyone test this on 2.4.19pre8 with the same problem?
>
> cc -D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
> -DKBUILD_BASENAME=vmwarefb -c -o vmwarefb.o vmwarefb.c
> vmwarefb.c: In function `init_module':
> vmwarefb.c:1513: `disabled' undeclared (first use in this function)
> vmwarefb.c:1513: (Each undeclared identifier is reported only once
> vmwarefb.c:1513: for each function it appears in.)
> make[3]: *** [vmwarefb.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.18/drivers/video/vmware'
> make[2]: *** [_modsubdir_vmware] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.18/drivers/video'
> make[1]: *** [_modsubdir_video] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.18/drivers'
> make: *** [_mod_drivers] Error 2

Sorry, I didn't check if the module version compiles.
'disabled' is a static integer in the driver. It seems that
the module parameter definitions should be after its declaration.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------"

Convergence GmbH - 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/