Compilation with respected to src/misc/modules.o (QT err)

*nix specific usage questions
ChrisCCF
Blank Cone
Blank Cone
Posts: 29
Joined: 30 Jan 2007 05:49

Compilation with respected to src/misc/modules.o (QT err)

Postby ChrisCCF » 31 Jan 2007 16:49

Here is another problem with installing vlc-0.4.6 with qt.

The Err msg:
make[1]: Leaving directory `/usr/MediaPlayers/VLC-host/vlc-0.4.6/plugins/qt'
gcc -DSYS_LINUX -finline-limit-30000 -Wall -Winline -pipe -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -DLOCALEDIR=\"/usr/MediaPlayers/VLC-host/VLC-Exe/share/locale\" -DDATA_PATH=\"/usr/MediaPlayers/VLC-host/VLC-Exe/share/videolan\" -DPLUGIN_PATH=\"/usr/MediaPlayers/VLC-host/VLC-Exe/lib/videolan/vlc\" -Iinclude -Iextras -D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mcpu=pentiumpro -o vlc src/interface/main.o src/interface/interface.o src/interface/intf_msg.o src/interface/intf_playlist.o src/interface/intf_eject.o src/input/input.o src/input/input_ext-plugins.o src/input/input_ext-dec.o src/input/input_ext-intf.o src/input/input_dec.o src/input/input_programs.o src/input/input_clock.o src/input/mpeg_system.o src/video_output/video_output.o src/video_output/video_text.o src/video_output/vout_pictures.o src/video_output/vout_subpictures.o src/audio_output/audio_output.o src/audio_output/aout_ext-dec.o src/audio_output/aout_pcm.o src/audio_output/aout_spdif.o src/misc/mtime.o src/misc/modules.o src/misc/configuration.o src/misc/netutils.o src/misc/iso_lang.o
plugins/idct.a plugins/idctclassic.a plugins/motion.a plugins/imdct.a plugins/downmix.a plugins/chroma_i420_rgb.a plugins/chroma_i420_yuy2.a plugins/chroma_i422_yuy2.a plugins/chroma_i420_ymga.a plugins/mpeg_adec.a plugins/ac3_adec.a plugins/mpeg_vdec.a plugins/memcpymmx.a plugins/idctmmx.a plugins/motionmmx.a plugins/chroma_i420_rgb_mmx.a plugins/chroma_i420_yuy2_mmx.a plugins/chroma_i422_yuy2_mmx.a plugins/chroma_i420_ymga_mmx.a plugins/memcpymmxext.a plugins/idctmmxext.a plugins/motionmmxext.a plugins/memcpy3dn.a plugins/imdct3dn.a plugins/downmix3dn.a plugins/imdctsse.a plugins/downmixsse.a plugins/mad.a plugins/dummy.a plugins/null.a plugins/rc.a plugins/logger.a plugins/mpeg_es.a plugins/mpeg_ps.a plugins/mpeg_ts.a plugins/mpeg_audio.a plugins/file.a plugins/memcpy.a plugins/lpcm_adec.a plugins/ac3_spdif.a plugins/spudec.a plugins/filter_deinterlace.a plugins/filter_invert.a plugins/filter_wall.a plugins/filter_transform.a plugins/filter_distort.a plugins/filter_clone.a plugins/filter_crop.a plugins/fx_scope.a plugins/udp.a plugins/http.a plugins/rtp.a plugins/ipv4.a plugins/ipv6.a plugins/avi.a plugins/sdl.a plugins/qte.a plugins/dsp.a plugins/qt.a -lpthread -Wall -ldl $idct_LDFLAGS $idctclassic_LDFLAGS $motion_LDFLAGS $imdct_LDFLAGS $downmix_LDFLAGS $chroma_i420_rgb_LDFLAGS $chroma_i420_yuy2_LDFLAGS $chroma_i422_yuy2_LDFLAGS $chroma_i420_ymga_LDFLAGS $mpeg_adec_LDFLAGS $ac3_adec_LDFLAGS $mpeg_vdec_LDFLAGS $memcpymmx_LDFLAGS $idctmmx_LDFLAGS $motionmmx_LDFLAGS $chroma_i420_rgb_mmx_LDFLAGS $chroma_i420_yuy2_mmx_LDFLAGS $chroma_i422_yuy2_mmx_LDFLAGS $chroma_i420_ymga_mmx_LDFLAGS $memcpymmxext_LDFLAGS $idctmmxext_LDFLAGS $motionmmxext_LDFLAGS $memcpy3dn_LDFLAGS $imdct3dn_LDFLAGS $downmix3dn_LDFLAGS $imdctsse_LDFLAGS $downmixsse_LDFLAGS $mad_LDFLAGS $dummy_LDFLAGS $null_LDFLAGS $rc_LDFLAGS $logger_LDFLAGS $mpeg_es_LDFLAGS $mpeg_ps_LDFLAGS
$mpeg_ts_LDFLAGS $mpeg_audio_LDFLAGS $file_LDFLAGS $memcpy_LDFLAGS $lpcm_adec_LDFLAGS $ac3_spdif_LDFLAGS $spudec_LDFLAGS $filter_deinterlace_LDFLAGS $filter_invert_LDFLAGS $filter_wall_LDFLAGS $filter_transform_LDFLAGS $filter_distort_LDFLAGS $filter_clone_LDFLAGS $filter_crop_LDFLAGS $fx_scope_LDFLAGS $udp_LDFLAGS $http_LDFLAGS $rtp_LDFLAGS $ipv4_LDFLAGS $ipv6_LDFLAGS $avi_LDFLAGS $sdl_LDFLAGS $qte_LDFLAGS $dsp_LDFLAGS $qt_LDFLAGS
src/misc/modules.o(.text+0x3738): In function `module_LoadBuiltins':
: undefined reference to `InitModule__MODULE_qte'
src/misc/modules.o(.text+0x3784): In function `module_LoadBuiltins':
: undefined reference to `ActivateModule__MODULE_qte'
src/misc/modules.o(.text+0x37ac): In function `module_LoadBuiltins':
: undefined reference to `DeactivateModule__MODULE_qte'
collect2: ld returned 1 exit status
make: *** [vlc] Error 1



The Content of Makefile.opts:
###############################################################################
# vlc (VideoLAN Client) options Makefile
# (c)1998 VideoLAN
###############################################################################

HAVE_MAKEFILE_OPTS = 1

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

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

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

#
# Build environment
#
CC = gcc
CFLAGS = -DSYS_LINUX -finline-limit-30000 -Wall -Winline -pipe
SHELL = /bin/sh
RANLIB = ranlib
STRIP = strip
MOC = /usr/etc/QTE2.3.10-host/qt-2.3.10/bin/moc
WINDRES =
BCBUILDER =

#
# Installation environment
#
exec_prefix = ${prefix}
prefix = /usr/MediaPlayers/VLC-host/VLC-Exe
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 =
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 = -I/usr/MediaPlayers/VLC-host/mad-0.14.2b/libmad
memcpyaltivec_CFLAGS =
motionaltivec_CFLAGS =
opie_CFLAGS =
qt_CFLAGS = -I/usr/include/qt -I/usr/etc/QTE2.3.10-host/qt-2.3.10/include
qte_CFLAGS = -I/usr/etc/QTE2.3.10-host/qt-2.3.10/include -DQT_QWS_IPAQ -DQWS -fno-exceptions -fno-rtti
sdl_CFLAGS = -I/usr/include/SDL -D_REENTRANT
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 =
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 = -L/usr/MediaPlayers/VLC-host/mad-0.14.2b/libmad/.libs -lmad
memcpyaltivec_LDFLAGS =
motionaltivec_LDFLAGS =
ncurses_LDFLAGS =
opie_LDFLAGS =
qnx_LDFLAGS =
qt_LDFLAGS = -lqt -L$(QT2DIR)/lib -L/usr/etc/QTE2.3.10-host/qt-2.3.10/lib
qte_LDFLAGS = -L/usr/etc/QTE2.3.10-host/qt-2.3.10/lib -L$(QPEDIR)/lib -lqpe -lqte
rc_LDFLAGS =
sdl_LDFLAGS = -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
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/MediaPlayers/VLC-host/VLC-Exe/share/videolan\"
CFLAGS += -DPLUGIN_PATH=\"/usr/MediaPlayers/VLC-host/VLC-Exe/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



The configuration of vlc-0.4.6
./configure --target=arm-linux --prefix=/usr/local/arm/ --disable-dvd --disable-dvdread --disable-freetype --disable-dvbpsi --disable-vcd --enable-vorbis --disable-plugins --enable-sout --disable-directx --disable-waveout --disable-macosx --enable-sdl --with-sdl-config-path=/sdl/bin --disable-fb --disable-xvideo --disable-gtk --enable-mad --with-mad-tree=/project/mad/ --disable-ffmpeg --disable-dvdplay --disable-ogg --disable-mkv --disable-a52 --disable-slp --disable-libmpeg2 --disable-x11 --disable-wxwindows --enable-qt



Any Ideas?? Thanks!

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests