Opened 14 years ago

Last modified 14 years ago

#1802 new defect

gif doesn't build in arm

Reported by: kaijun61@… Owned by: reimar
Priority: normal Component: vo
Version: 1.0rc4 Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

If I set --enable-gif, mplayer doesn't build yet up to rev. 32249, see build log

| arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -mthumb-interwork -mno-thumb -MMD -MF libvo/vo_gif89a.d -MT libvo/vo_gif89a.o -Wundef -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -pipe -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funit-at-a-time -I/home/tang/Project/OE/build/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include -I/home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/mplayer-0.0+1.0rc3+svnr4-r25/../ffmpeg-2_0.6+r16.3+svnr3-r16.3/trunk -I/home/tang/Project/OE/build/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/sdma/include -I/home/tang/Project/OE/build/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/include -I/home/tang/Project/OE/build/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages/ti/sdo/ce -I/home/tang/Project/OE/build/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dmai-tree/ce -I. -isystem/home/tang/Project/OE/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -mthumb-interwork -mno-thumb -isystem/home/tang/Project/OE/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -D_REENTRANT -I/home/tang/Project/OE/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/freetype2 -I/home/tang/Project/OE/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -c -o libvo/vo_gif89a.o libvo/vo_gif89a.c
| libvo/vo_gif89a.c:47:21: warning: gif_lib.h: No such file or directory
| libvo/vo_gif89a.c:98: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token
| libvo/vo_gif89a.c:101: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token
| libvo/vo_gif89a.c: In function 'config':
| libvo/vo_gif89a.c:199: error: 'new_gif' undeclared (first use in this function)
| libvo/vo_gif89a.c:199: error: (Each undeclared identifier is reported only once
| libvo/vo_gif89a.c:199: error: for each function it appears in.)
| libvo/vo_gif89a.c:199: warning: implicit declaration of function 'EGifOpenFileName'
| libvo/vo_gif89a.c:218: error: 'reduce_cmap' undeclared (first use in this function)
| libvo/vo_gif89a.c:218: warning: implicit declaration of function 'MakeMapObject'
| libvo/vo_gif89a.c:233: warning: implicit declaration of function 'EGifPutScreenDesc'
| libvo/vo_gif89a.c:155: warning: unused parameter 'd_width'
| libvo/vo_gif89a.c:156: warning: unused parameter 'd_height'
| libvo/vo_gif89a.c:156: warning: unused parameter 'flags'
| libvo/vo_gif89a.c:156: warning: unused parameter 'title'
| libvo/vo_gif89a.c: At top level:
| libvo/vo_gif89a.c:252: error: expected declaration specifiers or '...' before 'GifColorType'
| libvo/vo_gif89a.c: In function 'gif_reduce':
| libvo/vo_gif89a.c:270: warning: implicit declaration of function 'QuantizeBuffer'
| libvo/vo_gif89a.c:270: error: 'colors' undeclared (first use in this function)
| libvo/vo_gif89a.c: In function 'flip_page':
| libvo/vo_gif89a.c:284: error: 'reduce_cmap' undeclared (first use in this function)
| libvo/vo_gif89a.c:284: error: too many arguments to function 'gif_reduce'
| libvo/vo_gif89a.c:285: error: 'GIF_ERROR' undeclared (first use in this function)
| libvo/vo_gif89a.c:305: warning: implicit declaration of function 'EGifPutExtension'
| libvo/vo_gif89a.c:305: error: 'new_gif' undeclared (first use in this function)
| libvo/vo_gif89a.c:307: warning: implicit declaration of function 'EGifPutImageDesc'
| libvo/vo_gif89a.c:309: warning: implicit declaration of function 'EGifPutLine'
| libvo/vo_gif89a.c: In function 'draw_frame':
| libvo/vo_gif89a.c:312: warning: unused parameter 'src'
| libvo/vo_gif89a.c: In function 'uninit':
| libvo/vo_gif89a.c:354: error: 'new_gif' undeclared (first use in this function)
| libvo/vo_gif89a.c:360: warning: implicit declaration of function 'EGifPutComment'
| libvo/vo_gif89a.c:361: warning: implicit declaration of function 'EGifCloseFile'
| libvo/vo_gif89a.c:368: error: 'reduce_cmap' undeclared (first use in this function)
| libvo/vo_gif89a.c:368: warning: implicit declaration of function 'FreeMapObject'

Change History (1)

comment:1 by reimar, 14 years ago

As configure says multiple times, do not use these --enable options unless you know very specifically what you are doing.
In your case giflib is not (properly?) installed, thus attempting to compile with support for it will necessarily fail.

Note: See TracTickets for help on using tickets.