[MPlayer-dev-eng] configure2 shm bugreport

Bohdan Horst nexus at hoth.amu.edu.pl
Mon Nov 19 17:27:08 CET 2001


FreeBSD 4.4S

============ Checking for shm ============
#include <sys/shm.h>
int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0);
return 0; }
gcc  -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--24929.c
-o /tmp/mplayer-co
nf--24929.o
In file included from /usr/include/sys/shm.h:42,
                 from /tmp/mplayer-conf--24929.c:1:
/usr/include/sys/ipc.h:54: syntax error before `ushort'
In file included from /usr/include/sys/shm.h:42,
                 from /tmp/mplayer-conf--24929.c:1:
/usr/include/sys/ipc.h:95: syntax error before `ftok'
/usr/include/sys/ipc.h:95: warning: data definition has no type or
storage class
In file included from /tmp/mplayer-conf--24929.c:1:
/usr/include/sys/shm.h:57: syntax error before `pid_t'
/usr/include/sys/shm.h:60: syntax error before `time_t'
/usr/include/sys/shm.h:93: syntax error before `int'
ldd /tmp/mplayer-conf--24929.o
/tmp/mplayer-conf--24929.o:
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28065000)
        libc.so.4 => /usr/lib/libc.so.4 (0x280a7000)
Result is: no
##########################################


works after add:
#include <sys/types.h>
before 
#include <sys/shm.h>


best regards

-- 
 / irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
 \ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki  UAM /



More information about the MPlayer-dev-eng mailing list