[OpenIndiana-discuss] VLC 2.2.0 failing to build

russell stream at willows7.myzen.co.uk
Tue Mar 17 18:00:40 UTC 2015


Hi

It appears that I needed to build just the following to fix the VLC 
depedencies.

libpthread-stubs-0.3$ CC=gcc CPPFLAGS=-I/opt/gnu/include 
LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" ./configure --prefix=/opt/gnu 
--enable-shared

libxcb-1.11$ CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" 
CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" 
./configure --prefix=/opt/gnu --enable-shared


While I have a ./configure that completes (see below) when I run gmake
I get the following compilation failure.

CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" CFLAGS='-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/live 
LIVE555_LIBS="-L/opt/gnu/live -R/opt/gnu/live" 
SCHROEDINGER_CFLAGS=-I/opt/gnu/include 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


After running gmake

   CC       misc/addons.lo
   CC       misc/filter.lo
   CC       misc/filter_chain.lo
   CC       misc/http_auth.lo
   CC       misc/fingerprinter.lo
   CC       misc/text_style.lo
   CC       misc/subpicture.lo
   CC       posix/dirs.lo
   CC       posix/error.lo
posix/error.c: In function ‘vlc_strerror_l’:
posix/error.c:51:5: error: implicit declaration of function ‘strerror_l’ 
[-Werror=implicit-function-declaration]
      const char *buf = strerror_l(errnum, loc);
      ^
posix/error.c:51:23: warning: initialization makes pointer from integer 
without a cast [enabled by default]
      const char *buf = strerror_l(errnum, loc);
                        ^
cc1: some warnings being treated as errors

Is this a compiler flag that is not set correctly?

TIA

Russell



More information about the openindiana-discuss mailing list