Re: Error building isapnp.c in 2.3.37

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Fri Jan 07 2000 - 20:55:40 EST


Miles Lane <miles@amazon.com> said:
> I am encountering this error building in drivers/pnp:
> [isapnp as module errors out]

Ditto 2.3.38pre1:

[massive snippage]
make[2]: Entering directory `/usr/src/linux-2.3.36/drivers/pnp'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.36/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=686 -march=i686 -DMODULE -DEXPORT_SYMTAB -c isapnp.c
In file included from isapnp.c:49:
isapnp_proc.c:22: conflicting types for `isapnp_cards'
isapnp.c:45: previous declaration of `isapnp_cards'
isapnp_proc.c:23: conflicting types for `isapnp_devices'
isapnp.c:46: previous declaration of `isapnp_devices'
isapnp_proc.c: In function `isapnp_info_read':
isapnp_proc.c:543: request for member `next' in something not a structure or union
isapnp_proc.c:543: warning: comparison of distinct pointer types lacks a cast
isapnp_proc.c:541: warning: `card_list' might be used uninitialized in this function
isapnp_proc.c: In function `isapnp_select_csn':
isapnp_proc.c:652: request for member `next' in something not a structure or union
isapnp_proc.c:652: warning: comparison of distinct pointer types lacks a cast
isapnp_proc.c:646: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_create_device':
isapnp.c:761: warning: passing arg 2 of `list_add_tail' from incompatible pointer type
isapnp.c:774: warning: passing arg 2 of `list_add_tail' from incompatible pointer type
isapnp.c: In function `isapnp_build_device_list':
isapnp.c:998: warning: passing arg 2 of `list_add_tail' from incompatible pointer type
isapnp.c:1000: structure has no member named `next'
isapnp.c: In function `isapnp_present':
isapnp.c:1012: warning: passing arg 1 of `list_empty' from incompatible pointer type
isapnp.c: In function `isapnp_find_card':
isapnp.c:1152: request for member `next' in something not a structure or union
isapnp.c:1156: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1150: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_find_dev':
isapnp.c:1173: request for member `next' in something not a structure or union
isapnp.c:1177: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1171: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_check_port':
isapnp.c:1460: request for member `next' in something not a structure or union
isapnp.c:1460: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1447: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_check_interrupt':
isapnp.c:1558: request for member `next' in something not a structure or union
isapnp.c:1558: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1550: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_check_dma':
isapnp.c:1638: request for member `next' in something not a structure or union
isapnp.c:1638: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1630: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_check_mem':
isapnp.c:1717: request for member `next' in something not a structure or union
isapnp.c:1717: warning: comparison of distinct pointer types lacks a cast
isapnp.c:1705: warning: `list' might be used uninitialized in this function
isapnp.c: In function `isapnp_free_device':
isapnp.c:2003: structure has no member named `sibling'
isapnp.c:2000: warning: `next' might be used uninitialized in this function
isapnp.c: In function `isapnp_free_all_resources':
isapnp.c:2026: structure has no member named `next'
isapnp.c:2027: incompatible type for argument 1 of `isapnp_free_device'
isapnp.c:2015: warning: `cardnext' might be used uninitialized in this function
isapnp.c: In function `isapnp_init':
isapnp.c:2145: request for member `next' in something not a structure or union
isapnp.c:2145: warning: comparison of distinct pointer types lacks a cast
isapnp.c:2095: warning: `list' might be used uninitialized in this function
make[2]: *** [isapnp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.36/drivers/pnp'
make[1]: *** [_modsubdir_pnp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.36/drivers'
make: *** [_mod_drivers] Error 2

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- 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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:11 EST