compile error in sis_main.h

From: Martin Köbele (martin@mkoebele.de)
Date: Fri Nov 29 2002 - 14:59:56 EST


this error was already posted by me (Aug 23., kernel 2.5.31) and Justin Pryzby
(beginning of November), but I didn't find a reply to this problem.

is the error in my configuration?
thanks!

Martin Koebele

include -DKBUILD_BASENAME=sis_main -DKBUILD_MODNAME=sisfb -DEXPORT_SYMTAB
-c -o drivers/video/sis/sis_main.o drivers/video/sis/sis_main.c
In file included from drivers/video/sis/sis_main.c:57:
drivers/video/sis/sis_main.h:299: parse error before `sisfbinfo'
drivers/video/sis/sis_main.h:299: warning: type defaults to `int' in
declaration of `sisfbinfo'
drivers/video/sis/sis_main.h:299: warning: data definition has no type or
storage class
drivers/video/sis/sis_main.c: In function `sisfb_query_north_bridge_space':
drivers/video/sis/sis_main.c:206: `SIS_650' undeclared (first use in this
function)
drivers/video/sis/sis_main.c:206: (Each undeclared identifier is reported only
once
drivers/video/sis/sis_main.c:206: for each function it appears in.)
drivers/video/sis/sis_main.c: In function `sisfb_set_disp':
drivers/video/sis/sis_main.c:666: structure has no member named `visual'
drivers/video/sis/sis_main.c:667: structure has no member named `type'
drivers/video/sis/sis_main.c:668: structure has no member named `type_aux'
drivers/video/sis/sis_main.c:669: structure has no member named `ypanstep'
drivers/video/sis/sis_main.c:670: structure has no member named `ywrapstep'
drivers/video/sis/sis_main.c:671: structure has no member named `line_length'
drivers/video/sis/sis_main.c:677: warning: implicit declaration of function
`save_flags'
drivers/video/sis/sis_main.c:709: warning: implicit declaration of function
`restore_flags'
drivers/video/sis/sis_main.c:654: warning: `flags' might be used uninitialized
in this function
drivers/video/sis/sis_main.c: In function `sisfb_heap_init':
drivers/video/sis/sis_main.c:1340: structure has no member named `heapstart'
drivers/video/sis/sis_main.c:1342: structure has no member named `heapstart'
drivers/video/sis/sis_main.c:1344: structure has no member named `heapstart'
drivers/video/sis/sis_main.c:1347: structure has no member named `heapstart'
drivers/video/sis/sis_main.c:1350: structure has no member named `heapstart'
drivers/video/sis/sis_main.c:1352: structure has no member named `heapstart'
drivers/video/sis/sis_main.c: In function `sisfb_ioctl':
drivers/video/sis/sis_main.c:2490: `SISFB_GET_INFO' undeclared (first use in
this function)
drivers/video/sis/sis_main.c:2492: `sisfb_info' undeclared (first use in this
function)
drivers/video/sis/sis_main.c:2492: `x' undeclared (first use in this function)
drivers/video/sis/sis_main.c:2492: parse error before `)'
drivers/video/sis/sis_main.c:2494: `SISFB_ID' undeclared (first use in this
function)
drivers/video/sis/sis_main.c:2500: structure has no member named `heapstart'
drivers/video/sis/sis_main.c: At top level:
drivers/video/sis/sis_main.c:2563: unknown field `fb_get_fix' specified in
initializer
drivers/video/sis/sis_main.c:2563: warning: initialization from incompatible
pointer type
drivers/video/sis/sis_main.c:2564: unknown field `fb_get_var' specified in
initializer
drivers/video/sis/sis_main.c:2564: warning: initialization from incompatible
pointer type
drivers/video/sis/sis_main.c:2570: warning: initialization from incompatible
pointer type
drivers/video/sis/sis_main.c: In function `sisfb_init':
drivers/video/sis/sis_main.c:2814: `SIS_650' undeclared (first use in this
function)
drivers/video/sis/sis_main.c:3373: structure has no member named `mtrr'
drivers/video/sis/sis_main.c:3376: structure has no member named `mtrr'
drivers/video/sis/sis_main.c:3397: `SISFB_GET_INFO' undeclared (first use in
this function)
drivers/video/sis/sis_main.c: At top level:
drivers/video/sis/sis_main.h:275: warning: `currcon' defined but not used
make[3]: *** [drivers/video/sis/sis_main.o] Error 1
make[2]: *** [drivers/video/sis] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2



-
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 : Sat Nov 30 2002 - 22:00:23 EST