[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#191114: libc6.1-dev: user space program cannot include linux/module.h



reassign 191114 kernel-headers-2.4.20-ia64
thanks

At Mon, 28 Apr 2003 10:59:26 -0600,
Alex Tsariounov wrote:
> Package: libc6.1-dev
> Version: 2.3.1-17
> Severity: important
> 
> Since /usr/include/linux/module.h includes asm/atomic.h at line 25, a
> user-space program that includes linux/module.h will fail to build with
> the following include trail:
> 
>  In file included from /usr/include/asm/system.h:19,
> 		  from /usr/include/asm/atomic.h:17,
> 		  from /usr/include/linux/module.h:25,
> 		  from linux_module.c:52:
>  /usr/include/asm/pal.h:89: syntax error before "pal_status_t"
>  /usr/include/asm/pal.h:102: syntax error before "pal_cache_level_t"
>  /usr/include/asm/pal.h:110: syntax error before "pal_cache_type_t"
>  /usr/include/asm/pal.h:123: syntax error before "pal_cache_line_state_t"
>  /usr/include/asm/pal.h:130: syntax error before "u64"
>  /usr/include/asm/pal.h:135: syntax error before "u64"
> 
> This is because of eventual ifdef(KERNEL) directives in further include
> files.  Inclusion of this file used to compile fine in earlier versions
> of the libc6.1-dev package.
> 
> A user-space program may wish to include the linux/module.h file if it
> wants to query the system for loaded module information.

Actually libc6.1-dev package includes headers from
kernel-headers-2.4.*-ia64.  I reassign this bug.

Regards,
-- gotom



Reply to: