[vlc-devel] Re: error compiling 0.4.6

Mayuresh Kathe mayuresh at vsnl.com
Thu Nov 21 13:26:32 CET 2002


I have attached the configure output as 'conf.msgs', 'make show' output as
makeshow.msgs and Makefile.opts as itself :)

Thanks,

~Mayuresh


On Thu, 21 Nov 2002, Jean-Paul Saman wrote:

> Mayuresh Kathe wrote:
> > Hi all,
> >
> > I tried compiling 0.4.6 with the attached configure options (vlc.conf) and
> > got a bunch of errors (err.cmpl).
> >
> > Could someone please help?
>
> Can you do a "make show" and send me the output? Or Makefile.opts is
> also fine.
> Could you also send me the output of the "configure" step?
>
> >
> > ~Mayuresh
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > ./configure --disable-nls --enable-optimisations --enable-debug --enable-vcd --enable-avi --enable-vorbis --disable-x11 --disable-xvideo --disable-sdl --enable-qte --disable-directx --enable-fb --enable-dsp --disable-gtk --disable-qt --disable-familiar --disable-gnome --disable-plugins --with-tuning=i586 --with-qte=/root/work/handson/os/qt-2.3.2 --with-dvdcss-tree=libdvdcss/
> >
> >
> > ------------------------------------------------------------------------
> >
> > ../../Makefile.modules:78: warning: overriding commands for target `qte.o.qte'
> > ../../Makefile.modules:74: warning: ignoring old commands for target `qte.o.qte'
> > In file included from ../../include/videolan/vlc.h:37,
> >                  from qte.cpp:50:
> > ../../include/common.h:517: warning: `ASSERT' redefined
> > /root/work/handson/os/qt-2.3.2/include/qglobal.h:609: warning: this is the location of the previous definition
> > In file included from /root/work/handson/os/qt-2.3.2/include/qapplication.h:45,
> >                  from qte.cpp:37:
> > /root/work/handson/os/qt-2.3.2/include/qtranslator.h: In method `bool QTranslatorMessage::operator <=(const QTranslatorMessage &) const':
> > /root/work/handson/os/qt-2.3.2/include/qtranslator.h:86: warning: can't inline call to `bool QTranslatorMessage::operator >(const QTranslatorMessage &) const'
> > /root/work/handson/os/qt-2.3.2/include/qtranslator.h:84: warning: called from here
> > In file included from /root/work/handson/os/qt-2.3.2/include/qwsdisplay_qws.h:38,
> >                  from /root/work/handson/os/qt-2.3.2/include/qgfxraster_qws.h:43,
> >                  from qte.cpp:43:
> > /root/work/handson/os/qt-2.3.2/include/qlock_qws.h: In method `QLockHolder::~QLockHolder()':
> > /root/work/handson/os/qt-2.3.2/include/qlock_qws.h:74: warning: can't inline call to `bool QLockHolder::locked() const'
> > /root/work/handson/os/qt-2.3.2/include/qlock_qws.h:70: warning: called from here
> > qte.cpp: In function `void * vout_run_qtapp_exec(void *)':
> > qte.cpp:542: warning: unused variable `char arg0[9]'
> > lpcm_adec.c: In function `DecodeFrame':
> > lpcm_adec.c:166: warning: unused variable `i_loop'
> > ipv6.c: In function `BuildAddr':
> > ipv6.c:162: warning: implicit declaration of function `if_nametoindex'
> > src/misc/modules.o: In function `module_LoadBuiltins':
> > /opt/vlc-0.4.6/src/misc/modules.c:148: undefined reference to `DeactivateModule__MODULE_qte'
> > /opt/vlc-0.4.6/src/misc/modules.c:148: undefined reference to `ActivateModule__MODULE_qte'
> > /opt/vlc-0.4.6/src/misc/modules.c:148: undefined reference to `InitModule__MODULE_qte'
> > collect2: ld returned 1 exit status
> > make: *** [vlc] Error 1
>
>
>
> --
> Kind greetings,
>
> Jean-Paul Saman
>
> Software Architect
>
> e-mail (work): saman at natlab.research.philips.com
> phone  (work): 040 27 42909
> ------------------------------------------------------------
> Ordina TA,
> Science Park Eindhoven 5602, Postbus 293, 5600 AG Eindhoven
> e-mail : jean-paul.saman at ordina.nl
> phone  : 040 2601200
> fax    : 040 2601199
>
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makeshow.msgs
Type: application/octet-stream
Size: 2612 bytes
Desc: 
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20021121/9cfab964/attachment.obj>
-------------- next part --------------
###############################################################################
# vlc (VideoLAN Client) options Makefile
# (c)1998 VideoLAN
###############################################################################

HAVE_MAKEFILE_OPTS = 1

###############################################################################
# Configuration
###############################################################################

# 
# Build options
# 
SYS = linux
ALIASES =
INSTALL = /usr/bin/install -c
ARCH = i586 mmx

#
# Compilation options
#
DEBUG = 1
CPROF = 0
GPROF = 0
OPTIMS = 1
TUNING = i586
RELEASE = 0

# 
# Build environment
# 
CC = gcc
CFLAGS =  -DSYS_LINUX -finline-limit-30000 -Wall -Winline -pipe
SHELL = /bin/sh
RANLIB = ranlib
STRIP = strip
MOC = 
WINDRES = 
BCBUILDER = 

# 
# Installation environment
# 
exec_prefix = ${prefix}
prefix = /usr/local
bindir = ${exec_prefix}/bin
datadir = ${prefix}/share
libdir = ${exec_prefix}/lib
includedir = ${prefix}/include

#
# CFLAGS for special cases
#
vlc_CFLAGS = 
plugins_CFLAGS :=  -fPIC
builtins_CFLAGS := 

a52_CFLAGS = 
arts_CFLAGS = 
dvd_CFLAGS =  -I/opt/vlc-0.4.6/libdvdcss/src
dvdread_CFLAGS = 
mpeg_ts_dvbpsi_CFLAGS = 
directx_CFLAGS = 
esd_CFLAGS = 
familiar_CFLAGS = 
ffmpeg_CFLAGS = 
glide_CFLAGS = 
gnome_CFLAGS = 
gtk_CFLAGS = 
kde_CFLAGS = 
idctaltivec_CFLAGS = 
mad_CFLAGS = 
memcpyaltivec_CFLAGS = 
motionaltivec_CFLAGS = 
opie_CFLAGS = 
qt_CFLAGS = 
qte_CFLAGS =  -I$(QTDIR)/include -DQWS -DQT_THREAD_SUPPORT -fno-exceptions -fno-rtti
sdl_CFLAGS = 
x11_CFLAGS = 
xvideo_CFLAGS = 

#
# Libraries for special cases
#
vlc_LDFLAGS =  -ldl
plugins_LDFLAGS +=  -shared
builtins_LDFLAGS += 

a52_LDFLAGS = 
aa_LDFLAGS = 
alsa_LDFLAGS = 
arts_LDFLAGS = 
beos_LDFLAGS = 
chroma_i420_rgb_LDFLAGS =  -lm
directx_LDFLAGS = 
dsp_LDFLAGS = 
dvd_LDFLAGS =  /opt/vlc-0.4.6/libdvdcss/src/.libs/libdvdcss.a
dvdread_LDFLAGS = 
mpeg_ts_dvbpsi_LDFLAGS = 
esd_LDFLAGS = 
familiar_LDFLAGS = 
filter_distort_LDFLAGS =  -lm
ffmpeg_LDFLAGS = 
ggi_LDFLAGS = 
glide_LDFLAGS = 
gnome_LDFLAGS = 
gtk_LDFLAGS = 
http_LDFLAGS = 
idctaltivec_LDFLAGS = 
imdct_LDFLAGS =  -lm -lm
imdct3dn_LDFLAGS =  -lm
imdctsse_LDFLAGS =  -lm
ipv4_LDFLAGS = 
ipv6_LDFLAGS = 
kde_LDFLAGS = 
lirc_LDFLAGS = 
macosx_LDFLAGS = 
mad_LDFLAGS = 
memcpyaltivec_LDFLAGS = 
motionaltivec_LDFLAGS = 
ncurses_LDFLAGS = 
opie_LDFLAGS = 
qnx_LDFLAGS = 
qt_LDFLAGS = 
qte_LDFLAGS =  -L$(LD_LIBRARY_PATH) -lqte-mt
rc_LDFLAGS = 
sdl_LDFLAGS = 
vcd_LDFLAGS = 
vorbis_LDFLAGS =  -lvorbis
waveout_LDFLAGS = 
x11_LDFLAGS = 
xvideo_LDFLAGS = 

#
# Other special cases
#
NEED_GETOPT = 0

###############################################################################
# Configuration pre-processing
###############################################################################

# PROGRAM_OPTIONS is an identification string of the compilation options
PROGRAM_OPTIONS = $(SYS) $(ARCH)
ifeq ($(DEBUG),1)
PROGRAM_OPTIONS += DEBUG
CFLAGS += -DDEBUG
endif
ifeq ($(CPROF),1)
PROGRAM_OPTIONS += CPROF
CFLAGS += -DCPROF
endif
ifeq ($(GPROF),1)
PROGRAM_OPTIONS += GPROF
CFLAGS += -DGPROF
endif

# PROGRAM_BUILD is a complete identification of the build
# (we can't use fancy options with date since OSes like Solaris
# or FreeBSD have strange date implementations)
ifeq ($(SYS),beos)
# XXX: beos does not support hostname (how lame...)
PROGRAM_BUILD = `date` $(USER)
else
PROGRAM_BUILD = `date` $(USER)@`hostname`
endif

# On Linux and Solaris, activate 64-bit off_t (by default under BSD)
CFLAGS += -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE

# Gettext support
CFLAGS += -DLOCALEDIR=\"$(datadir)/locale\"

# Data and plugin location
CFLAGS += -DDATA_PATH=\"/usr/local/share/videolan\"
CFLAGS += -DPLUGIN_PATH=\"/usr/local/lib/videolan/vlc\"

###############################################################################
# Tuning and other variables - do not change anything except if you know
# exactly what you are doing
###############################################################################

#
# C headers directories
#
CFLAGS += -Iinclude -Iextras

#
# C compiler flags: mainstream compilation
#
CFLAGS += -D_REENTRANT
CFLAGS += -D_GNU_SOURCE

ifeq ($(RELEASE),1)
CFLAGS += -DHAVE_RELEASE
endif

# Optimizations : don't compile debug versions with them
ifeq ($(OPTIMS),1)
CFLAGS +=  -O3 -ffast-math -funroll-loops
ifneq ($(DEBUG),1)
ifneq ($(GPROF),1)
ifneq ($(CPROF),1)
CFLAGS +=  -fomit-frame-pointer
endif
endif
endif

ifneq (,$(findstring powerpc,$(ARCH)))
# Optimizations for PowerPC
CFLAGS += -mmultiple -mhard-float -mstring -mcpu=powerpc
ifneq (,$(TUNING))
CFLAGS += -mtune=$(TUNING)
endif
else
ifneq (,$(findstring sparc,$(ARCH)))
# Optimizations for Sparc
CFLAGS += -mhard-float
ifneq (,$(TUNING))
CFLAGS += -mcpu=$(TUNING)
endif
else
# Generic optimizations
ifneq (,$(TUNING))
CFLAGS += -mcpu=$(TUNING)
endif
endif
endif

#end of optimisations
endif

#
# C compiler flags: linking
#
LDFLAGS +=  -lpthread
LDFLAGS += -Wall
ifneq ($(DEBUG),1)
ifneq ($(GPROF),1)
ifneq ($(CPROF),1)
#LDFLAGS += -s
endif
endif
endif

#
# C compiler flags: plugins and builtins compilation
#
vlc_CFLAGS += -D__VLC__
plugins_CFLAGS += -D__VLC__ -D__PLUGIN__ -I../../include -I../../extras
builtins_CFLAGS += -D__VLC__ -D__BUILTIN__ -I../../include -I../../extras

#
# Linker flags: plugins and builtins linking
#
builtins_LDFLAGS += $(patsubst %,$$%_LDFLAGS,$(BUILTINS))

#
# Debugging and profiling support
#
ifeq ($(DEBUG),1)
CFLAGS += -g
endif

ifeq ($(CPROF),1)
CFLAGS += -finstrument-functions
endif

ifeq ($(GPROF),1)
CFLAGS += -pg
endif


-------------- next part --------------
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for gmake... no
checking whether GNU make is installed... yes
checking for ranlib... (cached) ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking for bison... bison
checking version of bison... 1.35, ok
checking for a BSD-compatible install... /usr/bin/install -c
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for isatty... yes
checking for vasprintf... yes
checking for swab... yes
checking for sigrelse... yes
checking for getpwuid... yes
checking for memalign... yes
checking for posix_memalign... yes
checking for gethostbyname2... yes
checking for atoll... yes
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname... (cached) yes
checking for nanosleep... yes
checking for inet_aton... yes
checking for textdomain... yes
checking for getopt_long... yes
checking return type of signal handlers... void
checking for dlopen in -ldl... yes
checking for cos in -lm... yes
checking for pow in -lm... yes
checking for pthread_attr_init in -lpthread... yes
checking for cthread_fork in -lthreads... no
checking for stdint.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking image.h usability... no
checking image.h presence... no
checking for image.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking cthreads.h usability... no
checking cthreads.h presence... no
checking for cthreads.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking kernel/scheduler.h usability... no
checking kernel/scheduler.h presence... no
checking for kernel/scheduler.h... no
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking X11/extensions/dpms.h usability... no
checking X11/extensions/dpms.h presence... no
checking for X11/extensions/dpms.h... no
checking for ntohl in sys/param.h... no
checking if $CC accepts -finline-limit... yes
checking if $CC accepts -Wall -Winline... yes
checking if $CC accepts -pipe... yes
checking if $CC accepts -O3... yes
checking if $CC accepts -ffast-math... yes
checking if $CC accepts -funroll-loops... yes
checking if $CC accepts -fomit-frame-pointer... yes
checking if $CC accepts -bundle -undefined error -lcc_dynamic... no
checking if $CC accepts -shared... yes
checking for variadic cpp macros... yes
checking __attribute__ ((aligned ())) support... 64
checking for boolean_t in sys/types.h... no
checking for boolean_t in pthread.h... no
checking for boolean_t in cthreads.h... no
checking if $CC groks MMX inline assembly... yes
checking if $CC groks MMX EXT inline assembly... yes
checking if $CC groks 3D Now! inline assembly... yes
checking if $CC groks SSE inline assembly... yes
checking if $CC groks Altivec inline assembly... no
checking if $CC groks Altivec C extensions... no
checking if linker needs -framework vecLib... no
checking for libdvdcss.a in libdvdcss... /opt/vlc-0.4.6/libdvdcss/src/.libs/libdvdcss.a
checking dvdread/dvd_reader.h usability... no
checking dvdread/dvd_reader.h presence... no
checking for dvdread/dvd_reader.h... no
checking for dvbpsi/dr.h... no
checking for inet_pton... yes
checking a52dec/a52.h usability... no
checking a52dec/a52.h presence... no
checking for a52dec/a52.h... no
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking qt.h usability... no
checking qt.h presence... yes
checking for qt.h... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for main in -lossaudio... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking Cocoa/Cocoa.h usability... no
checking Cocoa/Cocoa.h presence... no
checking for Cocoa/Cocoa.h... no
checking Ph.h usability... no
checking Ph.h presence... no
checking for Ph.h... no
checking whether the byte order is big-endian... no
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating Makefile.opts
config.status: creating po/Makefile.in
config.status: creating include/defs.h
config.status: include/defs.h is unchanged
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

vlc configuration
--------------------
vlc version           : 0.4.6_2002-11-21
system                : linux
architecture          : i586 mmx
optimizations         : 1
tuning                : i586
debug mode            : 1
release               : 0
cprof/gprof support   : 0/0
need builtin getopt   : 0
built-in modules      : idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec  memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx memcpymmxext idctmmxext motionmmxext memcpy3dn imdct3dn downmix3dn imdctsse downmixsse dvd qte  dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope udp http rtp ipv4 vcd ipv6 avi fb mga xmga dsp
plug-in modules       :
vlc aliases           :

You may now tune Makefile.opts at your convenience, for instance to choose
which modules get compiled as plugins.

To build vlc and its plugins, type `make'.



More information about the vlc-devel mailing list