lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.3.47 breaks compiling programs that #include <sys/shm.h>
Attempting to compile the following one line program

#include <sys/shm.h>

on a libc5 based system w/2.3.47
gives the following errors
-- (this error detected when trying to compile the latest perl)


In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/mm.h:4,
from /usr/include/linux/shm.h:5,
from /usr/include/sys/shm.h:7,
from /tmp/shm.c:1:
/usr/include/linux/timex.h:159: field `time' has incomplete type
In file included from /usr/include/linux/sched.h:17,
from /usr/include/linux/mm.h:4,
from /usr/include/linux/shm.h:5,
from /usr/include/sys/shm.h:7,
from /tmp/shm.c:1:
/usr/include/asm/semaphore.h:39: parse error before `wait_queue_head_t'
/usr/include/asm/semaphore.h:39: warning: no semicolon at end of struct or union
/usr/include/asm/semaphore.h: In function `sema_init':
/usr/include/asm/semaphore.h:73: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:74: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:75: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h: At top level:
/usr/include/asm/semaphore.h:226: parse error before `wait_queue_head_t'
/usr/include/asm/semaphore.h:226: warning: no semicolon at end of struct or union
/usr/include/asm/semaphore.h:227: warning: data definition has no type or storage class
/usr/include/asm/semaphore.h: In function `init_rwsem':
/usr/include/asm/semaphore.h:255: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:256: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:257: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:258: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h:259: dereferencing pointer to incomplete type
/usr/include/asm/semaphore.h: At top level:
/usr/include/asm/semaphore.h:268: parse error before `('
/usr/include/asm/semaphore.h:269: parse error before `('
/usr/include/asm/semaphore.h:270: parse error before `('


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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.047 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site