VLC 2.2.0 on OpenIndiana oi151.1.9 hipster
Posted: 26 Mar 2015 22:48
Hi,
I need a little help with getting VLC 2.2.0 running on OpenIndiana, after successfully building everything up to VLC binary I failed at the final hurdle when building with gcc 4.8.3
vlc-2.2.0$ gmake
gmake all-recursive
gmake[1]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0'
Making all in compat
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
Making all in doc
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
Making all in po
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
Making all in share
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
Making all in src
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
GEN stamp-revision
fatal: Not a git repository: '../.git/'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
Making all in modules
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake all-recursive
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in .
gmake[4]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in audio_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
Making all in control
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
Making all in gui
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake all-recursive
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
Making all in macosx_dialog_provider
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
Making all in minimal_macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[6]: Nothing to be done for `all-am'.
gmake[6]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in misc
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
Making all in packetizer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
Making all in text_renderer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
Making all in video_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
Making all in video_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
Making all in visualization
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
Making all in access_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
Making all in mux
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
Making all in stream_out
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in lib
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
Making all in bin
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
CCLD vlc
Undefined first referenced
symbol in file
strerror_l /home/downloads/gnu/vlc/vlc-2.2.0/src/.libs/libvlccore.so
ld: fatal: symbol referencing errors. No output written to .libs/vlc
collect2: error: ld returned 1 exit status
gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0'
gmake: *** [all] Error 2
Would it be possible for the ./configure to include in AC_REPLACE_FUNC definition strerror to avoid the use of the strerror_l which is not included in OpenIndiana.
The actual command I used to generate the build environment is a follows
CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" CFLAGS='-W -fmax-errors=100 -std=gnu99 -D_POSIX_PTHREAD_SEMANTICS' CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" LIVE555_CFLAGS='-I/opt/gnu/include/UsageEnvironment -I/opt/gnu/include/groupsock -I/opt/gnu/include/BasicUsageEnvironment -I/opt/gnu/include/liveMedia' LIVE555_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia" SCHROEDINGER_CFLAGS=-I/opt/gnu/include/schroedinger-1.0 SCHROEDINGER_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" GL_CFLAGS=-I/usr/include/GL GL_LIBS="-L/usr/lib/GL -R/usr/lib/GL" ./configure --prefix=/opt/gnu
Once ./configure has completed I need to make the following changes in order for the compilation to reach the point as shown above, if this could be incorporated into the build environment it would make it easier to build
1. In src/Makefile, modules/Makefile, modules/video_filter/Makefile and modules/video_output/Makefile I must modify the Makefile to remove CFLAGS option -Werror-implicit-function-declaration otherwise compilation fails
2. In modules/access/directory.c and replace O_DIRECTORY with O_RDONLY as O_DIRECTORY is not support on OpenIndiana
3. In modules/access/live555.cpp you must #include <db.h> to obtain u_int*_t definitions (I have raised this a bug on OpenIndiana, I would expect them in inttypes.h)
I need a little help with getting VLC 2.2.0 running on OpenIndiana, after successfully building everything up to VLC binary I failed at the final hurdle when building with gcc 4.8.3
vlc-2.2.0$ gmake
gmake all-recursive
gmake[1]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0'
Making all in compat
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
Making all in doc
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
Making all in po
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
Making all in share
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
Making all in src
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
GEN stamp-revision
fatal: Not a git repository: '../.git/'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
Making all in modules
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake all-recursive
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in .
gmake[4]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in audio_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
Making all in control
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
Making all in gui
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake all-recursive
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
Making all in macosx_dialog_provider
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
Making all in minimal_macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[6]: Nothing to be done for `all-am'.
gmake[6]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in misc
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
Making all in packetizer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
Making all in text_renderer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
Making all in video_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
Making all in video_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
Making all in visualization
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
Making all in access_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
Making all in mux
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
Making all in stream_out
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in lib
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
Making all in bin
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
CCLD vlc
Undefined first referenced
symbol in file
strerror_l /home/downloads/gnu/vlc/vlc-2.2.0/src/.libs/libvlccore.so
ld: fatal: symbol referencing errors. No output written to .libs/vlc
collect2: error: ld returned 1 exit status
gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0'
gmake: *** [all] Error 2
Would it be possible for the ./configure to include in AC_REPLACE_FUNC definition strerror to avoid the use of the strerror_l which is not included in OpenIndiana.
The actual command I used to generate the build environment is a follows
CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" CFLAGS='-W -fmax-errors=100 -std=gnu99 -D_POSIX_PTHREAD_SEMANTICS' CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" LIVE555_CFLAGS='-I/opt/gnu/include/UsageEnvironment -I/opt/gnu/include/groupsock -I/opt/gnu/include/BasicUsageEnvironment -I/opt/gnu/include/liveMedia' LIVE555_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia" SCHROEDINGER_CFLAGS=-I/opt/gnu/include/schroedinger-1.0 SCHROEDINGER_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" GL_CFLAGS=-I/usr/include/GL GL_LIBS="-L/usr/lib/GL -R/usr/lib/GL" ./configure --prefix=/opt/gnu
Once ./configure has completed I need to make the following changes in order for the compilation to reach the point as shown above, if this could be incorporated into the build environment it would make it easier to build
1. In src/Makefile, modules/Makefile, modules/video_filter/Makefile and modules/video_output/Makefile I must modify the Makefile to remove CFLAGS option -Werror-implicit-function-declaration otherwise compilation fails
2. In modules/access/directory.c and replace O_DIRECTORY with O_RDONLY as O_DIRECTORY is not support on OpenIndiana
3. In modules/access/live555.cpp you must #include <db.h> to obtain u_int*_t definitions (I have raised this a bug on OpenIndiana, I would expect them in inttypes.h)