vlc make error

This forum is about all development around libVLC.
Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

vlc make error

Postby Belbear » 01 Apr 2010 15:54

Hi,

I proceeded with compiling vlc from the vlc 1.0.5 tarball (git doesn't work for me, see other post)

I did everything exactly as in the Win32CompileMSYSNew wiki.
After finally running the make, it produced a lot of .o files but failed to produce an exe.

I did the bootstrap, config and make over and over again, but the same errors keep occuring.
Running MSYS en MingW with gcc 4.4.0 on Win XP sp3 system.
I used only the contrib file contrib-20090813-win32-bin-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2

I do not know which file produces the unexpected eof. (In case you ask: There is no libvlccore.la file to be found)
Last section of make output copied here:
libtool: link: rm -f .libs/libvlccore.la-8.o
libtool: link: dumpbin -symbols .libs/libvlccore.la-9.o ../compat/.libs/libcompat.a | gawk ' {last_section=section; section=$ 3}; /Section length .*#relocs.*(pick any)/{hide[last_section]=1};
$ 0!
../libtool: eval: line 8625: unexpected EOF while looking for matching `''
../libtool: eval: line 8626: syntax error: unexpected end of file
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc'
make: *** [all] Error 2

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc make error

Postby Rémi Denis-Courmont » 01 Apr 2010 22:07

Native Windows compilation = world of pain.

Please cross-compile with mingw.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: vlc make error

Postby MichaelMc » 01 Apr 2010 23:35

Looks like the libtool issue. Check that 'global_symbol_pipe' in libtool (~line 155) is defined as below.

Code: Select all

global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p'"
VLC compiles fine if the environment (including MinGw) is otherwise correctly configured.

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 02 Apr 2010 16:21

Looks like the libtool issue. Check that 'global_symbol_pipe' in libtool (~line 155) is defined as below.

Code: Select all

global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p'"
VLC compiles fine if the environment (including MinGw) is otherwise correctly configured.
Thanks for the hint. Patched the libtool and make got a lot further, it actually builds dll's and exe now.
Still no successful build however: the vlc.exe does not open an UI window, the process just sits there.
It does not run from the command line either. No error messages appear.

This is wat I get in the package after running "make package-win32": (the mozilla directory is empty)

Code: Select all

-rw-r--r-- 1 elan Administrators 9490 Apr 2 15:59 AUTHORS.txt -rw-r--r-- 1 elan Administrators 18097 Apr 2 15:59 COPYING.txt -rw-r--r-- 1 elan Administrators 2664 Apr 2 15:59 MAINTAINERS.txt -rw-r--r-- 1 elan Administrators 76349 Apr 2 15:59 NEWS.txt -rw-r--r-- 1 elan Administrators 1729 Apr 2 15:59 README.txt -rw-r--r-- 1 elan Administrators 23344 Apr 2 15:59 THANKS.txt -rwxr-xr-x 1 elan Administrators 533295 Apr 2 15:59 libvlc.dll -rw-r--r-- 1 elan Administrators 284 Apr 2 15:59 libvlc.dll.manifest -rwxr-xr-x 1 elan Administrators 4135079 Apr 2 15:59 libvlccore.dll drwxr-xr-x 68 elan Administrators 0 Apr 2 15:59 locale drwxr-xr-x 2 elan Administrators 0 Apr 2 15:59 mozilla -rwxr-xr-x 1 elan Administrators 151256 Apr 2 15:59 vlc.exe -rw-r--r-- 1 elan Administrators 829 Apr 2 15:59 vlc.exe.manifest -rw-r--r-- 1 elan Administrators 73164 Apr 2 15:59 vlc.ico
This is the final part of the make. Seems that the "fluidsynth" module refuses to link. But that's a MIDI synth, I don't need it.

Code: Select all

libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/win32/include -I/usr/win32/include/ebml -D__USE_MINGW_ANSI_STDIO=1 -DSYS_MINGW32 -I/usr/local/inclu de -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=fluidsynth -DMODULE_NAME_IS_fluidsynth -DMODULE_STRING=\"flui dsynth\" -g -O2 -ffast-math -funroll-loops -mtune=pentium2 -IC:/msys/1.0/win32/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-stri ngs -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -MT libfluidsynth_plugin_la-fluidsynth.lo -MD -MP -MF .deps/libfluidsynth_plugin_la-fluidsynth.Tpo -c fluidsynth. c -DDLL_EXPORT -DPIC -o .libs/libfluidsynth_plugin_la-fluidsynth.o mv -f .deps/libfluidsynth_plugin_la-fluidsynth.Tpo .deps/libfluidsynth_plugin_la-fluidsynth.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 `top_srcdir="../.." top_builddir="../.." ../../vlc-config --cflags plugin libfluidsynth_plugin.la` -mms-bitfields -Wall -Wextra -Wsign-compa re -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -rpath '/usr/local/lib/vlc/codec' -avoid- version -module -export-symbol-regex ^vlc_entry -shrext .dll -no-undefined `top_srcdir="../.." top_builddir="../.." ../../vlc-config --ldflags plugin libfluidsynth_plugin.la` -L/usr/win32/lib -o libfl uidsynth_plugin.la libfluidsynth_plugin_la-fluidsynth.lo `top_srcdir="../.." top_builddir="../.." ../../vlc-config -libs plugin libfluidsynth_plugin.la` ../../src/libvlccore.la ../../compat/libcompa t.la -lmingw32 libtool: link: gcc -std=gnu99 -shared .libs/libfluidsynth_plugin_la-fluidsynth.o -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive -L/usr/win32/lib -LC:/msys/1.0/win32/lib / usr/win32/lib/libfluidsynth.a -ldsound ../../src/.libs/libvlccore.dll.a /usr/win32/lib/libgpg-error.a -lkernel32 -lws2_32 -lnetapi32 -lwinmm -lmingw32 -mtune=pentium2 -mms-bitfields -o .libs/libflu idsynth_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libfluidsynth_plugin.dll.a Creating library file: .libs/libfluidsynth_plugin.dll.a .libs/libfluidsynth_plugin_la-fluidsynth.o: In function `Close': C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:120: undefined reference to `__imp__fluid_synth_sfunload' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:121: undefined reference to `__imp__delete_fluid_synth' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:122: undefined reference to `__imp__delete_fluid_settings' .libs/libfluidsynth_plugin_la-fluidsynth.o: In function `Open': C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:96: undefined reference to `__imp__new_fluid_settings' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:97: undefined reference to `__imp__new_fluid_synth' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:99: undefined reference to `__imp__fluid_synth_sfload' .libs/libfluidsynth_plugin_la-fluidsynth.o: In function `DecodeBlock': C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:162: undefined reference to `__imp__fluid_synth_noteon' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:186: undefined reference to `__imp__fluid_synth_write_float' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:171: undefined reference to `__imp__fluid_synth_pitch_bend' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:159: undefined reference to `__imp__fluid_synth_noteoff' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:165: undefined reference to `__imp__fluid_synth_cc' C:\vlc\vlc-1.0.5\modules\codec/fluidsynth.c:168: undefined reference to `__imp__fluid_synth_program_change' collect2: ld gaf exit-status 1 terug make[5]: *** [libfluidsynth_plugin.la] Error 1 make[5]: Leaving directory `/vlc/modules/codec' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/vlc/modules/codec' make[3]: *** [all] Error 2 make[3]: Leaving directory `/vlc/modules/codec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/vlc/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vlc' make: *** [all] Error 2
This is my config.h
Am I missing something or should I change anything here?

Code: Select all

/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* Define to 1 to allow runing VLC as root (uid 0). */ /* #undef ALLOW_RUN_AS_ROOT */ /* Maximum supported data alignment */ #define ATTRIBUTE_ALIGNED_MAX 16 /* Define if you're using Maemo interfaces */ /* #undef BUILD_MAEMO */ /* "Define if struct caca_event is opaque and must not be accessed directly" */ #define CACA_EVENT_OPAQUE 1 /* Define to 1 if 3D Now! inline assembly is available. */ #define CAN_COMPILE_3DNOW 1 /* Define to 1 if AltiVec inline assembly is available. */ /* #undef CAN_COMPILE_ALTIVEC */ /* Define to 1 if C AltiVec extensions are available. */ /* #undef CAN_COMPILE_C_ALTIVEC */ /* Define to 1 inline MMX assembly is available. */ #define CAN_COMPILE_MMX 1 /* Define to 1 if MMX EXT inline assembly is available. */ #define CAN_COMPILE_MMXEXT 1 /* Define to 1 if SSE inline assembly is available. */ #define CAN_COMPILE_SSE 1 /* Define to 1 if SSE2 inline assembly is available. */ #define CAN_COMPILE_SSE2 1 /* The ./configure command line */ #define CONFIGURE_LINE "./configure '--host=i586-mingw32msvc' '--build=i386-linux' '--disable-mkv' '--disable-taglib' '--disable-nls' '--disable-dirac' '--enable-debug' '--without-contrib' '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-real' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--with-live555-tree=/usr/win32/live.com' '--enable-dvdread' '--with-dvdnav-config-path=/usr/win32/bin' '--enable-shout' '--enable-goom' '--enable-caca' '--enable-portaudio' '--enable-sdl' '--with-sdl-config-path=/usr/win32/bin' '--enable-qt4' '--enable-mozilla' '--with-mozilla-sdk-path=/usr/win32/gecko-sdk' '--enable-activex' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--disable-dvb' '--disable-sqlite' '--enable-peflags' 'build_alias=i386-linux' 'host_alias=i586-mingw32msvc' 'CC=gcc' 'LDFLAGS=-L/usr/win32/lib' 'CPPFLAGS=-I/usr/win32/include -I/usr/win32/include/ebml' 'CXX=g++'" /* Copyright string */ #define COPYRIGHT_MESSAGE "VLC media player - version 1.0.5 Goldeneye - (c) 1996-2010 the VideoLAN team" /* The copyright years */ #define COPYRIGHT_YEARS "1996-2010" /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ /* #undef CRAY_STACKSEG_END */ /* Define to 1 if using `alloca.c'. */ /* #undef C_ALLOCA */ /* Disables runtime check for buggy glibc. */ /* #undef DISABLE_BUGGY_GLIBC_CHECK */ /* Binary specific version */ /* #undef DISTRO_VERSION */ /* Define if <X11/extensions/dpms.h> defines DPMSInfo. */ /* #undef DPMSINFO_IN_DPMS_H */ /* Define if you want the HTTP dameon support */ #define ENABLE_HTTPD 1 /* Define to 1 if translation of program messages to the user's native language is requested. */ /* #undef ENABLE_NLS */ /* Define to 1 for stream output support. */ #define ENABLE_SOUT 1 /* Define if you want the VideoLAN manager support */ #define ENABLE_VLM 1 /* Define to 1 if you have the <a52dec/a52.h> header file. */ #define HAVE_A52DEC_A52_H 1 /* Define to 1 if <netdb.h> defines `struct addrinfo'. */ #define HAVE_ADDRINFO 1 /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */ /* #undef HAVE_ALLOCA_H */ /* Define if ALSA is at least rc4 */ /* #undef HAVE_ALSA_NEW_API */ /* Define to 1 if you have the <altivec.h> header file. */ /* #undef HAVE_ALTIVEC_H */ /* Define to 1 if you have the <ApplicationServices/ApplicationServices.h> header file. */ /* #undef HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H */ /* Define to 1 if you have the <arpa/inet.h> header file. */ /* #undef HAVE_ARPA_INET_H */ /* Define to 1 if you have the <asm/arch-omap/omapfb.h> header file. */ /* #undef HAVE_ASM_ARCH_OMAP_OMAPFB_H */ /* Define to 1 if you have the `asprintf' function. */ /* #undef HAVE_ASPRINTF */ /* Define to 1 if you have the `atof' function. */ #define HAVE_ATOF 1 /* Define to 1 if you have the `atoll' function. */ #define HAVE_ATOLL 1 /* Support for __attribute__((packed)) for structs */ #define HAVE_ATTRIBUTE_PACKED 1 /* Define to 1 if you have libavahi-client */ /* #undef HAVE_AVAHI_CLIENT */ /* Define to 1 if you have the `backtrace' function. */ /* #undef HAVE_BACKTRACE */ /* Define to 1 if you have the <Carbon/Carbon.h> header file. */ /* #undef HAVE_CARBON_CARBON_H */ /* Define to 1 if you have the <cascade/graphics/CascadeBitmap.h> header file. */ /* #undef HAVE_CASCADE_GRAPHICS_CASCADEBITMAP_H */ /* Define to 1 if you have the <cascade/graphics/CascadeScreen.h> header file. */ /* #undef HAVE_CASCADE_GRAPHICS_CASCADESCREEN_H */ /* Define for the audio CD plugin using libcdio */ /* #undef HAVE_CDDAX */ /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ /* #undef HAVE_CFLOCALECOPYCURRENT */ /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ /* Define to 1 if you have clock_nanosleep. */ /* #undef HAVE_CLOCK_NANOSLEEP */ /* Define to 1 if you have the `connect' function. */ /* #undef HAVE_CONNECT */ /* Define to 1 if you have the <CoreAudio/CoreAudio.h> header file. */ /* #undef HAVE_COREAUDIO_COREAUDIO_H */ /* Define to 1 if you have the `ctime_r' function. */ /* #undef HAVE_CTIME_R */ /* Define to 1 if you have the <cybergarage/upnp/MediaServer.h> header file. */ /* #undef HAVE_CYBERGARAGE_UPNP_MEDIASERVER_H */ /* Define to 1 if you have the <d3d9.h> header file. */ #define HAVE_D3D9_H 1 /* Define to 1 if you have the `daemon' function. */ /* #undef HAVE_DAEMON */ /* Define if you have the D-BUS library */ /* #undef HAVE_DBUS */ /* Define if the GNU dcgettext() function is already present or preinstalled. */ /* #undef HAVE_DCGETTEXT */ /* Define to 1 if you have the <ddraw.h> header file. */ #define HAVE_DDRAW_H 1 /* Define if <time.h> defines nanosleep. */ /* #undef HAVE_DECL_NANOSLEEP */ /* Define to 1 if you have the <deschutes/libraries/hdmachinex225/PCMAudioPlayer.h> header file. */ /* #undef HAVE_DESCHUTES_LIBRARIES_HDMACHINEX225_PCMAUDIOPLAYER_H */ /* Define to 1 if you have the <dirent.h> header file. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the <dlfcn.h> header file. */ /* #undef HAVE_DLFCN_H */ /* Define if you have the BeOS dl */ /* #undef HAVE_DL_BEOS */ /* Define if you have the GNU dld library */ /* #undef HAVE_DL_DLD_LINK */ /* Define if you have the dlopen API */ /* #undef HAVE_DL_DLOPEN */ /* Define if you have the Darwin dyld API */ /* #undef HAVE_DL_DYLD */ /* Define to 1 if you have the <dl.h> header file. */ /* #undef HAVE_DL_H */ /* Define if you have the shl_load API */ /* #undef HAVE_DL_SHL_LOAD */ /* Define if you have Windows' LoadLibrary */ #define HAVE_DL_WINDOWS 1 /* Define to 1 if you have the <dshow.h> header file. */ #define HAVE_DSHOW_H 1 /* Define to 1 if you have the <dvbpsi/dr.h> header file. */ #define HAVE_DVBPSI_DR_H 1 /* Define if you have dvbpsi_GenSDTSections. */ #define HAVE_DVBPSI_SDT 1 /* Define to 1 if you have the <dvdread/dvd_reader.h> header file. */ #define HAVE_DVDREAD_DVD_READER_H 1 /* Define if dynamic plugins are supported */ #define HAVE_DYNAMIC_PLUGINS 1 /* Define to 1 if you have the <ebml/EbmlVersion.h> header file. */ /* #undef HAVE_EBML_EBMLVERSION_H */ /* Define to 1 if you have the `eventfd' function. */ /* #undef HAVE_EVENTFD */ /* Define to 1 if you have the <execinfo.h> header file. */ /* #undef HAVE_EXECINFO_H */ /* Define to 1 if you have the <faad.h> header file. */ #define HAVE_FAAD_H 1 /* Define to 1 if you have the `fcntl' function. */ /* #undef HAVE_FCNTL */ /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdatasync' function. */ /* #undef HAVE_FDATASYNC */ /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */ /* #undef HAVE_FFMPEG_AVCODEC_H */ /* Define to 1 if you have the <ffmpeg/avformat.h> header file. */ /* #undef HAVE_FFMPEG_AVFORMAT_H */ /* Define to 1 if you have the <ffmpeg/avutil.h> header file. */ /* #undef HAVE_FFMPEG_AVUTIL_H */ /* Define to 1 if you have the <ffmpeg/swscale.h> header file. */ /* #undef HAVE_FFMPEG_SWSCALE_H */ /* Define to 1 if you have the <FLAC/stream_decoder.h> header file. */ #define HAVE_FLAC_STREAM_DECODER_H 1 /* Define to 1 if you have the <fontconfig/fontconfig.h> header file. */ #define HAVE_FONTCONFIG_FONTCONFIG_H 1 /* Define to 1 if you have the `fork' function. */ /* #undef HAVE_FORK */ /* Define to 1 if you have the `fstatfs' function. */ /* #undef HAVE_FSTATFS */ /* Define to 1 if you have the `gai_strerror' function. */ /* #undef HAVE_GAI_STRERROR */ /* Define to 1 if you have the `getaddrinfo' function. */ /* #undef HAVE_GETADDRINFO */ /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 /* Define to 1 if you have the `getenv' function. */ #define HAVE_GETENV 1 /* Define to 1 if you have the `getnameinfo' function. */ /* #undef HAVE_GETNAMEINFO */ /* Define to 1 if you have the <getopt.h> header file. */ #define HAVE_GETOPT_H 1 /* getopt support */ /* #undef HAVE_GETOPT_LONG */ /* Define to 1 if you have the `getpwuid_r' function. */ /* #undef HAVE_GETPWUID_R */ /* Define if the GNU gettext() function is already present or preinstalled. */ /* #undef HAVE_GETTEXT */ /* Define to 1 if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY 1 /* Define to 1 if you have the <GL/glu.h> header file. */ #define HAVE_GL_GLU_H 1 /* Define to 1 if you have the <GL/glx.h> header file. */ /* #undef HAVE_GL_GLX_H */ /* Define to 1 if you have the <GL/gl.h> header file. */ #define HAVE_GL_GL_H 1 /* Define to 1 if you have the `gmtime_r' function. */ /* #undef HAVE_GMTIME_R */ /* Define to 1 if you have the <goom/goom.h> header file. */ #define HAVE_GOOM_GOOM_H 1 /* Define to 1 if you have the <Growl/GrowlDefines.h> header file. */ /* #undef HAVE_GROWL_GROWLDEFINES_H */ /* Define if you have the HAL library */ /* #undef HAVE_HAL */ /* Define if you have the iconv() function and it works. */ #define HAVE_ICONV 1 /* Define to 1 if you have the <id3tag.h> header file. */ /* #undef HAVE_ID3TAG_H */ /* Define to 1 if you have the `if_nametoindex' function. */ /* #undef HAVE_IF_NAMETOINDEX */ /* Define to 1 if you have the <image.h> header file. */ /* #undef HAVE_IMAGE_H */ /* Define to 1 if you have the `inet_aton' function. */ /* #undef HAVE_INET_ATON */ /* Define to 1 if you have inet_ntop(). */ /* #undef HAVE_INET_NTOP */ /* Define to 1 if you have inet_pton(). */ /* #undef HAVE_INET_PTON */ /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* For FreeBSD VCD support */ /* #undef HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H */ /* Define to 1 if you have the `isatty' function. */ #define HAVE_ISATTY 1 /* Define to 1 if you have the <jack/jack.h> header file. */ /* #undef HAVE_JACK_JACK_H */ /* Define to 1 if you have the <jpeglib.h> header file. */ /* #undef HAVE_JPEGLIB_H */ /* Define to 1 if you have the <kate/kate.h> header file. */ /* #undef HAVE_KATE_KATE_H */ /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ /* #undef HAVE_LANGINFO_CODESET */ /* Define to 1 if you have the <langinfo.h> header file. */ /* #undef HAVE_LANGINFO_H */ /* Define to 1 if you have the <lauxlib.h> header file. */ /* #undef HAVE_LAUXLIB_H */ /* Define to 1 if you have the <libavc1394/avc1394.h> header file. */ /* #undef HAVE_LIBAVC1394_AVC1394_H */ /* Define to 1 if you have the <libavcodec/avcodec.h> header file. */ #define HAVE_LIBAVCODEC_AVCODEC_H 1 /* Define to 1 if you have the <libavformat/avformat.h> header file. */ #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 /* Define to 1 if you have the <libavutil/avutil.h> header file. */ #define HAVE_LIBAVUTIL_AVUTIL_H 1 /* Define this if you have libcddb installed */ #define HAVE_LIBCDDB 1 /* Define if you have libcdio 0.78.2 or greater installed */ /* #undef HAVE_LIBCDIO */ /* Define to 1 if you have the <libdc1394/dc1394_control.h> header file. */ /* #undef HAVE_LIBDC1394_DC1394_CONTROL_H */ /* Define to 1 if you have the <libdvdread/dvd_reader.h> header file. */ /* #undef HAVE_LIBDVDREAD_DVD_READER_H */ /* Define to 1 if you have the `mingw32' library (-lmingw32). */ #define HAVE_LIBMINGW32 1 /* Define to 1 if you have the <libmodplug/modplug.h> header file. */ #define HAVE_LIBMODPLUG_MODPLUG_H 1 /* Define to 1 if you have the `ncurses' library (-lncurses). */ /* #undef HAVE_LIBNCURSES */ /* Define to 1 if you have the `ncursesw' library (-lncursesw). */ /* #undef HAVE_LIBNCURSESW */ /* Define if you have the PNG library: libpng */ #define HAVE_LIBPNG 1 /* Define to 1 if you have the <libpostproc/postproc.h> header file. */ /* #undef HAVE_LIBPOSTPROC_POSTPROC_H */ /* Define if libproxy is available */ /* #undef HAVE_LIBPROXY */ /* Define to 1 if you have the <libraw1394/raw1394.h> header file. */ /* #undef HAVE_LIBRAW1394_RAW1394_H */ /* Define to 1 if you have the <libsmbclient.h> header file. */ /* #undef HAVE_LIBSMBCLIENT_H */ /* Define to 1 if you have the <libswscale/swscale.h> header file. */ #define HAVE_LIBSWSCALE_SWSCALE_H 1 /* Define to 1 if you have the <libtar.h> header file. */ /* #undef HAVE_LIBTAR_H */ /* Define if libv4l is available */ /* #undef HAVE_LIBV4L2 */ /* Define to 1 if you have the <linux/dccp.h> header file. */ /* #undef HAVE_LINUX_DCCP_H */ /* Define to 1 if you have the <linux/dvb/frontend.h> header file. */ /* #undef HAVE_LINUX_DVB_FRONTEND_H */ /* Define to 1 if you have the <linux/dvb/version.h> header file. */ /* #undef HAVE_LINUX_DVB_VERSION_H */ /* Define to 1 if you have the <linux/fb.h> header file. */ /* #undef HAVE_LINUX_FB_H */ /* Define to 1 if you have the <linux/version.h> header file. */ /* #undef HAVE_LINUX_VERSION_H */ /* Define to 1 if you have the <linux/videodev2.h> header file. */ /* #undef HAVE_LINUX_VIDEODEV2_H */ /* Define to 1 if you have the <linux/videodev.h> header file. */ /* #undef HAVE_LINUX_VIDEODEV_H */ /* Define to 1 if you have the <liveMedia.hh> header file. */ /* #undef HAVE_LIVEMEDIA_HH */ /* Define to 1 if you have the <liveMedia_version.hh> header file. */ /* #undef HAVE_LIVEMEDIA_VERSION_HH */ /* Define to 1 if you have the `lldiv' function. */ #define HAVE_LLDIV 1 /* Define to 1 if you have the `load_add_on' function. */ /* #undef HAVE_LOAD_ADD_ON */ /* Define to 1 if you have the <locale.h> header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ /* #undef HAVE_LOCALTIME_R */ /* Define to 1 if you have the lrintf function */ #define HAVE_LRINTF 1 /* Define to 1 if you have the `lstat' function. */ /* #undef HAVE_LSTAT */ /* Define if you have the lua library */ #define HAVE_LUA 1 /* Define to 1 if you have the <lualib.h> header file. */ /* #undef HAVE_LUALIB_H */ /* Define to 1 if you have the <lua.h> header file. */ /* #undef HAVE_LUA_H */ /* Define to 1 if you have the <machine/param.h> header file. */ /* #undef HAVE_MACHINE_PARAM_H */ /* Define to 1 if you have the <mach-o/dyld.h> header file. */ /* #undef HAVE_MACH_O_DYLD_H */ /* Define to 1 if you have the <mad.h> header file. */ #define HAVE_MAD_H 1 /* Define to 1 if you have the <matroska/KaxAttachments.h> header file. */ /* #undef HAVE_MATROSKA_KAXATTACHMENTS_H */ /* Define to 1 if you have the <matroska/KaxVersion.h> header file. */ /* #undef HAVE_MATROSKA_KAXVERSION_H */ /* Define to 1 if you have the `memalign' function. */ /* #undef HAVE_MEMALIGN */ /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mmap' function. */ /* #undef HAVE_MMAP */ /* Define to 1 if MMX intrinsics are available. */ #define HAVE_MMX_INTRINSICS 1 /* Define to 1 if you have the <mozilla-config.h> header file. */ #define HAVE_MOZILLA_CONFIG_H 1 /* Define to 1 if you have the <mpcdec/mpcdec.h> header file. */ #define HAVE_MPCDEC_MPCDEC_H 1 /* Define to 1 if you have the <mpc/mpcdec.h> header file. */ /* #undef HAVE_MPC_MPCDEC_H */ /* Define if nanosleep is available. */ /* #undef HAVE_NANOSLEEP */ /* Define to 1 if you have libncursesw. */ /* #undef HAVE_NCURSESW */ /* Define to 1 if you have the <netinet/in.h> header file. */ /* #undef HAVE_NETINET_IN_H */ /* Define to 1 if you have the <netinet/udplite.h> header file. */ /* #undef HAVE_NETINET_UDPLITE_H */ /* Define to 1 if you have the <net/if.h> header file. */ /* #undef HAVE_NET_IF_H */ /* Define if new linux/videodev2.h present */ /* #undef HAVE_NEW_LINUX_VIDEODEV2_H */ /* Define to 1 if you have the `nl_langinfo' function. */ /* #undef HAVE_NL_LANGINFO */ /* Define to 1 if you have the <npapi.h> header file. */ #define HAVE_NPAPI_H 1 /* Define to 1 if you have the <npfunctions.h> header file. */ /* #undef HAVE_NPFUNCTIONS_H */ /* Define to 1 if you have the <npruntime.h> header file. */ #define HAVE_NPRUNTIME_H 1 /* Define to 1 if you have the `NSLinkModule' function. */ /* #undef HAVE_NSLINKMODULE */ /* Define to 1 if you have the <objsafe.h> header file. */ #define HAVE_OBJSAFE_H 1 /* Define to 1 if you have the <ogg/ogg.h> header file. */ #define HAVE_OGG_OGG_H 1 /* Define to 1 if you have the <ole2.h> header file. */ #define HAVE_OLE2_H 1 /* Define to 1 if you have the <olectl.h> header file. */ #define HAVE_OLECTL_H 1 /* Define to 1 if you have the <OpenGL/gl.h> header file. */ /* #undef HAVE_OPENGL_GL_H */ /* Define to 1 if you have the <Ph.h> header file. */ /* #undef HAVE_PH_H */ /* Define to 1 if you have the <png.h> header file. */ #define HAVE_PNG_H 1 /* Define to 1 if the OS is usabl... err, has poll(). */ /* #undef HAVE_POLL */ /* Define to 1 if you have the `posix_fadvise' function. */ /* #undef HAVE_POSIX_FADVISE */ /* Define to 1 if you have the `posix_madvise' function. */ /* #undef HAVE_POSIX_MADVISE */ /* Define to 1 if you have the `posix_memalign' function. */ /* #undef HAVE_POSIX_MEMALIGN */ /* Define to 1 if you have the <postproc/postprocess.h> header file. */ /* #undef HAVE_POSTPROC_POSTPROCESS_H */ /* Define to 1 if you have the <pthread.h> header file. */ /* #undef HAVE_PTHREAD_H */ /* Define to 1 if you have the `pthread_mutex_lock' function. */ /* #undef HAVE_PTHREAD_MUTEX_LOCK */ /* Define to 1 if you have the `putenv' function. */ #define HAVE_PUTENV 1 /* Define to 1 if you have QT4 library. */ #define HAVE_QT4 1 /* Define to 1 if you have the <qt.h> header file. */ /* #undef HAVE_QT_H */ /* Define to 1 if you have the <QuickTime/QuickTime.h> header file. */ /* #undef HAVE_QUICKTIME_QUICKTIME_H */ /* Define to 1 if you have the `rewind' function. */ #define HAVE_REWIND 1 /* For NetBSD VCD support */ /* #undef HAVE_SCSIREQ_IN_SYS_SCSIIO_H */ /* Define to 1 if you have the <SDL.h> header file. */ /* #undef HAVE_SDL_H */ /* Define to 1 if you have the <SDL_image.h> header file. */ /* #undef HAVE_SDL_IMAGE_H */ /* Define to 1 if you have the `send' function. */ /* #undef HAVE_SEND */ /* Define to 1 if you have the `setenv' function. */ /* #undef HAVE_SETENV */ /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define if you have the libshout library */ #define HAVE_SHOUT 1 /* Define to 1 if you have the `sigrelse' function. */ /* #undef HAVE_SIGRELSE */ /* Define to 1 if you have the <soundcard.h> header file. */ /* #undef HAVE_SOUNDCARD_H */ /* Define to 1 if you have the <speex/speex.h> header file. */ #define HAVE_SPEEX_SPEEX_H 1 /* Define to 1 if SSE2 intrinsics are available. */ #define HAVE_SSE2_INTRINSICS 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strcasestr' function. */ /* #undef HAVE_STRCASESTR */ /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `stricmp' function. */ #define HAVE_STRICMP 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strlcpy' function. */ /* #undef HAVE_STRLCPY */ /* Define to 1 if you have the `strncasecmp' function. */ #define HAVE_STRNCASECMP 1 /* Define to 1 if you have the `strndup' function. */ /* #undef HAVE_STRNDUP */ /* Define to 1 if you have the `strnicmp' function. */ #define HAVE_STRNICMP 1 /* Define to 1 if you have the `strnlen' function. */ /* #undef HAVE_STRNLEN */ /* Define to 1 if you have the `strsep' function. */ /* #undef HAVE_STRSEP */ /* Define to 1 if you have the `strtof' function. */ #define HAVE_STRTOF 1 /* Define to 1 if you have the `strtoll' function. */ #define HAVE_STRTOLL 1 /* Define to 1 if the system has the type `struct addrinfo'. */ #define HAVE_STRUCT_ADDRINFO 1 /* Define if <sys/time.h> defines struct timespec. */ /* #undef HAVE_STRUCT_TIMESPEC */ /* Define to 1 if you have the `swab' function. */ #define HAVE_SWAB 1 /* Define to 1 if you have the <sysfs/libsysfs.h> header file. */ /* #undef HAVE_SYSFS_LIBSYSFS_H */ /* Define to 1 if you have the <syslog.h> header file. */ /* #undef HAVE_SYSLOG_H */ /* Define to 1 if you have the <sys/dl.h> header file. */ /* #undef HAVE_SYS_DL_H */ /* Define to 1 if you have the <sys/eventfd.h> header file. */ /* #undef HAVE_SYS_EVENTFD_H */ /* Define to 1 if you have the <sys/ioctl.h> header file. */ /* #undef HAVE_SYS_IOCTL_H */ /* Define to 1 if you have the <sys/mount.h> header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the <sys/shm.h> header file. */ /* #undef HAVE_SYS_SHM_H */ /* Define to 1 if you have the <sys/soundcard.h> header file. */ /* #undef HAVE_SYS_SOUNDCARD_H */ /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/times.h> header file. */ /* #undef HAVE_SYS_TIMES_H */ /* Define to 1 if you have the <sys/time.h> header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define if you have taglib plugin built */ /* #undef HAVE_TAGLIB */ /* Define to 1 if you have the <theora/theora.h> header file. */ #define HAVE_THEORA_THEORA_H 1 /* Define if libtiger is available. */ /* #undef HAVE_TIGER */ /* Define to 1 if you have the <tremor/ivorbiscodec.h> header file. */ /* #undef HAVE_TREMOR_IVORBISCODEC_H */ /* Define to 1 if you have the <twolame.h> header file. */ #define HAVE_TWOLAME_H 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the <unzip.h> header file. */ /* #undef HAVE_UNZIP_H */ /* Define to 1 if you have the `uselocale' function. */ /* #undef HAVE_USELOCALE */ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ /* Define to 1 if you have the `vasprintf' function. */ /* #undef HAVE_VASPRINTF */ /* Define if <stdarg.h> defines va_copy. */ #define HAVE_VA_COPY 1 /* Define if you have libvcdinfo 0.7.22 or greater installed */ /* #undef HAVE_VCDINFO */ /* Define for the VCD plugin using libcdio/libvcdinfo */ /* #undef HAVE_VCDX */ /* Define to 1 if you have the `vmsplice' function. */ /* #undef HAVE_VMSPLICE */ /* Define to 1 if you have the <vorbis/codec.h> header file. */ #define HAVE_VORBIS_CODEC_H 1 /* Define to 1 if you have the <vorbis/vorbisenc.h> header file. */ #define HAVE_VORBIS_VORBISENC_H 1 /* Define to 1 if you have the <X11/extensions/dpms.h> header file. */ /* #undef HAVE_X11_EXTENSIONS_DPMS_H */ /* Define to 1 if you have the <X11/extensions/vldXvMC.h> header file. */ /* #undef HAVE_X11_EXTENSIONS_VLDXVMC_H */ /* Define to 1 if you have the <X11/extensions/xf86vmode.h> header file. */ /* #undef HAVE_X11_EXTENSIONS_XF86VMODE_H */ /* Define to 1 if you have the <X11/extensions/Xinerama.h> header file. */ /* #undef HAVE_X11_EXTENSIONS_XINERAMA_H */ /* Define to 1 if you have the <X11/extensions/Xv.h> header file. */ /* #undef HAVE_X11_EXTENSIONS_XV_H */ /* Define to 1 if you have the <X11/Xlib.h> header file. */ /* #undef HAVE_X11_XLIB_H */ /* Define to 1 if you have the <X11/xpm.h> header file. */ /* #undef HAVE_X11_XPM_H */ /* Define this if you have libXxf86vm installed */ /* #undef HAVE_XF86VIDMODE */ /* Define this if you have libXinerama installed */ /* #undef HAVE_XINERAMA */ /* Define to 1 if you have the <xlocale.h> header file. */ /* #undef HAVE_XLOCALE_H */ /* Define to 1 if you have the <xosd.h> header file. */ /* #undef HAVE_XOSD_H */ /* Define to 1 if you have the <zlib.h> header file. */ #define HAVE_ZLIB_H 1 /* Define if samba has _SMBCCTX.close_fn */ /* #undef HAVE__SMBCCTX_CLOSE_FN */ /* Define if <stdarg.h> defines __va_copy. */ #define HAVE___VA_COPY 1 /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST const /* Dynamic object extension */ #define LIBEXT ".dll" /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #define LT_OBJDIR ".libs/" /* Define to 1 if debug code should NOT be compiled */ /* #undef NDEBUG */ /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* Define if <sys/param.h> defines ntohl. */ /* #undef NTOHL_IN_SYS_PARAM_H */ /* Define if you want to optimize memory usage over performance */ /* #undef OPTIMIZE_MEMORY */ /* Name of package */ #define PACKAGE "vlc" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" /* Define to the full name of this package. */ #define PACKAGE_NAME "vlc" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "vlc 1.0.5" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "vlc" /* Define to the version of this package. */ #define PACKAGE_VERSION "1.0.5" /* version minor number */ #define PACKAGE_VERSION_EXTRA "" /* version major number */ #define PACKAGE_VERSION_MAJOR "1" /* version minor number */ #define PACKAGE_VERSION_MINOR "0" /* version minor number */ #define PACKAGE_VERSION_REVISION "5" /* Define as the return type of signal handlers (`int' or `void'). */ /* #undef RETSIGTYPE */ /* As a last resort we also test for SDL_image.h presence */ #define SDL_IMAGE_INCLUDE_FILE <SDL/SDL_image.h> /* As a last resort we also test for SDL.h presence */ #define SDL_INCLUDE_FILE <SDL/SDL.h> /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ /* #undef STACK_DIRECTION */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define if <strings.h> defines strncasecmp. */ #define STRNCASECMP_IN_STRINGS_H 1 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ #define TIME_WITH_SYS_TIME 1 /* Define if you want to use the VLC update mechanism */ #define UPDATE_CHECK 1 /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif /* Version number of package */ #define VERSION "1.0.5" /* Simple version string */ #define VERSION_MESSAGE "1.0.5 Goldeneye" /* Location of videodev2.h */ /* #undef VIDEODEV2_H_FILE */ /* compiler */ #define VLC_COMPILER "gcc version 4.4.0 (GCC) " /* user who ran configure */ #define VLC_COMPILE_BY "elan" /* domain of the host which ran configure */ #define VLC_COMPILE_DOMAIN "unknown" /* host which ran configure */ #define VLC_COMPILE_HOST "" /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 # endif #else # ifndef WORDS_BIGENDIAN /* # undef WORDS_BIGENDIAN */ # endif #endif /* Define to 1 if the X Window System is missing or not being used. */ #define X_DISPLAY_MISSING 1 /* Define if the zvbi module is built */ #define ZVBI_COMPILED 1 /* Define to '2' to get glibc warnings. */ #define _FORTIFY_SOURCE 2 /* Define to 1 if on MINIX. */ /* #undef _MINIX */ /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ /* #undef _POSIX_1_SOURCE */ /* Define to 1 if you need to in order for `stat' and other things to work. */ /* #undef _POSIX_SOURCE */ /* Define to '0x0500' for Windows 2000 APIs. */ #define _WIN32_WINNT 0x0500 /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Alias fdatasync() to fsync() if missing. */ #define fdatasync fsync /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ #define restrict __restrict /* Work around a bug in Sun C++: it does not support _Restrict, even though the corresponding Sun C compiler does, which causes "#define restrict _Restrict" in the previous line. Perhaps some future version of Sun C++ will work with _Restrict; if so, it'll probably define __RESTRICT, just as Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict #endif /* Define to `sockaddr' if <sys/socket.h> does not define. */ /* #undef sockaddr_storage */ /* Define to `int' if <sys/socket.h> does not define. */ /* #undef socklen_t */ /* Define to `sa_family' if <sys/socket.h> does not define. */ /* #undef ss_family */ /* Define to `int' if <stddef.h> does not define. */ /* #undef ssize_t */ #include <vlc_fixups.h>

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 02 Apr 2010 17:42

Native Windows compilation = world of pain.

Please cross-compile with mingw.
Thought about that, but having to set up a whole linux system first (I don't have one) is a much further departure from my original plans.
Last edited by Belbear on 02 Apr 2010 17:46, edited 1 time in total.

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 02 Apr 2010 17:46

VLC compiles fine if the environment (including MinGw) is otherwise correctly configured.
How can I verify that? I followed the Win32CompileMSYSNew wiki as accurately as possible to set up the environment.
I'm essentially a Windoze programmer, all new to this msys/mingw thing.

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: vlc make error

Postby MichaelMc » 02 Apr 2010 18:56

Try 'make package-win32-base'

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 02 Apr 2010 21:50

Try 'make package-win32-base'
Done that. Identical result: A dud exe. There must be something missing in this build, but what? Anyone can tell which files can give away what went wrong?

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: vlc make error

Postby MichaelMc » 03 Apr 2010 01:36

Try 'make package-win32-base'
Done that. Identical result: A dud exe. There must be something missing in this build, but what? Anyone can tell which files can give away what went wrong?
According to the directory tree you pasted above you're missing the plugins folder, which would be the reason vlc.exe doesn't seem to be doing very much.

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 05 Apr 2010 01:41

Ok, I got the point , comparing to the working, downloaded vlc binary now.

I took it to my home system now. (also Windows-only)
Started all over again with installing msys and mingw, but at least here I can use git as it should be.
So this one is from the git clone and not the tarball download.
It also did not show the "libtool issue" now.
Got it compiling again until a certain level. Now it fails somewhere halfway in that /vlc/modules/demux directory.

Have a look: (sorry about the Dutch output, why does it do that?)

Code: Select all

... make[5]: Leaving directory `/vlc/modules/demux/playlist' //Looks okay until here (apart from compiler warnings in the code) make[5]: Entering directory `/vlc/modules/demux' CXX liblive555_plugin_la-live555.lo In bestand ingevoegd vanuit C:/msys/1.0/win32/include/UsageEnvironment.hh:28, vanuit live555.cpp:58: C:/msys/1.0/win32/include/NetCommon.h:40:1: let op: "EAGAIN" opnieuw gedefinieerd In bestand ingevoegd vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32/bits/gthr-default.h:70, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32/bits/gthr.h:162, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ext/atomicity.h:34, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/ios_base.h:41, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:43, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, vanuit live555.cpp:49: c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/errno.h:36:1: let op: dit is de locatie van de eerdere definitie In bestand ingevoegd vanuit C:/msys/1.0/win32/include/UsageEnvironment.hh:28, vanuit live555.cpp:58: C:/msys/1.0/win32/include/NetCommon.h:41:1: let op: "EINTR" opnieuw gedefinieerd In bestand ingevoegd vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32/bits/gthr-default.h:70, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/mingw32/bits/gthr.h:162, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ext/atomicity.h:34, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/ios_base.h:41, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:43, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, vanuit c:\mingw\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, vanuit live555.cpp:49: c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/errno.h:29:1: let op: dit is de locatie van de eerdere definitie CC liblive555_plugin_la-asf.lo CC liblive555_plugin_la-buffer.lo ../access/mms/buffer.c: In functie ÔÇÿvar_buffer_addUTF16ÔÇÖ: ../access/mms/buffer.c:124: let op: de returnwaarde van ÔÇÿvlc_iconvÔÇÖ, gedeclareerd met het ÔÇÿwarn_unused_resultÔÇÖ atribuut, wordt genegeerd CXXLD liblive555_plugin.la Creating library file: .libs/liblive555_plugin.dll.a C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x371): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x395): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x400): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x41d): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xaed): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb11): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb5e): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb7b): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb8b): undefined reference to `___gxx_personality_sj0' //-snip- (looong list of undefined references omitted here) C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:DelayQueue.cpp:(.text+0x1fcd): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:DelayQueue.cpp:(.text+0x1ff5): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x264d): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2671): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x26c8): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x26d3): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x28f1): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2915): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x296c): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2977): undefined reference to `__Unwind_SjLj_Unregister' collect2: ld gaf exit-status 1 terug make[5]: *** [liblive555_plugin.la] Error 1 make[5]: Leaving directory `/vlc/modules/demux' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/vlc/modules/demux' make[3]: *** [all] Error 2 make[3]: Leaving directory `/vlc/modules/demux' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/vlc/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vlc' make: *** [all] Error 2
Is there something wrong with the contribs? The version I used now is the march 29 version:
contrib-20100329-win32-bin-gcc-4.4.2-runtime-3.17-only.tar.bz2

in an attempt to fix this and improve reliability, I also fixed the $PATH to the bare minimum, instead of the long, confusing and unnecessary Windows PATH.
Now my $PATH is:

Code: Select all

/usr/win32/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/Progra~1/git/bin
Unfortunately no improvement. Same error.

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: vlc make error

Postby MichaelMc » 05 Apr 2010 12:24

Ok, I got the point , comparing to the working, downloaded vlc binary now.

I took it to my home system now. (also Windows-only)
Started all over again with installing msys and mingw, but at least here I can use git as it should be.
So this one is from the git clone and not the tarball download.
It also did not show the "libtool issue" now.
Got it compiling again until a certain level. Now it fails somewhere halfway in that /vlc/modules/demux directory.

Have a look: (sorry about the Dutch output, why does it do that?)

Code: Select all

Creating library file: .libs/liblive555_plugin.dll.a C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x371): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x395): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x400): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libliveMedia.a:Media.cpp:(.text+0x41d): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xaed): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb11): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb5e): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb7b): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libliveMedia.a:FramedFilter.cpp:(.text+0xb8b): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:DelayQueue.cpp:(.text+0x1fcd): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:DelayQueue.cpp:(.text+0x1ff5): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x264d): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2671): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x26c8): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x26d3): undefined reference to `__Unwind_SjLj_Unregister' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x28f1): undefined reference to `___gxx_personality_sj0' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2915): undefined reference to `__Unwind_SjLj_Register' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x296c): undefined reference to `__Unwind_SjLj_Resume' C:/msys/1.0/win32/lib/libBasicUsageEnvironment.a:BasicHashTable.cpp:(.text+0x2977): undefined reference to `__Unwind_SjLj_Unregister'
Are you by chance using a MinGW build with the DW2 (Dwarf-2) unwinding instead of the SJLJ unwinding? As that's what that error indicates. Note that the proposed build of MinGW GCC 4.5.0 here contains the DW2 unwindings. MinGW DW2 should not be used to compile VLC.

I use this MinGW build to compile VLC, but have in the past used this. Either is fine.
Msys MinGW path is selected by modifying '/msys/etc/fstab'

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 05 Apr 2010 18:07

Are you by chance using a MinGW build with the DW2 (Dwarf-2) unwinding instead of the SJLJ unwinding? As that's what that error indicates. Note that the proposed build of MinGW GCC 4.5.0 here contains the DW2 unwindings. MinGW DW2 should not be used to compile VLC.

I use this MinGW build to compile VLC, but have in the past used this. Either is fine.
Msys MinGW path is selected by modifying '/msys/etc/fstab'
Well, I don't know. This mingw stuff is all brand new for me, didn't even knew its existance a week ago...
Until now I only used M$ visual C/C++ to build software.

I was using Win32CompileMSYSNew as my one and only guide for building vlc, as I found no other. How could I know they are suggesting a bad version for mingw? I just assumed that the links for those many components have been put in by someone who knows what works and what doesn't. Or am I the first to actually follow this guide from scratch?

I suppose I shouldn't use the "cross" versions on that Russian site? It must be a "native-windows-compile" that builds a Windows version running under a Windows OS. I don't have a linux system, and I'm not really inclined to go that way because then I have to compile on a machine i cannot run it on, that makes debugging VERY cumbersome once I start programming (if I can ever get that far).
Will try the TDM version first.

I appreciate your help very much, you seem to be the only one here actually offering some help. Many thanks for that.

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 05 Apr 2010 22:14

:D SUCCESS! :D

Finally, make finished OK and without that damned "make: *** [all] Error 2"
And it plays all my favourite movies too! Didn't test all the features yet, but in the end all that matters for me is the file player.

What I had to do:
-Removed the mingw 4.4.0 setup I had all the troubles with (renamed c:\mingw to c:\mingw_old)
-Downloaded tdm-mingw 4.4.1: http://sourceforge.net/projects/tdm-gcc ... e/download
-Installed this in a new c:\mingw dir
-Re-Added the extra tools in mingw/bin: libgcc_s_dw2-1.dll, wget, etc.. (see the last file in 'Update Mingw GCC to 4.4.0 ' and 'Install other tools in Mingw')
-Patched all '4.4.0' instances to' 4.4.1' in vlc/libtools

Now it built all the modules, but stopped on the lua thing.
Fortunately I found Lua on http://www.lua.org/ftp/lua-5.1.4.tar.gz :idea:
-Had to build it first: -> cd to the lua dir, -> 'make mingw' -> copy all .exe and .dll files to /bin
After re-running the config, the build finished OK.

To Videolan wiki authors: Suggestion to update the wiki :?:
To MichaelMc: I owe you one! :)
To Rémy: No pain, no gain :mrgreen:

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc make error

Postby Jean-Baptiste Kempf » 06 Apr 2010 15:33

Please, you can update the wiki yourself!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Belbear
Blank Cone
Blank Cone
Posts: 25
Joined: 01 Apr 2010 10:58

Re: vlc make error

Postby Belbear » 07 Apr 2010 12:39

Please, you can update the wiki yourself!
Didn't realize I had the privilege. Working on it.

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: vlc make error

Postby MichaelMc » 19 Apr 2010 00:35

I suppose I shouldn't use the "cross" versions on that Russian site? It must be a "native-windows-compile" that builds a Windows version running under a Windows OS. I don't have a linux system, and I'm not really inclined to go that way because then I have to compile on a machine i cannot run it on, that makes debugging VERY cumbersome once I start programming (if I can ever get that far).
Will try the TDM version first.
The cross aspect refers to generating 64bit executables on a 32bit platform, nothing to do with Linux, and I use Win2k.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests