[MPlayer-users] [BUG] missing inttypes.h check?

Jonas Jermann jjermann at gmx.net
Sat Jan 10 12:45:16 CET 2004


Hi

I tried to compile mplayer with libavcodec and it failed due to a not
defined HAVE_INTTYPES_H in libavcodec/common.h...

I grepped the sources and didn't find any check there. It works now as I
just defined it in common.ḩ (inttypes.h exists for me). So this report
is just to mentioned a bug possibility (rather low as most user use
libavcodec without a problem, anyway)...

mplayer and libavcodec are cvs fresh, attached is my config stuff, I use
ccache gcc-3.3, debian sid. I hope I didn't miss anything...

Regards
	Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 13306 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040110/ab808e1b/attachment.h>
-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
LANGUAGES = en
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = ccache gcc-3.3
AWK = mawk
RANLIB = ranlib
INSTALL = install
# OPTFLAGS = -O4   -march=pentium4 -mcpu=pentium4 -pipe -fomit-frame-pointer -ffast-math
EXTRA_INC =  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
OPTFLAGS = -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(EXTRA_INC)
STRIPBINARIES = yes



MPLAYER_NETWORK = yes
STREAMING_LIVE_DOT_COM = no
MPLAYER_NETWORK_LIB = -lnsl 
DVBIN = yes
VIDIX = yes
SHARED_PP = no
CONFIG_PP = yes
CONFIG_RISKY = yes
CONFIG_MP3LAME = yes
LIBMENU = yes
I18NLIBS = 
MATROSKA = no
MATROSKA_LIB = 

OPENDIVX = no

UNRARLIB = yes
HAVE_FFPOSTPROCESS = yes
PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
WIN32_LIB = 
STATIC_LIB = 

X11_INC = -I/usr/X11R6/include
X11DIR = -L/usr/X11R6/lib -lXext -lX11 -lnsl

HAVE_XVMC_ACCEL = no

# for libavcodec:
SRC_PATH=.
LIBPREF=lib
LIBSUF=.a
SLIBPREF=lib
SLIBSUF=.so

# video output
X_LIB = -lGL -lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
DXR2_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lungif
SDL_LIB = -lSDL -lpthread
SVGA_LIB = 
AA_LIB = -laa

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB = 
ARTS_LIB = 
ARTS_INC = 
ESD_LIB = 
ESD_INC = 
SGIAUDIO_LIB = 

# input/demuxer/codecs
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
LIRCC_LIB = 
DVDREAD_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
AV_DEP = libavcodec/libavcodec.a
AV_LIB = libavcodec/libavcodec.a
ZORAN = no
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl -rdynamic 
XVID = no
XVID_INC = 
XVID_LIB = 
DECORE_LIB = -ldivxdecore -lmp3lame -lvorbis -logg
MENCODER = yes
ENCORE_LIB =  -ldivxencore -lmp3lame -lvorbis -logg
DIRECTFB_INC = 
DIRECTFB_LIB = 
CDPARANOIA_INC = 
CDPARANOIA_LIB =  -lcdda_interface -lcdda_paranoia
FREETYPE_INC = -I/usr/include/freetype2
FREETYPE_LIB = -lfreetype -lz
FONTCONFIG_INC =  
FONTCONFIG_LIB = -lfontconfig  
FRIBIDI_INC = 
FRIBIDI_LIB = 
LIBLZO_LIB= 
MAD_LIB = -lmad
VORBIS_LIB = -lvorbis -logg 
THEORA_LIB = 
FAAD_LIB = 
INTERNAL_FAAD = yes
SMBSUPPORT_LIB = 
XMMS_PLUGINS = yes
XMMS_LIB = /usr/lib/libxmms.so.1 -export-dynamic
MACOSX = no
MACOSX_FRAMEWORKS = 
FLAC_LIB = -Llibmpflac -lmpflac
MPFLAC = full

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_MINGW32 = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes
TARGET_ALTIVEC = 

# --- GUI stuff ---
GTKLIB =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB =   -L/usr/lib -lglib
GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG



More information about the MPlayer-users mailing list