[Mplayer-advusers] Fw: [MPlayer-users] Compilation (linking) problem on Alpha

Attila Kinali kinali at gmx.net
Sun Jun 23 16:29:59 CEST 2002


Hi,

Anyone an idea ?

		Attila Kinali

Begin forwarded message:

Date: Sat, 22 Jun 2002 21:27:05 +0200
From: jcnbulk at free.fr
To: mplayer-users at mplayerhq.hu
Subject: [MPlayer-users] Compilation (linking) problem on Alpha


[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]

gcc-3.0 -O4  -mcpu=pca56 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo   -o mplayer mplayer.o mp_msg.o xacodec.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o find_sub.o lirc_mp.o mixer.o mp-opt-reg.o -Llibvo -lvo  -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2 -lmpeg2 -Llibavcodec -lavcodec  -Llibmpdemux -lmpdemux  -Linput -linput     -L/usr/lib -ldl -lartsc -DPIC -fPIC -lpthread -laudio  -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt  -lvorbis -logg   -Llibmpdvdkit -lmpdvdkit -lpthread -ldl -rdynamic  -Lpostproc -lpostproc  -Llinux -losdep -ltermcap  -lnsl -lz  -lpng -lz -ljpeg -lgif  -lm  -Llibao2 -lao2 -L/usr/X11R6/lib -lX11 -lXext -lnsl  -lXxf86dga -lXv -lXxf86vm -lXinerama  -lnsl    -L/usr/lib -lSDL -lpthread  -laa       
libavcodec/libavcodec.a(simple_idct.o):/usr/local/src/mplayer/main/libavcodec/simple_idct.c:457: undefined reference to `idctSparseCol'
libavcodec/libavcodec.a(simple_idct.o):/usr/local/src/mplayer/main/libavcodec/simple_idct.c:457: undefined reference to `idctSparseCol'
libavcodec/libavcodec.a(simple_idct.o):/usr/local/src/mplayer/main/libavcodec/simple_idct.c:469: undefined reference to `idctSparseCol'
libavcodec/libavcodec.a(simple_idct.o):/usr/local/src/mplayer/main/libavcodec/simple_idct.c:469: undefined reference to `idctSparseCol'
collect2: ld returned 1 exit status


System Information

Debian woody+ bits of sid

Linux dolmen 2.4.14 #1 Mon Nov 26 12:07:32 CET 2001 alpha unknown

-rwxr-xr-x    1 root     root      1967057 Apr 30 06:16 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 May 19 13:55 /lib/libc.so.6.1 -> libc-2.2.5.so


Reading specs from /usr/lib/gcc-lib/alpha-linux/3.0.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc alpha-linux
Thread model: posix
gcc version 3.0.4


This  report is made out of the gcc3 attempt but I had the same error with
default gcc.


GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux

GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `alpha-linux'.


cpu			: Alpha
cpu model		: PCA56
cpu variation		: 0
cpu revision		: 0
cpu serial number	: Linux_is_Great!
system type		: EB164
system variation	: SX164
system revision		: 0
system serial number	: MILO-2.0.35-c7b
cycle frequency [Hz]	: 533333333 
timer frequency [Hz]	: 1024.00
page size [bytes]	: 8192
phys. address bits	: 40
max. addr. space #	: 127
BogoMIPS		: 1057.24
kernel unaligned acc	: 0 (pc=0,va=0)
user unaligned acc	: 0 (pc=0,va=0)
platform string		: N/A
cpus detected		: 0





# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
prefix = /usr/local/stow/mplayer
DATADIR = /usr/local/stow/mplayer/share/mplayer
CONFDIR = /usr/local/stow/mplayer/share/mplayer
LIBDIR = /usr/local/stow/mplayer/lib
#AR = ar
CC = gcc-3.0
AWK = 
# OPTFLAGS = -O4    -mcpu=pca56 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4  -mcpu=pca56 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC =  
WIN32_PATH = -DWIN32_PATH=\"\"
STRIPBINARIES = yes

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = no

OPENDIVX = no

VO2 = no

PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

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

# for libavcodec:
SRC_PATH=.

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

# audio output
ALSA_LIB = 
NAS_LIB = -laudio  -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt
MAD_LIB = 
ARTS_LIB = -L/usr/lib -ldl -lartsc -DPIC -fPIC -lpthread
ARTS_INC = -I/usr/include/kde/artsc
VORBIS_LIB = -lvorbis -logg
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -Llibmpdvdkit -lmpdvdkit
DVDKIT = yes
DVDKIT_SHARED = no
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = 
W32_LIB = 
DS_DEP = 
DS_LIB = 
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl -rdynamic 
DIVX4LINUX = no
XVID = no
DECORE_LIB = 
MENCODER = yes
ENCORE_LIB =    
DIRECTFB_INC = 
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput
CDPARANOIA_INC = 
CDPARANOIA_LIB = 

# --- Some stuff for autoconfigure ----
TARGET_ARCH_ALPHA = yes
TARGET_CYGWIN = no
TARGET_CPU=alpha
TARGET_MMX = 
TARGET_MMX2 = 
TARGET_3DNOW = 
TARGET_3DNOWEX = 
TARGET_SSE = 

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG



/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalisation */
#undef USE_I18N

/* Runtime Cpudetection */
#undef RUNTIME_CPUDETECT

#define PREFIX "/usr/local/stow/mplayer"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* Toggles debugging informations */
#undef MP_DEBUG

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 1

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef SOLARIS_USCSI
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/stow/mplayer/share/mplayer"
#define CONFDIR "/usr/local/stow/mplayer/share/mplayer"
#define LIBDIR "/usr/local/stow/mplayer/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#undef USE_DIVX

/* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#undef NEW_DECORE

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#undef HAVE_DIVX4ENCORE

/* Indicates if libmp3lame is available
   Note: for mencoder */
#undef HAVE_MP3LAME

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command-line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your soundcard driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if you system has the header file for the OSS sound interface
 * in /usr/include */


/* Define this if your system uses ftello() for off_t seeking */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
# define ftello(a) ftell(a)
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV

/* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#undef USE_WIN32DLL

/* DirectShow support */
#undef USE_DIRECTSHOW

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/lib/xanim"

/* RealPlayer DLL support */
#define USE_REALCODECS 1
/* Default search path */
#define REALCODEC_PATH "/usr/local/RealPlayer7/Codecs"

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#define USE_ARTS 1
#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_ALSA_ASOUNDLIB_H
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#define HAVE_NAS 1

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#define HAVE_TV_V4L 1

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

#define ARCH_ALPHA 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ alpha

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* enable GIF support */
#define HAVE_GIF 1
#define HAVE_GIF_4 1

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

/* enables / disables cdparanoia support */
#undef HAVE_CDDA

/* enables / disables vidix usage */
#undef CONFIG_VIDIX

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#undef HAVE_3DNOW	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#undef HAVE_MMX	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#undef HAVE_MMX2	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#undef HAVE_GL
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB



#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA

#undef HAVE_FBDEV
#undef USE_CONVERT2FB
#undef HAVE_DXR2
#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#undef HAVE_VESA
#define HAVE_XDPMS 1
#define HAVE_AA 1

/* used by GUI: */


#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

-- 
Jean-Marc

_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users


-- 
Israel, where the first genocide of this century takes place.



More information about the MPlayer-advusers mailing list