[Mplayer-os2] Re: getch2.c problema
Biro Tamas
tami at freemail.hu
Thu Apr 4 23:40:48 CEST 2002
Hi!
On Thu, 4 Apr 2002 22:53:55 +0200, Arpi wrote:
>van a getch2.c elejen 1 ilyen:
[..]
- Yesss, akkor a kov.:
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
-I. -I.. -Wall -o getch2.o getch2.c
getch2.c: In function `getch2':
getch2.c:143: warning: implicit declaration of function `select'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
-I. -I.. -Wall -o shmem.o shmem.c
shmem.c:20:22: sys/mman.h: Error 0
shmem.c: In function `shmem_alloc':
shmem.c:60: warning: implicit declaration of function `mmap'
shmem.c:60: `PROT_READ' undeclared (first use in this function)
shmem.c:60: (Each undeclared identifier is reported only once
shmem.c:60: for each function it appears in.)
shmem.c:60: `PROT_WRITE' undeclared (first use in this function)
shmem.c:60: `MAP_SHARED' undeclared (first use in this function)
shmem.c:60: warning: assignment makes pointer from integer without a cast
shmem.c:61: `MAP_FAILED' undeclared (first use in this function)
make[1]: *** [shmem.o] Error 1
make[1]: Leaving directory `/mplayer/main/linux'
make: *** [linux/libosdep.a] Error 2
[tami|f:/mplayer/main]
Tami
|-------------------------------------------------------|
Biro Tamas, HG1DFB -= Member of Hungarian Team OS/2 =-
Biatorbagy #os2hun http://os2.rulez.org/index.html
mailto:tami at freemail.hu http://www.tami.hu/index.html
More information about the MPlayer-os2
mailing list