안녕하세요 Mplayer-1.0pre8를 2440에 포팅중입니다. termcat-2.0.8과 libmad-0.15.1b는 빌드가 완료되었고 마지막으로 Mplayer를 빌드 하던중 아래와 같은 에러가 발생하였습니다. virtual memory exhausted: Cannot allocate memory라는 에러메세지를 보고 1G짜리 램을 1개 더 꽂아서 2Gbyte에서 빌드를 해보았는데 마찬가지로 에러가 나네요. 혹시 비슷한 에러를 겪어보신분들 계신가요?

 

 

- HOST PC : Inter core2 cpu 1.80Ghz / Memory:1Gbyte

- HOST OS : 리눅스 페도라 코어 4

- Toolchain : arm-linux-gcc-3.4.3

- Mplayer빌드시 configure 옵션 :

A.       ./configure --cc=arm-linux-gcc -–target=arm-linux --enable-static –-prefix=/usr/arm-linux/mplayer –-disable-win32 –-disable-dvdread --enable-fbdev --disable-mencoder --disable-mpdvdkit --disable-x11 --enable-mad --with-madlibdir=/usr/arm-linux/libmad/lib

 

[root@localhost MPlayer-1.0pre8]# make

make -C libavcodec LIBPREF=lib LIBSUF=.a

make[1]: Entering directory `/home/mmhuh/mplayer_porting/tar_package/MPlayer-1.0pre8/libavcodec'

arm-linux-gcc -I../libvo -I../../libvo  -O4   -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT  -DHAVE_AV_CONFIG_H -I.. -I/home/mmhuh/mplayer_porting/tar_package/MPlayer-1.0pre8/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o snow.o snow.c

snow.c: In function `encode_q_branch':

snow.c:1994: warning: initialization discards qualifiers from pointer target type

snow.c:1995: warning: initialization discards qualifiers from pointer target type

snow.c:1996: warning: initialization discards qualifiers from pointer target type

snow.c:1997: warning: initialization discards qualifiers from pointer target type

snow.c: In function `encode_q_branch2':

snow.c:2221: warning: initialization discards qualifiers from pointer target type

snow.c:2222: warning: initialization discards qualifiers from pointer target type

snow.c: In function `decode_q_branch':

snow.c:2274: warning: initialization discards qualifiers from pointer target type

snow.c:2275: warning: initialization discards qualifiers from pointer target type

snow.c: In function `ff_snow_inner_add_yblock':

snow.c:2538: warning: left shift count is negative

snow.c: In function `add_yblock':

snow.c:2809: warning: initialization discards qualifiers from pointer target type

snow.c:2821: warning: left shift count is negative

snow.c: In function `predict_slice_buffered':

snow.c:2896: warning: passing arg 5 of `add_yblock_buffered' discards qualifiers from pointer target type

snow.c: In function `get_block_bits':

snow.c:3028: warning: initialization discards qualifiers from pointer target type

snow.c:3029: warning: initialization discards qualifiers from pointer target type

snow.c: In function `get_4block_rd':

snow.c:3182: warning: passing arg 2 of `add_yblock' discards qualifiers from pointer target type

snow.c: In function `common_init':

snow.c:3872: warning: assignment from incompatible pointer type

snow.c:3872: warning: assignment from incompatible pointer type

snow.c:3873: warning: assignment from incompatible pointer type

snow.c:3873: warning: assignment from incompatible pointer type

snow.c:3874: warning: assignment from incompatible pointer type

snow.c:3874: warning: assignment from incompatible pointer type

snow.c:3875: warning: assignment from incompatible pointer type

snow.c:3875: warning: assignment from incompatible pointer type

virtual memory exhausted: Cannot allocate memory

make[1]: *** [snow.o] Error 1

make[1]: Leaving directory `/home/mmhuh/mplayer_porting/tar_package/MPlayer-1.0pre8/libavcodec'

make: *** [libavcodec/libavcodec.a] 오류 2