[Mplayer-os2] Re: getch2.c problema

Biro Tamas tami at freemail.hu
Fri Apr 5 00:10:01 CEST 2002


Hali Arpi!

  - Ne nezzed tovabb! :)

On Thu, 04 Apr 2002 22:40:48 +0100, Biro Tamas wrote:
>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]

 - elfelejtettem frissiteni a diff-bol:

 linux\Makefile :

-SRCS=getch2.c timer-lx.c timer.c shmem.c
+SRCS=getch2.c timer-lx.c


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